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 date histogram groupingTermsGroupSource.BuildersetScript(org.elasticsearch.script.Script script)The script with which to construct the terms grouping
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setField
The field with which to construct the date histogram 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.
-
build
-