net.sf.farrago.fennel.rel
Class FennelWindowRel.Partition
java.lang.Object
net.sf.farrago.fennel.rel.FennelWindowRel.Partition
- Enclosing class:
- FennelWindowRel
public static class FennelWindowRel.Partition
- extends Object
A Partition is a collection of windowed aggregate expressions which
belong to the same FennelWindowRel.Window
and have the same partitioning keys.
overList
final List<FennelWindowRel.RexWinAggCall> overList
- Array of
FennelWindowRel.RexWinAggCall
objects, each of which is a call to a
SqlAggFunction
.
partitionKeys
final Integer[] partitionKeys
- The ordinals of the input columns which uniquely identify rows in
this partition. May be empty. Must not be null.
FennelWindowRel.Partition
FennelWindowRel.Partition(Integer[] partitionKeys)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
computeDigest
private void computeDigest(StringBuilder buf)
addOver
public FennelWindowRel.RexWinAggCall addOver(RelDataType type,
SqlAggFunction operator,
RexNode[] operands,
RexProgramBuilder programBuilder)
getOvers
public List<FennelWindowRel.RexWinAggCall> getOvers()