public class MutableAggregate extends MutableRel
Aggregate.| Modifier and Type | Field and Description |
|---|---|
List<AggregateCall> |
aggCalls |
ImmutableBitSet |
groupSet |
com.google.common.collect.ImmutableList<ImmutableBitSet> |
groupSets |
protected MutableRel |
input |
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type| Modifier and Type | Method and Description |
|---|---|
void |
childrenAccept(MutableRelVisitor visitor) |
MutableRel |
clone() |
StringBuilder |
digest(StringBuilder buf) |
boolean |
equals(@Nullable Object obj) |
Aggregate.Group |
getGroupType() |
MutableRel |
getInput() |
List<MutableRel> |
getInputs() |
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) |
deep, getParent, replaceInParent, toStringpublic final ImmutableBitSet groupSet
public final com.google.common.collect.ImmutableList<ImmutableBitSet> groupSets
public final List<AggregateCall> aggCalls
protected MutableRel input
public static MutableAggregate of(MutableRel input, ImmutableBitSet groupSet, @Nullable 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 MutableRelpublic void setInput(int ordinalInParent,
MutableRel input)
setInput in class MutableRelpublic List<MutableRel> getInputs()
getInputs in class MutableRelpublic void childrenAccept(MutableRelVisitor visitor)
childrenAccept in class MutableRelpublic MutableRel getInput()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.