Class ColumnReferenceFinder

java.lang.Object
org.apache.flink.table.planner.expressions.ColumnReferenceFinder

public class ColumnReferenceFinder extends Object
A finder used to look up referenced column name in a ResolvedExpression.
  • Method Details

    • findReferencedColumn

      public static Set<String> findReferencedColumn(String columnName, org.apache.flink.table.catalog.ResolvedSchema schema)
      Find referenced column names that derive the computed column.
      Parameters:
      columnName - the name of the column
      schema - the schema contains the computed column definition
      Returns:
      the referenced column names
    • findWatermarkReferencedColumn

      public static Set<String> findWatermarkReferencedColumn(org.apache.flink.table.catalog.ResolvedSchema schema)
      Find referenced column names that derive the watermark expression.
      Parameters:
      schema - resolved columns contains the watermark expression.
      Returns:
      the referenced column names