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