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
Modifier and TypeFieldDescriptionfinal List<AggregateCall>
final ImmutableBitSet
final com.google.common.collect.ImmutableList<ImmutableBitSet>
protected MutableRel
Fields inherited from class org.apache.calcite.rel.mutable.MutableRel
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type
-
Method Summary
Modifier and TypeMethodDescriptionvoid
childrenAccept
(MutableRelVisitor visitor) clone()
digest
(StringBuilder buf) boolean
getInput()
int
hashCode()
static MutableAggregate
of
(MutableRel input, ImmutableBitSet groupSet, @Nullable com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls) Creates a MutableAggregate.void
setInput
(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 justgroupSet
aggCalls
- Collection of calls to aggregate functions
-
equals
-
hashCode
public int hashCode() -
digest
- Specified by:
digest
in classMutableRel
-
getGroupType
-
clone
- Specified by:
clone
in classMutableRel
-
setInput
- Specified by:
setInput
in classMutableRel
-
getInputs
- Specified by:
getInputs
in classMutableRel
-
childrenAccept
- Specified by:
childrenAccept
in classMutableRel
-
getInput
-