public class HiveParserDDLSemanticAnalyzer extends Object
HiveParserASTNode
to the corresponding Operation
.Constructor and Description |
---|
HiveParserDDLSemanticAnalyzer(HiveParserQueryState queryState,
Catalog hiveCatalog,
CatalogRegistry catalogRegistry,
HiveParser hiveParser,
HiveShim hiveShim,
HiveParserContext context,
HiveParserDMLHelper dmlHelper,
org.apache.calcite.tools.FrameworkConfig frameworkConfig,
org.apache.calcite.plan.RelOptCluster cluster,
CalciteContext calciteContext) |
Modifier and Type | Method and Description |
---|---|
Operation |
convertToOperation(HiveParserASTNode ast) |
static void |
encodeRowFormat(HiveParserBaseSemanticAnalyzer.HiveParserRowFormatParams rowFormatParams,
Map<String,String> props) |
static void |
encodeStorageFormat(HiveParserStorageFormat storageFormat,
Map<String,String> props) |
static HashMap<String,String> |
getPartSpec(HiveParserASTNode partspec) |
static HashMap<String,String> |
getProps(HiveParserASTNode prop) |
static String |
getTypeName(HiveParserASTNode node) |
public HiveParserDDLSemanticAnalyzer(HiveParserQueryState queryState, Catalog hiveCatalog, CatalogRegistry catalogRegistry, HiveParser hiveParser, HiveShim hiveShim, HiveParserContext context, HiveParserDMLHelper dmlHelper, org.apache.calcite.tools.FrameworkConfig frameworkConfig, org.apache.calcite.plan.RelOptCluster cluster, CalciteContext calciteContext) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
public static String getTypeName(HiveParserASTNode node) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
public Operation convertToOperation(HiveParserASTNode ast) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
public static void encodeRowFormat(HiveParserBaseSemanticAnalyzer.HiveParserRowFormatParams rowFormatParams, Map<String,String> props)
public static void encodeStorageFormat(HiveParserStorageFormat storageFormat, Map<String,String> props)
public static HashMap<String,String> getProps(HiveParserASTNode prop)
public static HashMap<String,String> getPartSpec(HiveParserASTNode partspec)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.