Interface DataIteratorBatcher<T>
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Batcher converts iterator of T into iterator of batched
RecordsWithSplitIds<RecordAndPosition<T>>
, as FLIP-27's SplitReader.fetch()
returns
batched records.-
Method Summary
Modifier and TypeMethodDescriptionCloseableIterator<org.apache.flink.connector.base.source.reader.RecordsWithSplitIds<RecordAndPosition<T>>>
batch
(String splitId, DataIterator<T> inputIterator)
-
Method Details
-
batch
CloseableIterator<org.apache.flink.connector.base.source.reader.RecordsWithSplitIds<RecordAndPosition<T>>> batch(String splitId, DataIterator<T> inputIterator)
-