public class QueryRendererProcessor extends Object implements AstProcessor
AstProcessor which "renders" a given source query into an output query, by invoking
QueryRendererDelegate while traversing the given query tree.
Input: Normalized parse tree as created by QueryResolverProcessor
Output: Query object| Constructor and Description |
|---|
QueryRendererProcessor(QueryRendererDelegate<?> 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 QueryRendererProcessor(QueryRendererDelegate<?> 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 © 2014. All rights reserved.