Class ClusterStatistics
java.lang.Object
co.elastic.clients.elasticsearch._types.ClusterStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterStatistics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterStatistics.BuilderBuilder forClusterStatistics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterStatistics>_DESERIALIZERJson deserializer forClusterStatistics -
Method Summary
Modifier and Type Method Description static ClusterStatisticsof(java.util.function.Function<ClusterStatistics.Builder,ObjectBuilder<ClusterStatistics>> 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 voidsetupClusterStatisticsDeserializer(ObjectDeserializer<ClusterStatistics.Builder> op)intskipped()Required - API name:skippedintsuccessful()Required - API name:successfuljava.lang.StringtoString()inttotal()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 forClusterStatistics
-
-
Method Details
-
of
public static ClusterStatistics of(java.util.function.Function<ClusterStatistics.Builder,ObjectBuilder<ClusterStatistics>> fn) -
skipped
public final int skipped()Required - API name:skipped -
successful
public final int successful()Required - API name:successful -
total
public final int total()Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupClusterStatisticsDeserializer
protected static void setupClusterStatisticsDeserializer(ObjectDeserializer<ClusterStatistics.Builder> op)
-