Class SparseVectorProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<SparseVectorProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.SparseVectorProperty.Builder
- All Implemented Interfaces:
WithJson<SparseVectorProperty.Builder>,ObjectBuilder<SparseVectorProperty>
- Enclosing class:
- SparseVectorProperty
public static class SparseVectorProperty.Builder
extends PropertyBase.AbstractBuilder<SparseVectorProperty.Builder>
implements ObjectBuilder<SparseVectorProperty>
Builder for
SparseVectorProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSparseVectorProperty.Additional index options for the sparse vector field that controls the token pruning behavior of the sparse vector field.Additional index options for the sparse vector field that controls the token pruning behavior of the sparse vector field.protected SparseVectorProperty.Builderself()API name:storeMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, properties, syntheticSourceKeepMethods 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
-
store
API name:store -
indexOptions
Additional index options for the sparse vector field that controls the token pruning behavior of the sparse vector field.API name:
index_options -
indexOptions
public final SparseVectorProperty.Builder indexOptions(Function<SparseVectorIndexOptions.Builder, ObjectBuilder<SparseVectorIndexOptions>> fn) Additional index options for the sparse vector field that controls the token pruning behavior of the sparse vector field.API name:
index_options -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<SparseVectorProperty.Builder>
-
build
Builds aSparseVectorProperty.- Specified by:
buildin interfaceObjectBuilder<SparseVectorProperty>- Throws:
NullPointerException- if some of the required fields are null.
-