Class ContinuousSplitPlannerImpl
java.lang.Object
org.apache.iceberg.flink.source.enumerator.ContinuousSplitPlannerImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,ContinuousSplitPlanner
-
Constructor Summary
ConstructorsConstructorDescriptionContinuousSplitPlannerImpl(TableLoader tableLoader, ScanContext scanContext, String threadName) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.iceberg.flink.source.enumerator.ContinuousEnumerationResultplanSplits(org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastPosition) Discover the files appended betweenlastPositionand 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:
closein interfaceAutoCloseable- Specified by:
closein 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:ContinuousSplitPlannerDiscover the files appended betweenlastPositionand current table snapshot- Specified by:
planSplitsin interfaceContinuousSplitPlanner
-