@Public public interface Collector<T>
Iterator
, which "pulls" data in.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the collector.
|
void |
collect(T record)
Emits a record.
|
void collect(T record)
record
- The record to collect.void close()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.