public final class RewriteParseContextGenerator extends Object
SemanticAnalyzer
but it creates only the ParseContext for the input query command.
It does not optimize or generate map-reduce tasks for the input query.
This can be used when you need to create operator tree for an internal query.Constructor and Description |
---|
RewriteParseContextGenerator() |
Modifier and Type | Method and Description |
---|---|
static Operator<? extends OperatorDesc> |
generateOperatorTree(QueryState queryState,
String command)
Parse the input
String command and generate an operator tree. |
public static Operator<? extends OperatorDesc> generateOperatorTree(QueryState queryState, String command) throws SemanticException
String
command and generate an operator tree.conf
- command
- SemanticException
Copyright © 2017 The Apache Software Foundation. All rights reserved.