Class PivotGroupBy.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PivotGroupBy.Builder>
co.elastic.clients.elasticsearch.transform.PivotGroupBy.Builder
- All Implemented Interfaces:
WithJson<PivotGroupBy.Builder>
,ObjectBuilder<PivotGroupBy>
- Enclosing class:
- PivotGroupBy
public static class PivotGroupBy.Builder
extends WithJsonObjectBuilderBase<PivotGroupBy.Builder>
implements ObjectBuilder<PivotGroupBy>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dateHistogram
(Function<DateHistogramAggregation.Builder, ObjectBuilder<DateHistogramAggregation>> fn) protected PivotGroupBy.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<PivotGroupBy.Builder>
-
dateHistogram
-
dateHistogram
public ObjectBuilder<PivotGroupBy> dateHistogram(Function<DateHistogramAggregation.Builder, ObjectBuilder<DateHistogramAggregation>> fn) -
geotileGrid
-
geotileGrid
public ObjectBuilder<PivotGroupBy> geotileGrid(Function<GeoTileGridAggregation.Builder, ObjectBuilder<GeoTileGridAggregation>> fn) -
histogram
-
histogram
public ObjectBuilder<PivotGroupBy> histogram(Function<HistogramAggregation.Builder, ObjectBuilder<HistogramAggregation>> fn) -
terms
-
terms
public ObjectBuilder<PivotGroupBy> terms(Function<TermsAggregation.Builder, ObjectBuilder<TermsAggregation>> fn) -
build
- Specified by:
build
in interfaceObjectBuilder<PivotGroupBy>
-