Class IndexHealthStats
java.lang.Object
co.elastic.clients.elasticsearch.cluster.health.IndexHealthStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class IndexHealthStats extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexHealthStats.BuilderBuilder forIndexHealthStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexHealthStats>_DESERIALIZERJson deserializer forIndexHealthStats -
Constructor Summary
Constructors Constructor Description IndexHealthStats(IndexHealthStats.Builder builder)IndexHealthStats(java.util.function.Function<IndexHealthStats.Builder,IndexHealthStats.Builder> fn) -
Method Summary
Modifier and Type Method Description intactivePrimaryShards()Required - API name:active_primary_shardsintactiveShards()Required - API name:active_shardsintinitializingShards()Required - API name:initializing_shardsintnumberOfReplicas()Required - API name:number_of_replicasintnumberOfShards()Required - API name:number_of_shardsintrelocatingShards()Required - API name:relocating_shardsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexHealthStatsDeserializer(DelegatingDeserializer<IndexHealthStats.Builder> op)java.util.Map<java.lang.String,ShardHealthStats>shards()API name:shardsHealthstatus()Required - API name:statusintunassignedShards()Required - API name:unassigned_shardsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexHealthStats
-
-
Constructor Details
-
IndexHealthStats
-
IndexHealthStats
public IndexHealthStats(java.util.function.Function<IndexHealthStats.Builder,IndexHealthStats.Builder> fn)
-
-
Method Details
-
activePrimaryShards
public int activePrimaryShards()Required - API name:active_primary_shards -
activeShards
public int activeShards()Required - API name:active_shards -
initializingShards
public int initializingShards()Required - API name:initializing_shards -
numberOfReplicas
public int numberOfReplicas()Required - API name:number_of_replicas -
numberOfShards
public int numberOfShards()Required - API name:number_of_shards -
relocatingShards
public int relocatingShards()Required - API name:relocating_shards -
shards
API name:shards -
status
Required - API name:status -
unassignedShards
public int unassignedShards()Required - API name:unassigned_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupIndexHealthStatsDeserializer
protected static void setupIndexHealthStatsDeserializer(DelegatingDeserializer<IndexHealthStats.Builder> op)
-