org.apache.chemistry.opencmis.server.support.query
Class QueryUtil
java.lang.Object
org.apache.chemistry.opencmis.server.support.query.QueryObject
org.apache.chemistry.opencmis.server.support.query.QueryUtil
public class QueryUtil
- extends QueryObject
Class with static methods that contains convenience methods to repeating functionality
in context with query and ANTLR parsing
Methods inherited from class org.apache.chemistry.opencmis.server.support.query.QueryObject |
addAlias, addJoin, addJoinReference, addSelectReference, addSortCriterium, addType, addWhereReference, getColumnReference, getColumnReferences, getErrorMessage, getJoinReferences, getJoins, getMainFromName, getMainTypeAlias, getOrderBys, getParentType, getParentType, getReferencedTypeQueryName, getRequestedFuncs, getRequestedProperties, getSelectAlias, getSelectReferences, getTypeDefinitionFromQueryName, getTypeQueryName, getTypes, getWhereReferences, resolveTypeForAlias, resolveTypeForColumnReference, resolveTypes, validateColumnReferenceAndResolveType, validateColumnReferenceAndResolveType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryUtil
public QueryUtil()
getWalker
public CmisQueryWalker getWalker(String statement)
throws UnsupportedEncodingException,
IOException,
org.antlr.runtime.RecognitionException
- Throws:
UnsupportedEncodingException
IOException
org.antlr.runtime.RecognitionException
traverseStatement
public CmisQueryWalker traverseStatement(String statement,
QueryObject queryObj,
PredicateWalkerBase pw)
throws UnsupportedEncodingException,
IOException,
org.antlr.runtime.RecognitionException
- Throws:
UnsupportedEncodingException
IOException
org.antlr.runtime.RecognitionException
traverseStatementAndCatchExc
public CmisQueryWalker traverseStatementAndCatchExc(String statement,
QueryObject queryObj,
PredicateWalkerBase pw)
getErrorMessage
public String getErrorMessage(org.antlr.runtime.RecognitionException e)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.