QueryUtilBase
instead.@Deprecated public class QueryUtil extends QueryUtilBase<CmisQueryWalker>
parserTree, predicateWalker, queryObj, statement, tokens, walker
Constructor and Description |
---|
QueryUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CmisQueryWalker |
getWalker(String statement)
Deprecated.
Parse a CMISQL statement and return a tree that can be walked to evaluate the expression
of the query (usually not used directly but through traverseStatement)
|
org.antlr.runtime.tree.CommonTree |
parseStatement()
Deprecated.
Perform the first phase of query processing.
|
CmisQueryWalker |
traverseStatement(String statement,
QueryObject queryObj,
PredicateWalkerBase pw)
Deprecated.
Parse and process a CMISQL statement using the higher level support classes
|
CmisQueryWalker |
traverseStatementAndCatchExc(String statement,
QueryObject queryObj,
PredicateWalkerBase pw)
Deprecated.
|
void |
walkStatement()
Deprecated.
Perform the second phase of query processing, analyzes the select part,
check for semantic errors, fill the query object.
|
getErrorMessage, getPredicateWalker, getQueryObject, getStatement, getWalker, processStatement, processStatementUsingCmisExceptions
public org.antlr.runtime.tree.CommonTree parseStatement() throws org.antlr.runtime.RecognitionException
QueryUtilBase
parseStatement
in class QueryUtilBase<CmisQueryWalker>
org.antlr.runtime.RecognitionException
public void walkStatement() throws CmisQueryException, org.antlr.runtime.RecognitionException
QueryUtilBase
walkStatement
in class QueryUtilBase<CmisQueryWalker>
org.antlr.runtime.RecognitionException
CmisQueryException
public static CmisQueryWalker getWalker(String statement) throws org.antlr.runtime.RecognitionException
statement
- CMISQL statementorg.antlr.runtime.RecognitionException
public CmisQueryWalker traverseStatement(String statement, QueryObject queryObj, PredicateWalkerBase pw) throws UnsupportedEncodingException, IOException, org.antlr.runtime.RecognitionException
statement
- CMISQL statementqueryObj
- CMIS query object filled with information what data need to be retrievedpw
- predicate walker that evaluates the where clauseUnsupportedEncodingException
IOException
org.antlr.runtime.RecognitionException
public CmisQueryWalker traverseStatementAndCatchExc(String statement, QueryObject queryObj, PredicateWalkerBase pw)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.