Class MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT extends MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT>>
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT>
-
- Direct Known Subclasses:
AdjacencyMatrixAggregate.Builder
,AutoDateHistogramAggregate.Builder
,CompositeAggregate.Builder
,DateHistogramAggregate.Builder
,FiltersAggregate.Builder
,GeoHashGridAggregate.Builder
,GeoTileGridAggregate.Builder
,HistogramAggregate.Builder
,IpRangeAggregate.Builder
,LongRareTermsAggregate.Builder
,RangeAggregate.AbstractBuilder
,SignificantLongTermsAggregate.Builder
,SignificantStringTermsAggregate.Builder
,StringRareTermsAggregate.Builder
,TermsAggregateBase.AbstractBuilder
,TopMetricsAggregate.Builder
,UnmappedRareTermsAggregate.Builder
,UnmappedSignificantTermsAggregate.Builder
,VariableWidthHistogramAggregate.Builder
- Enclosing class:
- MultiBucketAggregateBase<TBucket>
protected abstract static class MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT extends MultiBucketAggregateBase.AbstractBuilder<TBucket,BuilderT>> extends AggregateBase.AbstractBuilder<BuilderT>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuilderT
buckets(java.util.function.Function<Buckets.Builder<TBucket>,ObjectBuilder<Buckets<TBucket>>> fn)
Required - API name:buckets
BuilderT
buckets(Buckets<TBucket> value)
Required - API name:buckets
BuilderT
tBucketSerializer(JsonpSerializer<TBucket> value)
Serializer for TBucket.-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta, self
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
buckets
public final BuilderT buckets(java.util.function.Function<Buckets.Builder<TBucket>,ObjectBuilder<Buckets<TBucket>>> fn)
Required - API name:buckets
-
tBucketSerializer
public final BuilderT tBucketSerializer(@Nullable JsonpSerializer<TBucket> value)
Serializer for TBucket. If not set, an attempt will be made to find a serializer from the JSON context.
-
-