Class ShardStatistics
java.lang.Object
co.elastic.clients.elasticsearch._types.ShardStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardStatistics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description java.lang.Numberfailed()Required - API name:failedjava.util.List<ShardFailure>failures()API name:failuresstatic ShardStatisticsof(java.util.function.Function<ShardStatistics.Builder,ObjectBuilder<ShardStatistics>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardStatisticsDeserializer(ObjectDeserializer<ShardStatistics.Builder> op)java.lang.Numberskipped()API name:skippedjava.lang.Numbersuccessful()Required - API name:successfuljava.lang.StringtoString()java.lang.Numbertotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStatistics
-
-
Method Details
-
of
public static ShardStatistics of(java.util.function.Function<ShardStatistics.Builder,ObjectBuilder<ShardStatistics>> fn) -
failed
public final java.lang.Number failed()Required - API name:failed -
successful
public final java.lang.Number successful()Required - API name:successful -
total
public final java.lang.Number total()Required - API name:total -
failures
API name:failures -
skipped
@Nullable public final java.lang.Number skipped()API name:skipped -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupShardStatisticsDeserializer
protected static void setupShardStatisticsDeserializer(ObjectDeserializer<ShardStatistics.Builder> op)
-