Class ClusterStatistics
- java.lang.Object
-
- org.opensearch.client.opensearch._types.ClusterStatistics
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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:successfulinttotal()Required - API name:total
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterStatistics> _DESERIALIZER
Json deserializer forClusterStatistics
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupClusterStatisticsDeserializer
protected static void setupClusterStatisticsDeserializer(ObjectDeserializer<ClusterStatistics.Builder> op)
-
-