Class IndicesStats
java.lang.Object
org.opensearch.client.opensearch.indices.stats.IndicesStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndicesStats.Builder,IndicesStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndicesStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndicesStats.Builder,IndicesStats>
The statistics for specific indexes.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndicesStats> Json deserializer forIndicesStats -
Method Summary
Modifier and TypeMethodDescriptionstatic IndicesStats.Builderbuilder()booleaninthashCode()static IndicesStatsfinal IndexStatsRequired - API name:primariesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Map<String, List<IndexShardStats>> shards()The statistics for individual shards.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final IndexStatstotal()Required - API name:totalfinal Stringuuid()Required - API name:uuidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forIndicesStats
-
-
Method Details
-
of
-
primaries
Required - API name:primaries -
shards
The statistics for individual shards.API name:
shards -
total
Required - API name:total -
uuid
Required - API name:uuid -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndicesStats.Builder,IndicesStats> - Returns:
- a new builder instance.
-
builder
-
setupIndicesStatsDeserializer
-
hashCode
public int hashCode() -
equals
-