public enum GraphSONMode extends Enum<GraphSONMode>
| Enum Constant and Description |
|---|
COMPACT
COMPACT constructs GraphSON on the assumption that all property keys
are fair game for exclusion including _type, _inV, _outV, _label and _id.
|
EXTENDED
EXTENDED includes the _type field and explicit data typing.
|
NORMAL
NORMAL includes the _type field and JSON data typing.
|
| Modifier and Type | Method and Description |
|---|---|
static GraphSONMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphSONMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphSONMode COMPACT
public static final GraphSONMode NORMAL
public static final GraphSONMode EXTENDED
public static GraphSONMode[] values()
for (GraphSONMode c : GraphSONMode.values()) System.out.println(c);
public static GraphSONMode 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 © 2010-2014. All Rights Reserved.