public class MutableAggregate extends MutableSingleRel
Aggregate.| Modifier and Type | Field and Description |
|---|---|
List<AggregateCall> |
aggCalls |
ImmutableBitSet |
groupSet |
com.google.common.collect.ImmutableList<ImmutableBitSet> |
groupSets |
inputcluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type| Modifier | Constructor and Description |
|---|---|
private |
MutableAggregate(MutableRel input,
RelDataType rowType,
ImmutableBitSet groupSet,
List<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls) |
| Modifier and Type | Method and Description |
|---|---|
MutableRel |
clone() |
StringBuilder |
digest(StringBuilder buf) |
boolean |
equals(Object obj) |
Aggregate.Group |
getGroupType() |
int |
hashCode() |
static MutableAggregate |
of(MutableRel input,
ImmutableBitSet groupSet,
com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets,
List<AggregateCall> aggCalls)
Creates a MutableAggregate.
|
childrenAccept, getInput, getInputs, setInputdeep, getParent, replaceInParent, toStringpublic final ImmutableBitSet groupSet
public final com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets
public final List<AggregateCall> aggCalls
private MutableAggregate(MutableRel input, RelDataType rowType, ImmutableBitSet groupSet, List<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls)
public static MutableAggregate of(MutableRel input, ImmutableBitSet groupSet, com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls)
input - Input relational expressiongroupSet - Bit set of grouping fieldsgroupSets - List of all grouping sets; null for just groupSetaggCalls - Collection of calls to aggregate functionspublic StringBuilder digest(StringBuilder buf)
digest in class MutableRelpublic Aggregate.Group getGroupType()
public MutableRel clone()
clone in class MutableRelCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.