public class RexNodeConverter extends Object
Constructor and Description |
---|
RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster) |
RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster,
List<org.apache.hadoop.hive.ql.optimizer.calcite.translator.RexNodeConverter.InputCtx> inpCtxLst,
boolean flattenExpr) |
RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.rel.type.RelDataType inpDataType,
com.google.common.collect.ImmutableMap<String,Integer> outerNameToPosMap,
com.google.common.collect.ImmutableMap<String,Integer> nameToPosMap,
RowResolver hiveRR,
RowResolver outerRR,
int offset,
boolean flattenExpr,
int correlatedId) |
RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.rel.type.RelDataType inpDataType,
com.google.common.collect.ImmutableMap<String,Integer> nameToPosMap,
int offset,
boolean flattenExpr) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.calcite.rex.RexNode |
convert(ExprNodeColumnDesc col) |
protected org.apache.calcite.rex.RexNode |
convert(ExprNodeConstantDesc literal) |
org.apache.calcite.rex.RexNode |
convert(ExprNodeDesc expr) |
static org.apache.calcite.rex.RexNode |
convert(org.apache.calcite.plan.RelOptCluster cluster,
ExprNodeDesc joinCondnExprNode,
List<org.apache.calcite.rel.RelNode> inputRels,
LinkedHashMap<org.apache.calcite.rel.RelNode,RowResolver> relToHiveRR,
Map<org.apache.calcite.rel.RelNode,com.google.common.collect.ImmutableMap<String,Integer>> relToHiveColNameCalcitePosMap,
boolean flattenExpr) |
public RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster)
public RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.type.RelDataType inpDataType, com.google.common.collect.ImmutableMap<String,Integer> outerNameToPosMap, com.google.common.collect.ImmutableMap<String,Integer> nameToPosMap, RowResolver hiveRR, RowResolver outerRR, int offset, boolean flattenExpr, int correlatedId)
public RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.type.RelDataType inpDataType, com.google.common.collect.ImmutableMap<String,Integer> nameToPosMap, int offset, boolean flattenExpr)
public RexNodeConverter(org.apache.calcite.plan.RelOptCluster cluster, List<org.apache.hadoop.hive.ql.optimizer.calcite.translator.RexNodeConverter.InputCtx> inpCtxLst, boolean flattenExpr)
public org.apache.calcite.rex.RexNode convert(ExprNodeDesc expr) throws SemanticException
SemanticException
protected org.apache.calcite.rex.RexNode convert(ExprNodeColumnDesc col) throws SemanticException
SemanticException
protected org.apache.calcite.rex.RexNode convert(ExprNodeConstantDesc literal) throws CalciteSemanticException
CalciteSemanticException
public static org.apache.calcite.rex.RexNode convert(org.apache.calcite.plan.RelOptCluster cluster, ExprNodeDesc joinCondnExprNode, List<org.apache.calcite.rel.RelNode> inputRels, LinkedHashMap<org.apache.calcite.rel.RelNode,RowResolver> relToHiveRR, Map<org.apache.calcite.rel.RelNode,com.google.common.collect.ImmutableMap<String,Integer>> relToHiveColNameCalcitePosMap, boolean flattenExpr) throws SemanticException
SemanticException
Copyright © 2019 The Apache Software Foundation. All rights reserved.