public enum QueryDuration extends Enum<QueryDuration>
| Enum Constant and Description |
|---|
LONG
The query is expected to return more than 100 records per node.
|
LONG_RELAX_AP
Treat query as a LONG query, but relax read consistency for AP namespaces.
|
SHORT
The query is expected to return less than 100 records per node.
|
| Modifier and Type | Method and Description |
|---|---|
static QueryDuration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryDuration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryDuration LONG
public static final QueryDuration SHORT
public static final QueryDuration LONG_RELAX_AP
public static QueryDuration[] values()
for (QueryDuration c : QueryDuration.values()) System.out.println(c);
public static QueryDuration 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 © 2012–2024 Aerospike, Inc. All rights reserved.