public static class FirstN.FirstNAgg extends BaseAggregator<storm.trident.operation.builtin.FirstN.FirstNAgg.State>
Constructor and Description |
---|
FirstNAgg(int n) |
Modifier and Type | Method and Description |
---|---|
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(Object batchId,
TridentCollector collector) |
cleanup, prepare
public storm.trident.operation.builtin.FirstN.FirstNAgg.State init(Object batchId, TridentCollector collector)
public void aggregate(storm.trident.operation.builtin.FirstN.FirstNAgg.State val, TridentTuple tuple, TridentCollector collector)
public void complete(storm.trident.operation.builtin.FirstN.FirstNAgg.State val, TridentCollector collector)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.