Class SingleThreadedIteratorSource<T>
- java.lang.Object
-
- org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource<T>
-
- Type Parameters:
T
- The return type of the source
- All Implemented Interfaces:
java.io.Serializable
,org.apache.flink.api.connector.source.Source<T,org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>,java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>>
,org.apache.flink.api.connector.source.SourceReaderFactory<T,org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>
,org.apache.flink.api.java.typeutils.ResultTypeQueryable<T>
@Internal public abstract class SingleThreadedIteratorSource<T> extends java.lang.Object implements org.apache.flink.api.connector.source.Source<T,org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>,java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>>, org.apache.flink.api.java.typeutils.ResultTypeQueryable<T>
Implementation of the Source V2 API which uses an iterator to read the elements, and uses a single thread to do so.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleThreadedIteratorSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.api.connector.source.SplitEnumerator<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>,java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>>
createEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>> enumContext)
org.apache.flink.api.connector.source.SourceReader<T,org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>
createReader(org.apache.flink.api.connector.source.SourceReaderContext readerContext)
org.apache.flink.core.io.SimpleVersionedSerializer<java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>>
getEnumeratorCheckpointSerializer()
org.apache.flink.core.io.SimpleVersionedSerializer<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>
getSplitSerializer()
org.apache.flink.api.connector.source.SplitEnumerator<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>,java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>>
restoreEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>> enumContext, java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>> checkpoint)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
createEnumerator
public org.apache.flink.api.connector.source.SplitEnumerator<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>,java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>> createEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>> enumContext)
-
restoreEnumerator
public org.apache.flink.api.connector.source.SplitEnumerator<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>,java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>> restoreEnumerator(org.apache.flink.api.connector.source.SplitEnumeratorContext<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>> enumContext, java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>> checkpoint)
-
getSplitSerializer
public org.apache.flink.core.io.SimpleVersionedSerializer<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>> getSplitSerializer()
-
getEnumeratorCheckpointSerializer
public org.apache.flink.core.io.SimpleVersionedSerializer<java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>> getEnumeratorCheckpointSerializer()
- Specified by:
getEnumeratorCheckpointSerializer
in interfaceorg.apache.flink.api.connector.source.Source<T,org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>,java.util.Collection<org.apache.iceberg.flink.maintenance.operator.SingleThreadedIteratorSource.GlobalSplit<T>>>
-
-