Class TableLineageUtils

java.lang.Object
org.apache.flink.table.planner.lineage.TableLineageUtils

public class TableLineageUtils extends Object
Util class for building table lineage graph.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.flink.table.operations.ModifyType
    convert(org.apache.flink.table.connector.ChangelogMode inputChangelogMode)
     
    static org.apache.flink.streaming.api.lineage.LineageDataset
    createTableLineageDataset(org.apache.flink.table.catalog.ContextResolvedTable contextResolvedTable, Optional<org.apache.flink.streaming.api.lineage.LineageVertex> lineageDataset)
     
    static Optional<org.apache.flink.streaming.api.lineage.LineageVertex>
    Extract optional lineage info from output format, sink, or sink function.

    Methods inherited from class java.lang.Object

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

    • TableLineageUtils

      public TableLineageUtils()
  • Method Details

    • extractLineageDataset

      public static Optional<org.apache.flink.streaming.api.lineage.LineageVertex> extractLineageDataset(@Nullable Object object)
      Extract optional lineage info from output format, sink, or sink function.
    • createTableLineageDataset

      public static org.apache.flink.streaming.api.lineage.LineageDataset createTableLineageDataset(org.apache.flink.table.catalog.ContextResolvedTable contextResolvedTable, Optional<org.apache.flink.streaming.api.lineage.LineageVertex> lineageDataset)
    • convert

      public static org.apache.flink.table.operations.ModifyType convert(org.apache.flink.table.connector.ChangelogMode inputChangelogMode)