Class GetStats
java.lang.Object
org.opensearch.client.opensearch._types.GetStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetStats.Builder,GetStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetStats.Builder,GetStats>
The statistics about get operations.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetStats> Json deserializer forGetStats -
Method Summary
Modifier and TypeMethodDescriptionstatic GetStats.Builderbuilder()final longcurrent()Required - The number of current get operations.booleanfinal TimeAPI name:exists_timefinal longRequired - API name:exists_time_in_millisfinal longRequired - The total number of successful get operations.inthashCode()final TimeAPI name:missing_timefinal longRequired - API name:missing_time_in_millisfinal longRequired - The total number of failed get operations due to missing documents.static GetStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetime()API name:timefinal longRequired - API name:time_in_millisCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final longtotal()Required - The total number of get operations.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGetStats
-
-
Method Details
-
of
-
current
public final long current()Required - The number of current get operations.API name:
current -
existsTime
API name:exists_time -
existsTimeInMillis
public final long existsTimeInMillis()Required - API name:exists_time_in_millis -
existsTotal
public final long existsTotal()Required - The total number of successful get operations.API name:
exists_total -
missingTime
API name:missing_time -
missingTimeInMillis
public final long missingTimeInMillis()Required - API name:missing_time_in_millis -
missingTotal
public final long missingTotal()Required - The total number of failed get operations due to missing documents.API name:
missing_total -
time
API name:time -
timeInMillis
public final long timeInMillis()Required - API name:time_in_millis -
total
public final long total()Required - The total number of get operations.API name:
total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetStats.Builder,GetStats> - Returns:
- a new builder instance.
-
builder
-
setupGetStatsDeserializer
-
hashCode
public int hashCode() -
equals
-