public enum SerializerType extends Enum<SerializerType>
| Enum Constant and Description |
|---|
AVRO
Using Avro as serialization format
|
JSON
Using JSON as serialization format
|
| Modifier and Type | Field and Description |
|---|---|
private String |
name |
private static Map<String,SerializerType> |
NAME_TO_TYPE |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static SerializerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static SerializerType |
withName(String name) |
public static final SerializerType JSON
public static final SerializerType AVRO
private static final Map<String,SerializerType> NAME_TO_TYPE
private String name
public static SerializerType[] values()
for (SerializerType c : SerializerType.values()) System.out.println(c);
public static SerializerType 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 static SerializerType withName(String name)
public String getName()
Copyright © 2021 JBoss by Red Hat. All rights reserved.