Class ShardsTotalStats
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardsTotalStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardsTotalStats>
Json deserializer forShardsTotalStats
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShardsTotalStats
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
toString()
final long
Required - API name:total_count
-
Field Details
-
_DESERIALIZER
Json deserializer forShardsTotalStats
-
-
Method Details
-
of
public static ShardsTotalStats of(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
-
toString
-
setupShardsTotalStatsDeserializer
protected static void setupShardsTotalStatsDeserializer(ObjectDeserializer<ShardsTotalStats.Builder> op)
-