Class ClusterStatistics
java.lang.Object
co.elastic.clients.elasticsearch._types.ClusterStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ClusterStatistics extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description ClusterStatistics(ClusterStatistics.Builder builder)ClusterStatistics(java.util.function.Function<ClusterStatistics.Builder,ClusterStatistics.Builder> fn) -
Method Summary
Modifier and Type Method Description 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(DelegatingDeserializer<ClusterStatistics.Builder> op)intskipped()Required - API name:skippedintsuccessful()Required - API name:successfulinttotal()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 forClusterStatistics
-
-
Constructor Details
-
ClusterStatistics
-
ClusterStatistics
public ClusterStatistics(java.util.function.Function<ClusterStatistics.Builder,ClusterStatistics.Builder> fn)
-
-
Method Details
-
skipped
public int skipped()Required - API name:skipped -
successful
public int successful()Required - API name:successful -
total
public int total()Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupClusterStatisticsDeserializer
protected static void setupClusterStatisticsDeserializer(DelegatingDeserializer<ClusterStatistics.Builder> op)
-