Class FieldTypes.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FieldTypes.Builder>
co.elastic.clients.elasticsearch.cluster.stats.FieldTypes.Builder
- All Implemented Interfaces:
WithJson<FieldTypes.Builder>,ObjectBuilder<FieldTypes>
- Enclosing class:
- FieldTypes
public static class FieldTypes.Builder
extends WithJsonObjectBuilderBase<FieldTypes.Builder>
implements ObjectBuilder<FieldTypes>
Builder for
FieldTypes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFieldTypes.final FieldTypes.Buildercount(int value) Required - The number of occurrences of the field type in selected nodes.final FieldTypes.BuilderindexCount(int value) Required - The number of indices containing the field type in selected nodes.final FieldTypes.BuilderindexedVectorCount(Long value) For dense_vector field types, number of indexed vector types in selected nodes.final FieldTypes.BuilderindexedVectorDimMax(Long value) For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.final FieldTypes.BuilderindexedVectorDimMin(Long value) For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.final FieldTypes.BuilderRequired - The name for the field type in selected nodes.final FieldTypes.BuilderscriptCount(Integer value) The number of fields that declare a script.protected FieldTypes.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
-
name
Required - The name for the field type in selected nodes.API name:
name -
count
Required - The number of occurrences of the field type in selected nodes.API name:
count -
indexCount
Required - The number of indices containing the field type in selected nodes.API name:
index_count -
indexedVectorCount
For dense_vector field types, number of indexed vector types in selected nodes.API name:
indexed_vector_count -
indexedVectorDimMax
For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.API name:
indexed_vector_dim_max -
indexedVectorDimMin
For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.API name:
indexed_vector_dim_min -
scriptCount
The number of fields that declare a script.API name:
script_count -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FieldTypes.Builder>
-
build
Builds aFieldTypes.- Specified by:
buildin interfaceObjectBuilder<FieldTypes>- Throws:
NullPointerException- if some of the required fields are null.
-