Package com.rpl.rama.ops
Interface LimitAgg
public interface LimitAgg
Specifies a limit aggregator for use with
limitAgg- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic LimitAggCreates a limit aggregator specificationIf set also emits the index of each emit to the specified varreverse()Used in conjunction withsort(java.lang.String...)to reverse the inputSort input for aggregation on values of given vars
-
Method Details
-
create
Creates a limit aggregator specification- Parameters:
amt- Maximum number of emits into post-agg phasevars- Vars in pre-agg phase to keep- Returns:
- Builder-style object to set options
-
sort
Sort input for aggregation on values of given vars- Parameters:
vars- Vars
-
reverse
LimitAgg reverse()Used in conjunction withsort(java.lang.String...)to reverse the input -
indexVar
If set also emits the index of each emit to the specified var- Parameters:
var- Output var to bind to index
-