public static enum TermsAggregationBuilder.CollectMode extends Enum<TermsAggregationBuilder.CollectMode>
| Enum Constant and Description |
|---|
BREADTH_FIRST |
DEPTH_FIRST |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TermsAggregationBuilder.CollectMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TermsAggregationBuilder.CollectMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermsAggregationBuilder.CollectMode BREADTH_FIRST
public static final TermsAggregationBuilder.CollectMode DEPTH_FIRST
public static TermsAggregationBuilder.CollectMode[] values()
for (TermsAggregationBuilder.CollectMode c : TermsAggregationBuilder.CollectMode.values()) System.out.println(c);
public static TermsAggregationBuilder.CollectMode 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 String toString()
toString in class Enum<TermsAggregationBuilder.CollectMode>Copyright © 2022 The Apache Software Foundation. All rights reserved.