Enum RowDataKinesisDeserializationSchema.Metadata
- java.lang.Object
-
- java.lang.Enum<RowDataKinesisDeserializationSchema.Metadata>
-
- org.apache.flink.streaming.connectors.kinesis.table.RowDataKinesisDeserializationSchema.Metadata
-
- All Implemented Interfaces:
Serializable,Comparable<RowDataKinesisDeserializationSchema.Metadata>
- Enclosing class:
- RowDataKinesisDeserializationSchema
protected static enum RowDataKinesisDeserializationSchema.Metadata extends Enum<RowDataKinesisDeserializationSchema.Metadata>
Internal type for enumerating available metadata.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SequenceNumberShardIdTimestamp
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.table.types.DataTypegetDataType()StringgetFieldName()static RowDataKinesisDeserializationSchema.Metadataof(String fieldName)static RowDataKinesisDeserializationSchema.MetadatavalueOf(String name)Returns the enum constant of this type with the specified name.static RowDataKinesisDeserializationSchema.Metadata[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Timestamp
public static final RowDataKinesisDeserializationSchema.Metadata Timestamp
-
SequenceNumber
public static final RowDataKinesisDeserializationSchema.Metadata SequenceNumber
-
ShardId
public static final RowDataKinesisDeserializationSchema.Metadata ShardId
-
-
Method Detail
-
values
public static RowDataKinesisDeserializationSchema.Metadata[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RowDataKinesisDeserializationSchema.Metadata c : RowDataKinesisDeserializationSchema.Metadata.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RowDataKinesisDeserializationSchema.Metadata valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getFieldName
public String getFieldName()
-
getDataType
public org.apache.flink.table.types.DataType getDataType()
-
of
public static RowDataKinesisDeserializationSchema.Metadata of(String fieldName)
-
-