Class ShardStatistics
java.lang.Object
co.elastic.clients.elasticsearch._types.ShardStatistics
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardStatistics>Json deserializer forShardStatistics -
Method Summary
Modifier and TypeMethodDescriptionfinal Numberfailed()Required - API name:failedfinal List<ShardFailure>failures()API name:failuresstatic ShardStatisticsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Numberskipped()API name:skippedfinal NumberRequired - Indicates how many shards have successfully run the search.toString()final Numbertotal()Required - Indicates how many shards the search will run on overall.
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStatistics
-
-
Method Details
-
of
public static ShardStatistics of(Function<ShardStatistics.Builder, ObjectBuilder<ShardStatistics>> fn) -
failed
Required - API name:failed -
successful
Required - Indicates how many shards have successfully run the search.API name:
successful -
total
Required - Indicates how many shards the search will run on overall.API name:
total -
failures
API name:failures -
skipped
API name:skipped -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShardStatisticsDeserializer
protected static void setupShardStatisticsDeserializer(ObjectDeserializer<ShardStatistics.Builder> op)
-