public enum IndexedQueryMode extends java.lang.Enum<IndexedQueryMode>
| Enum Constant and Description |
|---|
BROADCAST
Query is sent to all nodes, and results are combined before returning to the caller.
|
FETCH
Query is executed locally in the caller.
|
| Modifier and Type | Method and Description |
|---|---|
static IndexedQueryMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexedQueryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexedQueryMode BROADCAST
public static final IndexedQueryMode FETCH
public static IndexedQueryMode[] values()
for (IndexedQueryMode c : IndexedQueryMode.values()) System.out.println(c);
public static IndexedQueryMode 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 null