Package org.apache.calcite.rel.mutable
Class MutableAggregate
java.lang.Object
org.apache.calcite.rel.mutable.MutableRel
org.apache.calcite.rel.mutable.MutableAggregate
Mutable equivalent of
Aggregate.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<AggregateCall>final ImmutableBitSetfinal com.google.common.collect.ImmutableList<ImmutableBitSet>protected MutableRelFields inherited from class org.apache.calcite.rel.mutable.MutableRel
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type -
Method Summary
Modifier and TypeMethodDescriptionvoidchildrenAccept(MutableRelVisitor visitor) clone()digest(StringBuilder buf) booleangetInput()inthashCode()static MutableAggregateof(MutableRel input, ImmutableBitSet groupSet, @Nullable com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls) Creates a MutableAggregate.voidsetInput(int ordinalInParent, MutableRel input) Methods inherited from class org.apache.calcite.rel.mutable.MutableRel
deep, getParent, replaceInParent, toString
-
Field Details
-
groupSet
-
groupSets
-
aggCalls
-
input
-
-
Method Details
-
of
public static MutableAggregate of(MutableRel input, ImmutableBitSet groupSet, @Nullable com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls) Creates a MutableAggregate.- Parameters:
input- Input relational expressiongroupSet- Bit set of grouping fieldsgroupSets- List of all grouping sets; null for justgroupSetaggCalls- Collection of calls to aggregate functions
-
equals
-
hashCode
public int hashCode() -
digest
- Specified by:
digestin classMutableRel
-
getGroupType
-
clone
- Specified by:
clonein classMutableRel
-
setInput
- Specified by:
setInputin classMutableRel
-
getInputs
- Specified by:
getInputsin classMutableRel
-
childrenAccept
- Specified by:
childrenAcceptin classMutableRel
-
getInput
-