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