public class ColumnReferenceFinder extends Object
ResolvedExpression
.Modifier and Type | Method and Description |
---|---|
static Set<String> |
findReferencedColumn(String columnName,
ResolvedSchema schema)
Find referenced column names that derive the computed column.
|
static Set<String> |
findWatermarkReferencedColumn(ResolvedSchema schema)
Find referenced column names that derive the watermark expression.
|
public static Set<String> findReferencedColumn(String columnName, ResolvedSchema schema)
columnName
- the name of the columnschema
- the schema contains the computed column definitionpublic static Set<String> findWatermarkReferencedColumn(ResolvedSchema schema)
schema
- resolved columns contains the watermark expression.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.