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(HiveConf conf,
String command)
Parse the input
String command and generate an operator tree. |
public static Operator<? extends OperatorDesc> generateOperatorTree(HiveConf conf, String command) throws SemanticException
String command and generate an operator tree.conf - command - SemanticExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.