Class ColumnReferenceFinder
java.lang.Object
org.apache.flink.table.planner.expressions.ColumnReferenceFinder
A finder used to look up referenced column name in a
ResolvedExpression.-
Method Summary
Modifier and TypeMethodDescriptionfindReferencedColumn(String columnName, org.apache.flink.table.catalog.ResolvedSchema schema) Find referenced column names that derive the computed column.findWatermarkReferencedColumn(org.apache.flink.table.catalog.ResolvedSchema schema) Find referenced column names that derive the watermark expression.
-
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 columnschema- 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
-