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