public enum Format extends Enum<Format>
| Enum Constant and Description |
|---|
binary |
binary_protocol |
compact_protocol |
fast_binary |
json |
json_protocol |
named_json |
pretty |
pretty_json |
tuple_protocol |
unversioned_binary |
| Modifier and Type | Method and Description |
|---|---|
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format json
public static final Format named_json
public static final Format pretty_json
public static final Format binary
public static final Format unversioned_binary
public static final Format fast_binary
public static final Format pretty
public static final Format json_protocol
public static final Format binary_protocol
public static final Format compact_protocol
public static final Format tuple_protocol
public String desc
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format 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 © 2015–2016 morimekta.net. All rights reserved.