public interface Aggregator<T> extends Operation
Modifier and Type | Method and Description |
---|---|
void |
aggregate(T val,
TridentTuple tuple,
TridentCollector collector) |
void |
complete(T val,
TridentCollector collector) |
T |
init(Object batchId,
TridentCollector collector) |
T init(Object batchId, TridentCollector collector)
void aggregate(T val, TridentTuple tuple, TridentCollector collector)
void complete(T val, TridentCollector collector)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.