edu.berkeley.cs.db.yfilterplus.queryparser
Class XPQueryParser
java.lang.Object
|
+--edu.berkeley.cs.db.yfilterplus.queryparser.XPQueryParser
- All Implemented Interfaces:
- QueryParser
- public class XPQueryParser
- extends java.lang.Object
- implements QueryParser
Field Summary |
protected java.io.BufferedReader |
m_in
|
protected int |
m_noQueries
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_in
protected java.io.BufferedReader m_in
m_noQueries
protected int m_noQueries
XPQueryParser
public XPQueryParser(java.lang.String fileName)
readNextQueryString
public java.lang.String readNextQueryString()
- Specified by:
readNextQueryString
in interface QueryParser
readNextQuery
public Query readNextQuery()
- Specified by:
readNextQuery
in interface QueryParser
readNextQueriesBulk
public Query[] readNextQueriesBulk(int num)
- Specified by:
readNextQueriesBulk
in interface QueryParser
getNoQueries
public int getNoQueries()
compile
public static XPQuery compile(PathQuery query)
throws java.lang.Exception
java.lang.Exception
main
public static void main(java.lang.String[] args)