QueryUtilBase instead.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, processStatementUsingCmisExceptionspublic org.antlr.runtime.tree.CommonTree parseStatement()
throws org.antlr.runtime.RecognitionException
QueryUtilBaseparseStatement in class QueryUtilBase<CmisQueryWalker>org.antlr.runtime.RecognitionExceptionpublic void walkStatement()
throws CmisQueryException,
org.antlr.runtime.RecognitionException
QueryUtilBasewalkStatement in class QueryUtilBase<CmisQueryWalker>org.antlr.runtime.RecognitionExceptionCmisQueryExceptionpublic static CmisQueryWalker getWalker(String statement) throws org.antlr.runtime.RecognitionException
statement - CMISQL statementorg.antlr.runtime.RecognitionExceptionpublic 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 clauseUnsupportedEncodingExceptionIOExceptionorg.antlr.runtime.RecognitionExceptionpublic CmisQueryWalker traverseStatementAndCatchExc(String statement, QueryObject queryObj, PredicateWalkerBase pw)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.