@PublicEvolving public static final class Column.MetadataColumn extends Column
Column.ComputedColumn, Column.MetadataColumn, Column.PhysicalColumn
Modifier and Type | Method and Description |
---|---|
Column |
copy(DataType newDataType)
Returns a copy of the column with a replaced
DataType . |
boolean |
equals(Object o) |
Optional<String> |
explainExtras()
Returns an explanation of specific column extras next to name and type.
|
Optional<String> |
getMetadataKey() |
int |
hashCode() |
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.
|
boolean |
isVirtual() |
Column.MetadataColumn |
withComment(String comment)
Add the comment to the column and return the new object.
|
asSummaryString, computed, getComment, getDataType, getName, metadata, physical, toString
public boolean isVirtual()
public Column.MetadataColumn withComment(@Nullable String comment)
Column
withComment
in class Column
public boolean isPhysical()
Column
isPhysical
in class Column
public boolean isPersisted()
Column
isPersisted
in class Column
public Optional<String> explainExtras()
Column
explainExtras
in class Column
public Column copy(DataType newDataType)
Column
DataType
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.