public static enum MapFormat.MapTransformation extends Enum<MapFormat.MapTransformation>
Enum Constant and Description |
---|
FLAT
A flat map has the keys flattened such that
foo.bar is a single map. |
NESTED
A nested map has the any keys such as
foo.bar transformed into a structure that is a map of maps
such as JSON. |
Modifier and Type | Method and Description |
---|---|
static MapFormat.MapTransformation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapFormat.MapTransformation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapFormat.MapTransformation NESTED
foo.bar
transformed into a structure that is a map of maps
such as JSON.public static final MapFormat.MapTransformation FLAT
foo.bar
is a single map.public static MapFormat.MapTransformation[] values()
for (MapFormat.MapTransformation c : MapFormat.MapTransformation.values()) System.out.println(c);
public static MapFormat.MapTransformation 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 null