Constructor and Description |
---|
CountingCollector(Collector<OUT> collector,
Counter numRecordsOut) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the collector.
|
void |
collect(OUT record)
Emits a record.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.