Class ShardsTotalStats
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardsTotalStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardsTotalStats extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardsTotalStats.BuilderBuilder forShardsTotalStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardsTotalStats>_DESERIALIZERJson deserializer forShardsTotalStats -
Constructor Summary
Constructors Constructor Description ShardsTotalStats(ShardsTotalStats.Builder builder)ShardsTotalStats(java.util.function.Function<ShardsTotalStats.Builder,ShardsTotalStats.Builder> fn) -
Method Summary
Modifier and Type Method Description voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardsTotalStatsDeserializer(DelegatingDeserializer<ShardsTotalStats.Builder> op)longtotalCount()Required - API name:total_countMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardsTotalStats
-
-
Constructor Details
-
ShardsTotalStats
-
ShardsTotalStats
public ShardsTotalStats(java.util.function.Function<ShardsTotalStats.Builder,ShardsTotalStats.Builder> fn)
-
-
Method Details
-
totalCount
public long totalCount()Required - API name:total_count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardsTotalStatsDeserializer
protected static void setupShardsTotalStatsDeserializer(DelegatingDeserializer<ShardsTotalStats.Builder> op)
-