|Modifier and Type||Method and Description|
Returns the set of query languages supported by this builder.
Creates a String representation of the query node tree in the syntax this
QueryRootNode createQueryTree(String statement, NameResolver resolver, QueryNodeFactory factory) throws InvalidQueryException
QueryNodetree from a statement using the passed query node factory.
statement- the statement.
resolver- the name resolver to use.
factory- the query node factory to use.
QueryNodetree for the statement.
InvalidQueryException- if the statement is malformed.
boolean canHandle(String language)
trueif this query tree builder can handle a statement in
language- the language of a query statement to build a query tree.
trueif this builder can handle
String toString(QueryRootNode root, NameResolver resolver) throws InvalidQueryException
root- the root of the query node tree.
resolver- to resolve Names.
InvalidQueryException- if the query node tree cannot be converted into a String representation due to restrictions in this syntax.
Copyright © 2004-2017 The Apache Software Foundation. All Rights Reserved.