public class QueryResolverProcessor extends Object implements AstProcessor
AstProcessor which resolves the elements a given source query into an output query, by invoking
QueryResolverDelegate while traversing the given query tree.
Input: Parse tree as created by HQLParser
Output: Normalized parse tree| Constructor and Description |
|---|
QueryResolverProcessor(QueryResolverDelegate delegate) |
| Modifier and Type | Method and Description |
|---|---|
org.antlr.runtime.tree.CommonTree |
process(org.antlr.runtime.TokenStream tokens,
org.antlr.runtime.tree.CommonTree tree)
Processes the given tree.
|
public QueryResolverProcessor(QueryResolverDelegate delegate)
public org.antlr.runtime.tree.CommonTree process(org.antlr.runtime.TokenStream tokens,
org.antlr.runtime.tree.CommonTree tree)
throws org.antlr.runtime.RecognitionException
AstProcessorprocess in interface AstProcessortokens - the token stream of the tree.tree - the input treeorg.antlr.runtime.RecognitionException - in case of an illegal input treeCopyright © 2016. All rights reserved.