storm.trident.operation.builtin
Class FirstN.FirstNSortedAgg
java.lang.Object
storm.trident.operation.BaseOperation
storm.trident.operation.BaseAggregator<PriorityQueue>
storm.trident.operation.builtin.FirstN.FirstNSortedAgg
- All Implemented Interfaces:
- Serializable, Aggregator<PriorityQueue>, Operation
- Enclosing class:
- FirstN
public static class FirstN.FirstNSortedAgg
- extends BaseAggregator<PriorityQueue>
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstN.FirstNSortedAgg
public FirstN.FirstNSortedAgg(int n,
String sortField,
boolean reverse)
init
public PriorityQueue init(Object batchId,
TridentCollector collector)
aggregate
public void aggregate(PriorityQueue state,
TridentTuple tuple,
TridentCollector collector)
complete
public void complete(PriorityQueue val,
TridentCollector collector)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.