Package org.apache.flink.api.java.io
Class IteratorInputFormat<T>
- java.lang.Object
-
- org.apache.flink.api.common.io.RichInputFormat<OT,org.apache.flink.core.io.GenericInputSplit>
-
- org.apache.flink.api.common.io.GenericInputFormat<T>
-
- org.apache.flink.api.java.io.IteratorInputFormat<T>
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.InputFormat<T,org.apache.flink.core.io.GenericInputSplit>,org.apache.flink.api.common.io.NonParallelInput,org.apache.flink.core.io.InputSplitSource<org.apache.flink.core.io.GenericInputSplit>
@Deprecated @PublicEvolving public class IteratorInputFormat<T> extends org.apache.flink.api.common.io.GenericInputFormat<T> implements org.apache.flink.api.common.io.NonParallelInput
Deprecated.All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API.An input format that returns objects from an iterator.
-
-
Constructor Summary
Constructors Constructor Description IteratorInputFormat(Iterator<T> iterator)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TnextRecord(T record)Deprecated.booleanreachedEnd()Deprecated.-
Methods inherited from class org.apache.flink.api.common.io.GenericInputFormat
close, configure, createInputSplits, getInputSplitAssigner, getStatistics, open
-
-
-
-
Method Detail
-
reachedEnd
public boolean reachedEnd()
Deprecated.- Specified by:
reachedEndin interfaceorg.apache.flink.api.common.io.InputFormat<T,org.apache.flink.core.io.GenericInputSplit>
-
-