public enum AvroEncoding extends Enum<AvroEncoding>
Modifier and Type | Field and Description |
---|---|
static String |
AVRO_BINARY |
static String |
AVRO_ENCODING |
static String |
AVRO_JSON |
Modifier and Type | Method and Description |
---|---|
static AvroEncoding |
fromConfig(Map<String,?> config) |
static AvroEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvroEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvroEncoding BINARY
public static final AvroEncoding JSON
public static final String AVRO_ENCODING
public static final String AVRO_JSON
public static final String AVRO_BINARY
public static AvroEncoding[] values()
for (AvroEncoding c : AvroEncoding.values()) System.out.println(c);
public static AvroEncoding 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 AvroEncoding fromConfig(Map<String,?> config)
Copyright © 2020 Red Hat. All rights reserved.