Class ColumnInfo
- java.lang.Object
-
- org.apache.flink.table.gateway.rest.serde.ColumnInfo
-
@Internal public class ColumnInfo extends Object
A column info represents a table column's structure with column name, column type.
-
-
Constructor Summary
Constructors Constructor Description ColumnInfo(String name, org.apache.flink.table.types.logical.LogicalType logicalType, String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetComment()org.apache.flink.table.types.logical.LogicalTypegetLogicalType()StringgetName()inthashCode()org.apache.flink.table.catalog.ColumntoColumn()static ColumnInfotoColumnInfo(org.apache.flink.table.catalog.Column column)StringtoString()
-
-
-
Method Detail
-
toColumnInfo
public static ColumnInfo toColumnInfo(org.apache.flink.table.catalog.Column column)
-
toColumn
public org.apache.flink.table.catalog.Column toColumn()
-
getName
public String getName()
-
getLogicalType
public org.apache.flink.table.types.logical.LogicalType getLogicalType()
-
getComment
@Nullable public String getComment()
-
-