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 Constructor Description Builder() -
Method Summary
Methods 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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exclude
API name:exclude -
exclude
public final RareTermsAggregation.Builder exclude(java.util.function.Function<TermsExclude.Builder,ObjectBuilder<TermsExclude>> fn)API name:exclude -
field
API name:field -
include
API name:include -
include
public final RareTermsAggregation.Builder include(java.util.function.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(java.util.function.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:
java.lang.NullPointerException- if some of the required fields are null.
-