storm.trident.operation.builtin
Class FirstN.FirstNAgg

java.lang.Object
  extended by storm.trident.operation.BaseOperation
      extended by storm.trident.operation.BaseAggregator<storm.trident.operation.builtin.FirstN.FirstNAgg.State>
          extended by storm.trident.operation.builtin.FirstN.FirstNAgg
All Implemented Interfaces:
java.io.Serializable, Aggregator<storm.trident.operation.builtin.FirstN.FirstNAgg.State>, Operation
Enclosing class:
FirstN

public static class FirstN.FirstNAgg
extends BaseAggregator<storm.trident.operation.builtin.FirstN.FirstNAgg.State>

See Also:
Serialized Form

Constructor Summary
FirstN.FirstNAgg(int n)
           
 
Method Summary
 void aggregate(storm.trident.operation.builtin.FirstN.FirstNAgg.State val, TridentTuple tuple, TridentCollector collector)
           
 void complete(storm.trident.operation.builtin.FirstN.FirstNAgg.State val, TridentCollector collector)
           
 storm.trident.operation.builtin.FirstN.FirstNAgg.State init(java.lang.Object batchId, TridentCollector collector)
           
 
Methods inherited from class storm.trident.operation.BaseOperation
cleanup, prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface storm.trident.operation.Operation
cleanup, prepare
 

Constructor Detail

FirstN.FirstNAgg

public FirstN.FirstNAgg(int n)
Method Detail

init

public storm.trident.operation.builtin.FirstN.FirstNAgg.State init(java.lang.Object batchId,
                                                                   TridentCollector collector)

aggregate

public void aggregate(storm.trident.operation.builtin.FirstN.FirstNAgg.State val,
                      TridentTuple tuple,
                      TridentCollector collector)

complete

public void complete(storm.trident.operation.builtin.FirstN.FirstNAgg.State val,
                     TridentCollector collector)