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 class
ShardStatistics.Builder
Builder forShardStatistics
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardStatistics>
_DESERIALIZER
Json deserializer forShardStatistics
-
Method Summary
Modifier and Type Method Description java.lang.Number
failed()
Required - API name:failed
java.util.List<ShardFailure>
failures()
API name:failures
static ShardStatistics
of(java.util.function.Function<ShardStatistics.Builder,ObjectBuilder<ShardStatistics>> 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
setupShardStatisticsDeserializer(ObjectDeserializer<ShardStatistics.Builder> op)
java.lang.Number
skipped()
API name:skipped
java.lang.Number
successful()
Required - API name:successful
java.lang.String
toString()
java.lang.Number
total()
Required - API name:total
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupShardStatisticsDeserializer
protected static void setupShardStatisticsDeserializer(ObjectDeserializer<ShardStatistics.Builder> op)
-