Package org.apache.flink.table.catalog
Class Column.ComputedColumn
java.lang.Object
org.apache.flink.table.catalog.Column
org.apache.flink.table.catalog.Column.ComputedColumn
- Enclosing class:
- Column
Representation of a computed column.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.table.catalog.Column
Column.ComputedColumn, Column.MetadataColumn, Column.PhysicalColumn -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of the column with a replacedDataType.booleanReturns an explanation of specific column extras next to name and type.inthashCode()booleanReturns whether the given column is persisted in a sink operation.booleanReturns whether the given column is a physical column of a table; neither computed nor metadata.Returns a copy of the column with a replaced name.withComment(String comment) Add the comment to the column and return the new object.Methods inherited from class org.apache.flink.table.catalog.Column
asSummaryString, computed, getComment, getDataType, getName, metadata, physical, toString
-
Method Details
-
withComment
Description copied from class:ColumnAdd the comment to the column and return the new object.- Specified by:
withCommentin classColumn
-
isPhysical
public boolean isPhysical()Description copied from class:ColumnReturns whether the given column is a physical column of a table; neither computed nor metadata.- Specified by:
isPhysicalin classColumn
-
isPersisted
public boolean isPersisted()Description copied from class:ColumnReturns whether the given column is persisted in a sink operation.- Specified by:
isPersistedin classColumn
-
getExpression
-
explainExtras
Description copied from class:ColumnReturns an explanation of specific column extras next to name and type.- Specified by:
explainExtrasin classColumn
-
copy
Description copied from class:ColumnReturns a copy of the column with a replacedDataType. -
rename
Description copied from class:ColumnReturns a copy of the column with a replaced name. -
equals
-
hashCode
public int hashCode()
-