Class RowType.RowField
- java.lang.Object
-
- org.apache.flink.table.types.logical.RowType.RowField
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RowType
@PublicEvolving public static final class RowType.RowField extends Object implements Serializable
Describes a field of aRowType.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_FORMAT_NO_DESCRIPTIONstatic StringFIELD_FORMAT_WITH_DESCRIPTION
-
Constructor Summary
Constructors Constructor Description RowField(String name, LogicalType type)RowField(String name, LogicalType type, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasSerializableString()StringasSummaryString()RowType.RowFieldcopy()booleanequals(Object o)Optional<String>getDescription()StringgetName()LogicalTypegetType()inthashCode()
-
-
-
Field Detail
-
FIELD_FORMAT_WITH_DESCRIPTION
public static final String FIELD_FORMAT_WITH_DESCRIPTION
- See Also:
- Constant Field Values
-
FIELD_FORMAT_NO_DESCRIPTION
public static final String FIELD_FORMAT_NO_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RowField
public RowField(String name, LogicalType type, @Nullable String description)
-
RowField
public RowField(String name, LogicalType type)
-
-
Method Detail
-
getName
public String getName()
-
getType
public LogicalType getType()
-
copy
public RowType.RowField copy()
-
asSummaryString
public String asSummaryString()
-
asSerializableString
public String asSerializableString()
-
-