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(Integer value) For dense_vector field types, number of indexed vector types in selected nodes.final FieldTypes.BuilderindexedVectorDimMax(Integer value) For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.final FieldTypes.BuilderindexedVectorDimMin(Integer 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()final FieldTypes.BuildervectorElementTypeCount(String key, Integer value) For dense_vector field types, count of mappings by element typefinal FieldTypes.BuilderFor dense_vector field types, count of mappings by element typefinal FieldTypes.BuildervectorIndexTypeCount(String key, Integer value) For dense_vector field types, count of mappings by index typefinal FieldTypes.BuildervectorIndexTypeCount(Map<String, Integer> map) For dense_vector field types, count of mappings by index typefinal FieldTypes.BuildervectorSimilarityTypeCount(String key, Integer value) For dense_vector field types, count of mappings by similarityfinal FieldTypes.BuilderFor dense_vector field types, count of mappings by similarityMethods 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 -
vectorIndexTypeCount
For dense_vector field types, count of mappings by index typeAPI name:
vector_index_type_countAdds all entries of
maptovectorIndexTypeCount. -
vectorIndexTypeCount
For dense_vector field types, count of mappings by index typeAPI name:
vector_index_type_countAdds an entry to
vectorIndexTypeCount. -
vectorSimilarityTypeCount
For dense_vector field types, count of mappings by similarityAPI name:
vector_similarity_type_countAdds all entries of
maptovectorSimilarityTypeCount. -
vectorSimilarityTypeCount
For dense_vector field types, count of mappings by similarityAPI name:
vector_similarity_type_countAdds an entry to
vectorSimilarityTypeCount. -
vectorElementTypeCount
For dense_vector field types, count of mappings by element typeAPI name:
vector_element_type_countAdds all entries of
maptovectorElementTypeCount. -
vectorElementTypeCount
For dense_vector field types, count of mappings by element typeAPI name:
vector_element_type_countAdds an entry to
vectorElementTypeCount. -
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.
-