Package org.apache.flink.table.catalog
Class Column.PhysicalColumn
- java.lang.Object
-
- org.apache.flink.table.catalog.Column
-
- org.apache.flink.table.catalog.Column.PhysicalColumn
-
- Enclosing class:
- Column
@PublicEvolving public static final class Column.PhysicalColumn extends Column
Representation of a physical column.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.table.catalog.Column
Column.ComputedColumn, Column.MetadataColumn, Column.PhysicalColumn
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Column
copy(DataType newDataType)
Returns a copy of the column with a replacedDataType
.Optional<String>
explainExtras()
Returns an explanation of specific column extras next to name and type.boolean
isPersisted()
Returns whether the given column is persisted in a sink operation.boolean
isPhysical()
Returns whether the given column is a physical column of a table; neither computed nor metadata.Column.PhysicalColumn
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, equals, getComment, getDataType, getName, hashCode, metadata, physical, toString
-
-
-
-
Method Detail
-
withComment
public Column.PhysicalColumn withComment(String comment)
Description copied from class:Column
Add the comment to the column and return the new object.- Specified by:
withComment
in classColumn
-
isPhysical
public boolean isPhysical()
Description copied from class:Column
Returns whether the given column is a physical column of a table; neither computed nor metadata.- Specified by:
isPhysical
in classColumn
-
isPersisted
public boolean isPersisted()
Description copied from class:Column
Returns whether the given column is persisted in a sink operation.- Specified by:
isPersisted
in classColumn
-
explainExtras
public Optional<String> explainExtras()
Description copied from class:Column
Returns an explanation of specific column extras next to name and type.- Specified by:
explainExtras
in classColumn
-
-