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.
|
ResolvedExpression |
getExpression() |
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.
|
Column.ComputedColumn |
withComment(String comment)
Add the comment to the column and return the new object.
|
asSummaryString, computed, getComment, getDataType, getName, metadata, physical, toString
public Column.ComputedColumn withComment(String comment)
Column
withComment
in class Column
public boolean isPhysical()
Column
isPhysical
in class Column
public boolean isPersisted()
Column
isPersisted
in class Column
public ResolvedExpression getExpression()
public Optional<String> explainExtras()
Column
explainExtras
in class Column
public Column copy(DataType newDataType)
Column
DataType
.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.