Class MetadataTablePlanner

java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,MetadataTablePlanner.SplitInfo>
org.apache.iceberg.flink.maintenance.operator.MetadataTablePlanner
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.api.common.functions.RichFunction

@Internal public class MetadataTablePlanner extends org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,MetadataTablePlanner.SplitInfo>
Plans the splits to read a metadata table content.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class org.apache.flink.streaming.api.functions.ProcessFunction

    org.apache.flink.streaming.api.functions.ProcessFunction.Context, org.apache.flink.streaming.api.functions.ProcessFunction.OnTimerContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    MetadataTablePlanner(String taskName, int taskIndex, TableLoader tableLoader, ScanContext scanContext, MetadataTableType metadataTableType, int workerPoolSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    open(org.apache.flink.api.common.functions.OpenContext openContext)
     
    void
    processElement(Trigger trigger, org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,MetadataTablePlanner.SplitInfo>.org.apache.flink.streaming.api.functions.ProcessFunction.Context ctx, org.apache.flink.util.Collector<MetadataTablePlanner.SplitInfo> out)
     

    Methods inherited from class org.apache.flink.streaming.api.functions.ProcessFunction

    onTimer

    Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction

    getIterationRuntimeContext, getRuntimeContext, setRuntimeContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • open

      public void open(org.apache.flink.api.common.functions.OpenContext openContext) throws Exception
      Specified by:
      open in interface org.apache.flink.api.common.functions.RichFunction
      Overrides:
      open in class org.apache.flink.api.common.functions.AbstractRichFunction
      Throws:
      Exception
    • processElement

      public void processElement(Trigger trigger, org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,MetadataTablePlanner.SplitInfo>.org.apache.flink.streaming.api.functions.ProcessFunction.Context ctx, org.apache.flink.util.Collector<MetadataTablePlanner.SplitInfo> out) throws Exception
      Specified by:
      processElement in class org.apache.flink.streaming.api.functions.ProcessFunction<Trigger,MetadataTablePlanner.SplitInfo>
      Throws:
      Exception
    • close

      public void close() throws Exception
      Specified by:
      close in interface org.apache.flink.api.common.functions.RichFunction
      Overrides:
      close in class org.apache.flink.api.common.functions.AbstractRichFunction
      Throws:
      Exception