public enum ExecutionHint extends java.lang.Enum<ExecutionHint>
| Enum Constant and Description |
|---|
GLOBAL_ORDINALS
GLOBAL_ORDINALS is the default option for keyword fields, it uses global ordinals to
allocates buckets dynamically so memory usage is linear to the number of values of the
documents that are part of the aggregation scope.
|
MAP
MAP should only be considered when very few documents match a query.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionHint GLOBAL_ORDINALS
public static final ExecutionHint MAP
public static ExecutionHint[] values()
for (ExecutionHint c : ExecutionHint.values()) System.out.println(c);
public static ExecutionHint 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