edu.berkeley.cs.db.yfilterplus.queryparser
Class XPQuery
java.lang.Object
  |
  +--edu.berkeley.cs.db.yfilterplus.queryparser.Query
        |
        +--edu.berkeley.cs.db.yfilterplus.queryparser.XPQuery
- public class XPQuery- extends Query
 
 
| Constructor Summary | 
| XPQuery(Path[] paths)
 | 
| XPQuery(Path[] paths,
        char extraSelectType,
        java.lang.String extraSelectAttr)
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
m_paths
protected Path[] m_paths
m_extraSelectType
protected char m_extraSelectType
m_extraSelectAttr
protected java.lang.String m_extraSelectAttr
XPQuery
public XPQuery(Path[] paths)
XPQuery
public XPQuery(Path[] paths,
               char extraSelectType,
               java.lang.String extraSelectAttr)
setQueryId
public void setQueryId(int id)
- 
- Overrides:
- setQueryIdin class- Query
 
- 
 
getPaths
public Path[] getPaths()
- 
- Specified by:
- getPathsin class- Query
 
- 
 
getNoPaths
public int getNoPaths()
- 
- Specified by:
- getNoPathsin class- Query
 
- 
 
getNoPredicates
public int getNoPredicates()
- 
 
hasExtraSelect
public boolean hasExtraSelect()
- 
- Overrides:
- hasExtraSelectin class- Query
 
- 
 
getExtraSelectType
public char getExtraSelectType()
- 
- Overrides:
- getExtraSelectTypein class- Query
 
- 
 
getExtraSelectAttribute
public java.lang.String getExtraSelectAttribute()
- 
- Overrides:
- getExtraSelectAttributein class- Query
 
- 
 
toString
public java.lang.String toString()
- 
- Specified by:
- toStringin class- Query
 
- 
 
print
public void print()
- 
 
printToFile
public void printToFile()
- 
 
printStepElementsToFile
public void printStepElementsToFile()
- 
 
parseQuery
public static Query parseQuery(java.lang.String line,
                               int queryId)
-