Class TermsGroupSource.Builder
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.TermsGroupSource.Builder
- Enclosing class:
- TermsGroupSource
public static class TermsGroupSource.Builder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TermsGroupSourcebuild()TermsGroupSource.BuildersetField(java.lang.String field)The field with which to construct the terms groupingTermsGroupSource.BuildersetMissingBucket(boolean missingBucket)Sets the value of "missing_bucket"TermsGroupSource.BuildersetScript(org.elasticsearch.script.Script script)The script with which to construct the terms groupingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setField
The field with which to construct the terms grouping- Parameters:
field- The field name- Returns:
- The
TermsGroupSource.Builderwith the field set.
-
setScript
The script with which to construct the terms grouping- Parameters:
script- The script- Returns:
- The
TermsGroupSource.Builderwith the script set.
-
setMissingBucket
Sets the value of "missing_bucket"- Parameters:
missingBucket- value of "missing_bucket" to be set- Returns:
- The
TermsGroupSource.Builderwith "missing_bucket" set.
-
build
-