Class PhysicalColumn
- java.lang.Object
-
- org.apache.flink.cdc.common.schema.Column
-
- org.apache.flink.cdc.common.schema.PhysicalColumn
-
- All Implemented Interfaces:
Serializable
@PublicEvolving public class PhysicalColumn extends Column
Representation of a physical column.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.flink.cdc.common.schema.Column
comment, defaultValueExpression, FIELD_FORMAT_NO_DESCRIPTION_NO_DEFAULT_VALUE_EXPRESSION, FIELD_FORMAT_NO_DESCRIPTION_WITH_DEFAULT_VALUE_EXPRESSION, FIELD_FORMAT_WITH_DESCRIPTION_NO_DEFAULT_VALUE_EXPRESSION, FIELD_FORMAT_WITH_DESCRIPTION_WITH_DEFAULT_VALUE_EXPRESSION, name, type
-
-
Constructor Summary
Constructors Constructor Description PhysicalColumn(String name, DataType type, String comment)PhysicalColumn(String name, DataType type, String comment, String defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Columncopy(String newName)Returns a copy of the column with a replaced name.Columncopy(DataType newType)Returns a copy of the column with a replacedDataType.booleanisPhysical()Returns whether the given column is a physical column of a table or metadata column.-
Methods inherited from class org.apache.flink.cdc.common.schema.Column
asSummaryString, equals, getComment, getDefaultValueExpression, getName, getType, hashCode, metadataColumn, metadataColumn, metadataColumn, physicalColumn, physicalColumn, physicalColumn, toString
-
-
-
-
Method Detail
-
isPhysical
public boolean isPhysical()
Description copied from class:ColumnReturns whether the given column is a physical column of a table or metadata column.- Specified by:
isPhysicalin classColumn
-
copy
public Column copy(DataType newType)
Description copied from class:ColumnReturns a copy of the column with a replacedDataType.
-
-