public class StreamingMonitorFunction extends org.apache.flink.streaming.api.functions.source.RichSourceFunction<FlinkInputSplit> implements org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
FlinkInputFormat,
 it is responsible for:
 splits corresponding to the incremental filesThe splits to be read are forwarded to the downstream StreamingReaderOperator
 which can have parallelism greater than one.
| Constructor and Description | 
|---|
StreamingMonitorFunction(TableLoader tableLoader,
                        org.apache.iceberg.flink.source.ScanContext scanContext)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cancel()  | 
void | 
close()  | 
void | 
initializeState(org.apache.flink.runtime.state.FunctionInitializationContext context)  | 
void | 
run(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<FlinkInputSplit> ctx)  | 
void | 
snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context)  | 
public StreamingMonitorFunction(TableLoader tableLoader, org.apache.iceberg.flink.source.ScanContext scanContext)
public void initializeState(org.apache.flink.runtime.state.FunctionInitializationContext context)
                     throws java.lang.Exception
initializeState in interface org.apache.flink.streaming.api.checkpoint.CheckpointedFunctionjava.lang.Exceptionpublic void snapshotState(org.apache.flink.runtime.state.FunctionSnapshotContext context)
                   throws java.lang.Exception
snapshotState in interface org.apache.flink.streaming.api.checkpoint.CheckpointedFunctionjava.lang.Exceptionpublic void run(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<FlinkInputSplit> ctx) throws java.lang.Exception
run in interface org.apache.flink.streaming.api.functions.source.SourceFunction<FlinkInputSplit>java.lang.Exceptionpublic void cancel()
cancel in interface org.apache.flink.streaming.api.functions.source.SourceFunction<FlinkInputSplit>public void close()
close in interface org.apache.flink.api.common.functions.RichFunctionclose in class org.apache.flink.api.common.functions.AbstractRichFunction