@InterfaceAudience.Private @InterfaceStability.Unstable public enum EventSerializerType extends Enum<EventSerializerType>
Enum Constant and Description |
---|
AVRO_EVENT |
HEADER_AND_TEXT |
OTHER |
TEXT |
Modifier and Type | Method and Description |
---|---|
Class<? extends EventSerializer.Builder> |
getBuilderClass() |
static EventSerializerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventSerializerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventSerializerType TEXT
public static final EventSerializerType HEADER_AND_TEXT
public static final EventSerializerType AVRO_EVENT
public static final EventSerializerType OTHER
public static EventSerializerType[] values()
for (EventSerializerType c : EventSerializerType.values()) System.out.println(c);
public static EventSerializerType 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 Class<? extends EventSerializer.Builder> getBuilderClass()
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.