T
- input typepublic interface RecordCollector<T>
ComputeCollectorFunc
or
FlatMapFunc
. Acts as an intermediary between the data transformation and writing the
output to the following edges of the data flow graph.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the collector
|
void |
collect(T record)
Collects the record
|
void collect(T record)
record
- data recordvoid close()