Package org.apache.flink.table.api
Class Schema.UnresolvedMetadataColumn
- java.lang.Object
-
- org.apache.flink.table.api.Schema.UnresolvedColumn
-
- org.apache.flink.table.api.Schema.UnresolvedMetadataColumn
-
- Enclosing class:
- Schema
@PublicEvolving public static final class Schema.UnresolvedMetadataColumn extends Schema.UnresolvedColumn
Declaration of a metadata column that will be resolved toColumn.MetadataColumn
during schema resolution.
-
-
Constructor Summary
Constructors Constructor Description UnresolvedMetadataColumn(String columnName, AbstractDataType<?> dataType, String metadataKey, boolean isVirtual)
UnresolvedMetadataColumn(String columnName, AbstractDataType<?> dataType, String metadataKey, boolean isVirtual, String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AbstractDataType<?>
getDataType()
String
getMetadataKey()
int
hashCode()
boolean
isVirtual()
String
toString()
-
Methods inherited from class org.apache.flink.table.api.Schema.UnresolvedColumn
getComment, getName
-
-
-
-
Constructor Detail
-
UnresolvedMetadataColumn
public UnresolvedMetadataColumn(String columnName, AbstractDataType<?> dataType, @Nullable String metadataKey, boolean isVirtual)
-
UnresolvedMetadataColumn
public UnresolvedMetadataColumn(String columnName, AbstractDataType<?> dataType, @Nullable String metadataKey, boolean isVirtual, @Nullable String comment)
-
-
Method Detail
-
getDataType
public AbstractDataType<?> getDataType()
-
getMetadataKey
@Nullable public String getMetadataKey()
-
isVirtual
public boolean isVirtual()
-
toString
public String toString()
- Overrides:
toString
in classSchema.UnresolvedColumn
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSchema.UnresolvedColumn
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSchema.UnresolvedColumn
-
-