public enum MetaDataField extends Enum<MetaDataField>
Enum Constant and Description |
---|
KAFKA_MSG_KEY |
KAFKA_OFFSET |
KAFKA_PARTITION_ID |
KAFKA_TIMESTAMP |
KAFKA_TOPIC |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName() |
TypeProtos.MinorType |
getFieldType() |
static MetaDataField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetaDataField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaDataField KAFKA_TOPIC
public static final MetaDataField KAFKA_PARTITION_ID
public static final MetaDataField KAFKA_OFFSET
public static final MetaDataField KAFKA_TIMESTAMP
public static final MetaDataField KAFKA_MSG_KEY
public static MetaDataField[] values()
for (MetaDataField c : MetaDataField.values()) System.out.println(c);
public static MetaDataField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getFieldName()
public TypeProtos.MinorType getFieldType()
Copyright © 1970 The Apache Software Foundation. All rights reserved.