Class MultiTermLookup.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<MultiTermLookup.Builder>
co.elastic.clients.elasticsearch._types.aggregations.MultiTermLookup.Builder
- All Implemented Interfaces:
WithJson<MultiTermLookup.Builder>,ObjectBuilder<MultiTermLookup>
- Enclosing class:
- MultiTermLookup
public static class MultiTermLookup.Builder
extends WithJsonObjectBuilderBase<MultiTermLookup.Builder>
implements ObjectBuilder<MultiTermLookup>
Builder for
MultiTermLookup.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMultiTermLookup.final MultiTermLookup.BuilderRequired - A fields from which to retrieve terms.final MultiTermLookup.Buildermissing(boolean value) The value to apply to documents that do not have a value.final MultiTermLookup.Buildermissing(double value) The value to apply to documents that do not have a value.final MultiTermLookup.Buildermissing(long value) The value to apply to documents that do not have a value.final MultiTermLookup.Buildermissing(FieldValue value) The value to apply to documents that do not have a value.final MultiTermLookup.BuilderThe value to apply to documents that do not have a value.final MultiTermLookup.BuilderThe value to apply to documents that do not have a value.protected MultiTermLookup.Builderself()Methods 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
-
field
Required - A fields from which to retrieve terms.API name:
field -
missing
The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
missing
public final MultiTermLookup.Builder missing(Function<FieldValue.Builder, ObjectBuilder<FieldValue>> fn) The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
missing
The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
missing
The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
missing
The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
missing
The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<MultiTermLookup.Builder>
-
build
Builds aMultiTermLookup.- Specified by:
buildin interfaceObjectBuilder<MultiTermLookup>- Throws:
NullPointerException- if some of the required fields are null.
-