public interface LimitAgg
limitAgg
Modifier and Type | Method and Description |
---|---|
static LimitAgg |
create(int amt,
java.lang.String... vars)
Creates a limit aggregator specification
|
LimitAgg |
indexVar(java.lang.String var)
If set also emits the index of each emit to the specified var
|
LimitAgg |
reverse()
Used in conjunction with
sort(java.lang.String...) to reverse the input |
LimitAgg |
sort(java.lang.String... vars)
Sort input for aggregation on values of given vars
|
static LimitAgg create(int amt, java.lang.String... vars)
amt
- Maximum number of emits into post-agg phasevars
- Vars in pre-agg phase to keepLimitAgg sort(java.lang.String... vars)
vars
- VarsLimitAgg reverse()
sort(java.lang.String...)
to reverse the inputLimitAgg indexVar(java.lang.String var)
var
- Output var to bind to index