Class ContinuousSplitPlannerImpl

java.lang.Object
org.apache.iceberg.flink.source.enumerator.ContinuousSplitPlannerImpl
All Implemented Interfaces:
Closeable, AutoCloseable, ContinuousSplitPlanner

@Internal public class ContinuousSplitPlannerImpl extends Object implements ContinuousSplitPlanner
  • 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

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      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 between lastPosition and current table snapshot
      Specified by:
      planSplits in interface ContinuousSplitPlanner