Package oracle.pgx.config
Enum GraphOptimizedFor
- java.lang.Object
-
- java.lang.Enum<GraphOptimizedFor>
-
- oracle.pgx.config.GraphOptimizedFor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GraphOptimizedFor>
public enum GraphOptimizedFor extends java.lang.Enum<GraphOptimizedFor>
Strategy to apply updates.- Since:
- 20.1
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
READ
public static final GraphOptimizedFor READ
Optimize for read-intensive scenarios, e.g. by replicating all the graph's data structures whenever creating a new graph or graph snapshot.
-
UPDATES
public static final GraphOptimizedFor 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.
-
-
Method Detail
-
values
public static GraphOptimizedFor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GraphOptimizedFor c : GraphOptimizedFor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphOptimizedFor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-