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, toStringpublic Column.ComputedColumn withComment(String comment)
ColumnwithComment in class Columnpublic boolean isPhysical()
ColumnisPhysical in class Columnpublic boolean isPersisted()
ColumnisPersisted in class Columnpublic ResolvedExpression getExpression()
public Optional<String> explainExtras()
ColumnexplainExtras in class Columnpublic Column copy(DataType newDataType)
ColumnDataType.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.