Class RareTermsAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase.AbstractBuilder<RareTermsAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.RareTermsAggregation.Builder
- All Implemented Interfaces:
WithJson<RareTermsAggregation.Builder>,ObjectBuilder<RareTermsAggregation>
- Enclosing class:
- RareTermsAggregation
public static class RareTermsAggregation.Builder
extends BucketAggregationBase.AbstractBuilder<RareTermsAggregation.Builder>
implements ObjectBuilder<RareTermsAggregation>
Builder for
RareTermsAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRareTermsAggregation.exclude(TermsExclude value) API name:excludeAPI name:excludeAPI name:fieldinclude(TermsInclude value) API name:includeAPI name:includemaxDocCount(Long value) API name:max_doc_countmissing(boolean value) API name:missingmissing(double value) API name:missingmissing(long value) API name:missingmissing(FieldValue value) API name:missingAPI name:missingAPI name:missingAPI name:precisionprotected RareTermsAggregation.Builderself()API name:value_typeMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, nameMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exclude
API name:exclude -
exclude
public final RareTermsAggregation.Builder exclude(Function<TermsExclude.Builder, ObjectBuilder<TermsExclude>> fn) API name:exclude -
field
API name:field -
include
API name:include -
include
public final RareTermsAggregation.Builder include(Function<TermsInclude.Builder, ObjectBuilder<TermsInclude>> fn) API name:include -
maxDocCount
API name:max_doc_count -
missing
API name:missing -
missing
public final RareTermsAggregation.Builder missing(Function<FieldValue.Builder, ObjectBuilder<FieldValue>> fn) API name:missing -
missing
API name:missing -
missing
API name:missing -
missing
API name:missing -
missing
API name:missing -
precision
API name:precision -
valueType
API name:value_type -
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<RareTermsAggregation.Builder>
-
build
Builds aRareTermsAggregation.- Specified by:
buildin interfaceObjectBuilder<RareTermsAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-