Class ShardStatistics
java.lang.Object
co.elastic.clients.elasticsearch._types.ShardStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardStatistics extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardStatistics.BuilderBuilder forShardStatistics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardStatistics>_DESERIALIZERJson deserializer forShardStatistics -
Constructor Summary
Constructors Constructor Description ShardStatistics(ShardStatistics.Builder builder)ShardStatistics(java.util.function.Function<ShardStatistics.Builder,ShardStatistics.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Numberfailed()Required - API name:failedjava.util.List<ShardFailure>failures()API name:failuresvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardStatisticsDeserializer(DelegatingDeserializer<ShardStatistics.Builder> op)java.lang.Numberskipped()API name:skippedjava.lang.Numbersuccessful()Required - API name:successfuljava.lang.Numbertotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStatistics
-
-
Constructor Details
-
ShardStatistics
-
ShardStatistics
public ShardStatistics(java.util.function.Function<ShardStatistics.Builder,ShardStatistics.Builder> fn)
-
-
Method Details
-
failed
public java.lang.Number failed()Required - API name:failed -
successful
public java.lang.Number successful()Required - API name:successful -
total
public java.lang.Number total()Required - API name:total -
failures
API name:failures -
skipped
@Nullable public java.lang.Number skipped()API name:skipped -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardStatisticsDeserializer
protected static void setupShardStatisticsDeserializer(DelegatingDeserializer<ShardStatistics.Builder> op)
-