public static class Bindables.BindableAggregate extends Aggregate implements BindableRel
Aggregate
in bindable calling convention.Aggregate.AggCallBinding, Aggregate.Group
InterpretableRel.InterpreterImplementor
RelNode.Context
aggCalls, groupSet, groupSets, indicator, IS_NOT_GRAND_TOTAL, IS_SIMPLE, NO_INDICATOR
digest, id, rowType, traitSet
Constructor and Description |
---|
BindableAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
java.util.List<ImmutableBitSet> groupSets,
java.util.List<AggregateCall> aggCalls)
Deprecated.
|
BindableAggregate(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode input,
ImmutableBitSet groupSet,
java.util.List<ImmutableBitSet> groupSets,
java.util.List<AggregateCall> aggCalls) |
Modifier and Type | Method and Description |
---|---|
Enumerable<java.lang.Object[]> |
bind(DataContext dataContext)
Executes this statement and returns an enumerable which will yield rows.
|
Bindables.BindableAggregate |
copy(RelTraitSet traitSet,
RelNode input,
ImmutableBitSet groupSet,
java.util.List<ImmutableBitSet> groupSets,
java.util.List<AggregateCall> aggCalls)
Creates a copy of this aggregate.
|
java.lang.Class<java.lang.Object[]> |
getElementType()
Gets the type of the element(s) that are returned in this collection.
|
Node |
implement(InterpretableRel.InterpreterImplementor implementor)
Creates an interpreter node to implement this relational expression.
|
checkIndicator, computeSelfCost, containsDistinctCall, copy, copy, deriveRowType, deriveRowType, estimateRowCount, explainTerms, getAggCallList, getGroupCount, getGroupSet, getGroupSets, getGroupType, getIndicatorCount, getNamedAggCalls, isNotGrandTotal, isSimple, isValid, noIndicator
childrenAccept, getInput, getInputs, replaceInput
accept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, 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, replaceInput
getCluster, getDescription, getDigest, getId, getTraitSet
public BindableAggregate(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, ImmutableBitSet groupSet, java.util.List<ImmutableBitSet> groupSets, java.util.List<AggregateCall> aggCalls) throws InvalidRelException
InvalidRelException
@Deprecated public BindableAggregate(RelOptCluster cluster, RelTraitSet traitSet, RelNode input, boolean indicator, ImmutableBitSet groupSet, java.util.List<ImmutableBitSet> groupSets, java.util.List<AggregateCall> aggCalls) throws InvalidRelException
InvalidRelException
public Bindables.BindableAggregate copy(RelTraitSet traitSet, RelNode input, ImmutableBitSet groupSet, java.util.List<ImmutableBitSet> groupSets, java.util.List<AggregateCall> aggCalls)
Aggregate
copy
in class Aggregate
traitSet
- Traitsinput
- InputgroupSet
- Bit set of grouping fieldsgroupSets
- List of all grouping sets; null for just groupSet
aggCalls
- Collection of calls to aggregate functionsAggregate
if any parameter differs from the value of
this Aggregate
, or just this
if all the parameters are
the sameAggregate.copy(org.apache.calcite.plan.RelTraitSet, java.util.List)
public java.lang.Class<java.lang.Object[]> getElementType()
Typed
getElementType
in interface ArrayBindable
getElementType
in interface Typed
public Enumerable<java.lang.Object[]> bind(DataContext dataContext)
Bindable
environment
parameter provides the values in the root of the
environment (usually schemas).public Node implement(InterpretableRel.InterpreterImplementor implementor)
InterpretableRel
implement
in interface InterpretableRel
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.