public enum IndexedQueryMode extends 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(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(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 © 2018 JBoss, a division of Red Hat. All rights reserved.