public class HiveParserCalcitePlanner extends Object
Constructor and Description |
---|
HiveParserCalcitePlanner(HiveParserQueryState queryState,
CalciteContext calciteContext,
org.apache.calcite.prepare.CalciteCatalogReader catalogReader,
org.apache.calcite.tools.FrameworkConfig frameworkConfig,
CatalogRegistry catalogRegistry) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rel.RelNode |
genLogicalPlan(HiveParserASTNode ast) |
List<String> |
getDestSchemaForClause(String clause) |
HiveParserQB |
getQB() |
void |
init(boolean clearPartsCache) |
void |
initCtx(HiveParserContext context) |
void |
setCreatViewInfo(HiveParserCreateViewInfo createViewInfo) |
void |
setCtasCols(List<org.apache.hadoop.hive.metastore.api.FieldSchema> ctasCols) |
public HiveParserCalcitePlanner(HiveParserQueryState queryState, CalciteContext calciteContext, org.apache.calcite.prepare.CalciteCatalogReader catalogReader, org.apache.calcite.tools.FrameworkConfig frameworkConfig, CatalogRegistry catalogRegistry) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
public void setCtasCols(List<org.apache.hadoop.hive.metastore.api.FieldSchema> ctasCols)
public void setCreatViewInfo(HiveParserCreateViewInfo createViewInfo)
public void initCtx(HiveParserContext context)
public void init(boolean clearPartsCache)
public HiveParserQB getQB()
public org.apache.calcite.rel.RelNode genLogicalPlan(HiveParserASTNode ast) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.