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 TermsGroupSource
build()
TermsGroupSource.Builder
setField(java.lang.String field)
The field with which to construct the date histogram groupingTermsGroupSource.Builder
setScript(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.Builder
with the field set.
-
setScript
The script with which to construct the terms grouping- Parameters:
script
- The script- Returns:
- The
TermsGroupSource.Builder
with the script set.
-
build
-