public static enum Aggregator.SubAggCollectionMode extends Enum<Aggregator.SubAggCollectionMode>
Enum Constant and Description |
---|
BREADTH_FIRST
Creates buckets for all matching docs and then prunes to top-scoring buckets
before a second pass over the data when child aggregators are called
but only for docs from the top-scoring buckets
|
DEPTH_FIRST
Creates buckets and delegates to child aggregators in a single pass over
the matching documents
|
Modifier and Type | Field and Description |
---|---|
static ParseField |
KEY |
Modifier and Type | Method and Description |
---|---|
static Aggregator.SubAggCollectionMode |
parse(String value,
ParseFieldMatcher parseFieldMatcher) |
ParseField |
parseField() |
static Aggregator.SubAggCollectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aggregator.SubAggCollectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregator.SubAggCollectionMode DEPTH_FIRST
public static final Aggregator.SubAggCollectionMode BREADTH_FIRST
public static final ParseField KEY
public static Aggregator.SubAggCollectionMode[] values()
for (Aggregator.SubAggCollectionMode c : Aggregator.SubAggCollectionMode.values()) System.out.println(c);
public static Aggregator.SubAggCollectionMode 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 nullpublic ParseField parseField()
public static Aggregator.SubAggCollectionMode parse(String value, ParseFieldMatcher parseFieldMatcher)
Copyright © 2009–2016. All rights reserved.