public enum KeyFormat extends Enum<KeyFormat>
| Modifier and Type | Method and Description |
|---|---|
static KeyFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyFormat STRING
public static final KeyFormat AVRO
public static final KeyFormat BYTES
public static KeyFormat[] values()
for (KeyFormat c : KeyFormat.values()) System.out.println(c);
public static KeyFormat 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 nullCopyright © 2019. All rights reserved.