public class HiveProject extends org.apache.calcite.rel.core.Project implements HiveRelNode
CONVENTION| Constructor and Description |
|---|
HiveProject(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode child,
List<? extends org.apache.calcite.rex.RexNode> exps,
org.apache.calcite.rel.type.RelDataType rowType)
Creates a HiveProject.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.RelNode |
accept(org.apache.calcite.rel.RelShuttle shuttle) |
org.apache.calcite.rel.core.Project |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
List<org.apache.calcite.rex.RexNode> exps,
org.apache.calcite.rel.type.RelDataType rowType) |
static HiveProject |
create(org.apache.calcite.rel.RelNode child,
List<? extends org.apache.calcite.rex.RexNode> exps,
List<String> fieldNames)
Creates a HiveProject with no sort keys.
|
static HiveProject |
create(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.rel.RelNode child,
List<? extends org.apache.calcite.rex.RexNode> exps,
org.apache.calcite.rel.type.RelDataType rowType,
List<org.apache.calcite.rel.RelCollation> collationList)
Creates a HiveProject.
|
static HiveProject |
create(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.rel.RelNode child,
List<? extends org.apache.calcite.rex.RexNode> exps,
org.apache.calcite.rel.type.RelDataType rowType,
org.apache.calcite.plan.RelTraitSet traitSet,
List<org.apache.calcite.rel.RelCollation> collationList)
Creates a HiveProject.
|
org.apache.calcite.rel.RelWriter |
explainTerms(org.apache.calcite.rel.RelWriter pw) |
List<HiveCorrelationInfo> |
getCorrelationInfos() |
boolean |
isSynthetic() |
void |
setSynthetic() |
accept, computeSelfCost, containsOver, copy, copy, deepEquals0, deepHashCode0, getFlags, getHints, getMapping, getMapping, getNamedProjects, getPartialMapping, getPermutation, getPermutation, getProjects, isBoxed, isMapping, isValidchildrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputcollectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, estimateRowCount, explain, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInputpublic HiveProject(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode child,
List<? extends org.apache.calcite.rex.RexNode> exps,
org.apache.calcite.rel.type.RelDataType rowType)
cluster - Cluster this relational expression belongs tochild - input relational expressionexps - List of expressions for the input columnsrowType - output row typepublic static HiveProject create(org.apache.calcite.rel.RelNode child, List<? extends org.apache.calcite.rex.RexNode> exps, List<String> fieldNames) throws CalciteSemanticException
child - input relational expressionexps - set of expressions for the input columnsfieldNames - aliases of the expressionsCalciteSemanticExceptionpublic static HiveProject create(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.RelNode child, List<? extends org.apache.calcite.rex.RexNode> exps, org.apache.calcite.rel.type.RelDataType rowType, List<org.apache.calcite.rel.RelCollation> collationList)
public static HiveProject create(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.rel.RelNode child, List<? extends org.apache.calcite.rex.RexNode> exps, org.apache.calcite.rel.type.RelDataType rowType, org.apache.calcite.plan.RelTraitSet traitSet, List<org.apache.calcite.rel.RelCollation> collationList)
public org.apache.calcite.rel.core.Project copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
List<org.apache.calcite.rex.RexNode> exps,
org.apache.calcite.rel.type.RelDataType rowType)
copy in class org.apache.calcite.rel.core.Projectpublic void setSynthetic()
public boolean isSynthetic()
public org.apache.calcite.rel.RelNode accept(org.apache.calcite.rel.RelShuttle shuttle)
accept in interface org.apache.calcite.rel.RelNodeaccept in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms in class org.apache.calcite.rel.core.Projectpublic List<HiveCorrelationInfo> getCorrelationInfos()
Copyright © 2024 The Apache Software Foundation. All rights reserved.