public class HiveParserTypeCheckCtx extends Object implements org.apache.hadoop.hive.ql.lib.NodeProcessorCtx
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
HiveParserTypeCheckCtx(HiveParserRowResolver inputRR,
boolean useCaching,
boolean foldExpr,
boolean allowStatefulFunctions,
boolean allowDistinctFunctions,
boolean allowGBExprElimination,
boolean allowAllColRef,
boolean allowFunctionStar,
boolean allowWindowing,
boolean allowIndexExpr,
boolean allowSubQueryExpr,
org.apache.calcite.tools.FrameworkConfig frameworkConfig,
org.apache.calcite.plan.RelOptCluster cluster) |
HiveParserTypeCheckCtx(HiveParserRowResolver inputRR,
boolean useCaching,
boolean foldExpr,
org.apache.calcite.tools.FrameworkConfig frameworkConfig,
org.apache.calcite.plan.RelOptCluster cluster) |
HiveParserTypeCheckCtx(HiveParserRowResolver inputRR,
org.apache.calcite.tools.FrameworkConfig frameworkConfig,
org.apache.calcite.plan.RelOptCluster cluster)
Constructor.
|
public HiveParserTypeCheckCtx(HiveParserRowResolver inputRR, org.apache.calcite.tools.FrameworkConfig frameworkConfig, org.apache.calcite.plan.RelOptCluster cluster)
inputRR
- The input row resolver of the previous operator.public HiveParserTypeCheckCtx(HiveParserRowResolver inputRR, boolean useCaching, boolean foldExpr, org.apache.calcite.tools.FrameworkConfig frameworkConfig, org.apache.calcite.plan.RelOptCluster cluster)
public HiveParserTypeCheckCtx(HiveParserRowResolver inputRR, boolean useCaching, boolean foldExpr, boolean allowStatefulFunctions, boolean allowDistinctFunctions, boolean allowGBExprElimination, boolean allowAllColRef, boolean allowFunctionStar, boolean allowWindowing, boolean allowIndexExpr, boolean allowSubQueryExpr, org.apache.calcite.tools.FrameworkConfig frameworkConfig, org.apache.calcite.plan.RelOptCluster cluster)
public void setInputRR(HiveParserRowResolver inputRR)
inputRR
- the inputRR to setpublic HiveParserRowResolver getInputRR()
public void setOuterRR(HiveParserRowResolver outerRR)
outerRR
- the outerRR to setpublic HiveParserRowResolver getOuterRR()
public void setSubqueryToRelNode(Map<HiveParserASTNode,org.apache.calcite.rel.RelNode> subqueryToRelNode)
subqueryToRelNode
- the subqueryToRelNode to setpublic Map<HiveParserASTNode,org.apache.calcite.rel.RelNode> getSubqueryToRelNode()
public void setUnparseTranslator(HiveParserUnparseTranslator unparseTranslator)
unparseTranslator
- the unparseTranslator to setpublic HiveParserUnparseTranslator getUnparseTranslator()
public void setAllowStatefulFunctions(boolean allowStatefulFunctions)
allowStatefulFunctions
- whether to allow stateful UDF invocationspublic boolean getAllowStatefulFunctions()
public void setError(String error, HiveParserASTNode errorSrcNode)
error
- the error to setpublic String getError()
public HiveParserASTNode getErrorSrcNode()
public void setAllowDistinctFunctions(boolean allowDistinctFunctions)
public boolean getAllowDistinctFunctions()
public boolean getAllowGBExprElimination()
public boolean getallowAllColRef()
public boolean getallowFunctionStar()
public boolean getallowWindowing()
public boolean getallowIndexExpr()
public boolean getallowSubQueryExpr()
public boolean isUseCaching()
public boolean isFoldExpr()
public org.apache.calcite.sql.SqlOperatorTable getSqlOperatorTable()
public org.apache.calcite.rel.type.RelDataTypeFactory getTypeFactory()
public org.apache.calcite.plan.RelOptCluster getCluster()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.