Class ContinuousSplitPlannerImpl
java.lang.Object
org.apache.iceberg.flink.source.enumerator.ContinuousSplitPlannerImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ContinuousSplitPlanner
-
Constructor Summary
ConstructorDescriptionContinuousSplitPlannerImpl
(TableLoader tableLoader, ScanContext scanContext, String threadName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.apache.iceberg.flink.source.enumerator.ContinuousEnumerationResult
planSplits
(org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastPosition) Discover the files appended betweenlastPosition
and current table snapshot
-
Constructor Details
-
ContinuousSplitPlannerImpl
public ContinuousSplitPlannerImpl(TableLoader tableLoader, ScanContext scanContext, String threadName) - Parameters:
tableLoader
- A cloned tableLoader.threadName
- thread name prefix for worker pool to run the split planning. If null, a shared worker pool will be used.
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
planSplits
public org.apache.iceberg.flink.source.enumerator.ContinuousEnumerationResult planSplits(org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastPosition) Description copied from interface:ContinuousSplitPlanner
Discover the files appended betweenlastPosition
and current table snapshot- Specified by:
planSplits
in interfaceContinuousSplitPlanner
-