public enum GraphOptimizedFor extends java.lang.Enum<GraphOptimizedFor>
Enum Constant and Description |
---|
READ
Optimize for read-intensive scenarios, e.g.
|
UPDATES
Optimize for fast-updates, e..g by using delta logs; in this way, updates are more memory-efficient and faster, but at the potential cost of time overheads when querying the graph.
|
Modifier and Type | Method and Description |
---|---|
static GraphOptimizedFor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GraphOptimizedFor[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GraphOptimizedFor READ
public static final GraphOptimizedFor UPDATES
public static GraphOptimizedFor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static GraphOptimizedFor[] values()
for (GraphOptimizedFor c : GraphOptimizedFor.values()) System.out.println(c);