public class HashAggPrel extends AggPrelBase implements Prel
AggPrelBase.OperatorPhase, AggPrelBase.SqlSumCountAggFunctionaggExprs, keys, operPhase, phase2AggCallListaggCalls, groupSet, groupSets, indicator, IS_NOT_GRAND_TOTAL, IS_SIMPLE, NO_INDICATORDRILL_PHYSICAL| Constructor and Description |
|---|
HashAggPrel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.util.ImmutableBitSet groupSet,
List<org.apache.calcite.util.ImmutableBitSet> groupSets,
List<org.apache.calcite.rel.core.AggregateCall> aggCalls,
AggPrelBase.OperatorPhase phase) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
org.apache.calcite.rel.core.Aggregate |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.util.ImmutableBitSet groupSet,
List<org.apache.calcite.util.ImmutableBitSet> groupSets,
List<org.apache.calcite.rel.core.AggregateCall> aggCalls) |
BatchSchema.SelectionVectorMode |
getEncoding()
A Prel's own SelectionVector mode - i.e whether it generates an SV2, SV4 or None
|
PhysicalOperator |
getPhysicalOperator(PhysicalPlanCreator creator) |
BatchSchema.SelectionVectorMode[] |
getSupportedEncodings()
Supported 'encodings' of a Prel indicates what are the acceptable modes of SelectionVector
of its child Prel
|
accept, createKeysAndExprs, getAggExprs, getKeys, getOperatorPhase, getPhase2AggCalls, iterator, needsFinalColumnReordering, prepareForLateralUnnestPipeline, toDrillcomputeHashAggCost, computeLogicalAggCost, estimateRowCountcheckIndicator, containsDistinctCall, copy, copy, deriveRowType, deriveRowType, explainTerms, getAggCallList, getGroupCount, getGroupSet, getGroupSets, getGroupType, getIndicatorCount, getNamedAggCalls, isNotGrandTotal, isSimple, isValid, noIndicatorchildrenAccept, getInput, getInputs, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, equals, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, hashCode, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, needsFinalColumnReordering, prepareForLateralUnnestPipelineaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetforEach, iterator, spliteratorpublic HashAggPrel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.util.ImmutableBitSet groupSet,
List<org.apache.calcite.util.ImmutableBitSet> groupSets,
List<org.apache.calcite.rel.core.AggregateCall> aggCalls,
AggPrelBase.OperatorPhase phase)
throws org.apache.calcite.rel.InvalidRelException
org.apache.calcite.rel.InvalidRelExceptionpublic org.apache.calcite.rel.core.Aggregate copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.util.ImmutableBitSet groupSet,
List<org.apache.calcite.util.ImmutableBitSet> groupSets,
List<org.apache.calcite.rel.core.AggregateCall> aggCalls)
copy in class org.apache.calcite.rel.core.Aggregatepublic org.apache.calcite.plan.RelOptCost computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq)
computeSelfCost in interface org.apache.calcite.rel.RelNodecomputeSelfCost in class org.apache.calcite.rel.core.Aggregatepublic PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException
getPhysicalOperator in interface PrelIOExceptionpublic BatchSchema.SelectionVectorMode[] getSupportedEncodings()
PrelgetSupportedEncodings in interface Prelpublic BatchSchema.SelectionVectorMode getEncoding()
PrelgetEncoding in interface PrelCopyright © 2021 The Apache Software Foundation. All rights reserved.