Package org.apache.iceberg.flink.source
Class FlinkInputFormat
java.lang.Object
org.apache.flink.api.common.io.RichInputFormat<org.apache.flink.table.data.RowData,FlinkInputSplit>
org.apache.iceberg.flink.source.FlinkInputFormat
- All Implemented Interfaces:
Serializable
,org.apache.flink.api.common.io.InputFormat<org.apache.flink.table.data.RowData,
,FlinkInputSplit> org.apache.flink.core.io.InputSplitSource<FlinkInputSplit>
public class FlinkInputFormat
extends org.apache.flink.api.common.io.RichInputFormat<org.apache.flink.table.data.RowData,FlinkInputSplit>
Flink
InputFormat
for Iceberg.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
configure
(org.apache.flink.configuration.Configuration parameters) createInputSplits
(int minNumSplits) org.apache.flink.core.io.InputSplitAssigner
getInputSplitAssigner
(FlinkInputSplit[] inputSplits) org.apache.flink.api.common.io.statistics.BaseStatistics
getStatistics
(org.apache.flink.api.common.io.statistics.BaseStatistics cachedStatistics) org.apache.flink.table.data.RowData
nextRecord
(org.apache.flink.table.data.RowData reuse) void
open
(FlinkInputSplit split) boolean
Methods inherited from class org.apache.flink.api.common.io.RichInputFormat
closeInputFormat, getRuntimeContext, openInputFormat, setRuntimeContext
-
Method Details
-
getStatistics
public org.apache.flink.api.common.io.statistics.BaseStatistics getStatistics(org.apache.flink.api.common.io.statistics.BaseStatistics cachedStatistics) -
createInputSplits
- Throws:
IOException
-
getInputSplitAssigner
public org.apache.flink.core.io.InputSplitAssigner getInputSplitAssigner(FlinkInputSplit[] inputSplits) -
configure
public void configure(org.apache.flink.configuration.Configuration parameters) -
open
-
reachedEnd
public boolean reachedEnd() -
nextRecord
public org.apache.flink.table.data.RowData nextRecord(org.apache.flink.table.data.RowData reuse) -
close
- Throws:
IOException
-