Class IndexingStats
java.lang.Object
org.opensearch.client.opensearch._types.IndexingStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexingStats.Builder,IndexingStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexingStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexingStats.Builder,IndexingStats>
The statistics about indexing operations.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexingStats> Json deserializer forIndexingStats -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexingStats.Builderbuilder()final longRequired - The number of current delete operations.final TimeAPI name:delete_timefinal longRequired - API name:delete_time_in_millisfinal longRequired - The total number of delete operations.final DocStatusAPI name:doc_statusbooleaninthashCode()final longRequired - The number of current indexing operations.final longRequired - The number of failed indexing operations.final TimeThe total amount of time spent on indexing operations.final longRequired - The total amount of time spent on indexing operations in milliseconds.final longRequired - The total number of indexing operations.final booleanRequired - Whether indexing is currently throttled.final longRequired - The total number of noop update operations.static IndexingStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal TimeThe total amount of time spent throttling indexing operations.final longRequired - The total amount of time spent throttling indexing operations in milliseconds.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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 forIndexingStats
-
-
Method Details
-
of
-
deleteCurrent
public final long deleteCurrent()Required - The number of current delete operations.API name:
delete_current -
deleteTime
API name:delete_time -
deleteTimeInMillis
public final long deleteTimeInMillis()Required - API name:delete_time_in_millis -
deleteTotal
public final long deleteTotal()Required - The total number of delete operations.API name:
delete_total -
docStatus
API name:doc_status -
indexCurrent
public final long indexCurrent()Required - The number of current indexing operations.API name:
index_current -
indexFailed
public final long indexFailed()Required - The number of failed indexing operations.API name:
index_failed -
indexTime
The total amount of time spent on indexing operations.API name:
index_time -
indexTimeInMillis
public final long indexTimeInMillis()Required - The total amount of time spent on indexing operations in milliseconds.API name:
index_time_in_millis -
indexTotal
public final long indexTotal()Required - The total number of indexing operations.API name:
index_total -
isThrottled
public final boolean isThrottled()Required - Whether indexing is currently throttled.API name:
is_throttled -
noopUpdateTotal
public final long noopUpdateTotal()Required - The total number of noop update operations.API name:
noop_update_total -
throttleTime
The total amount of time spent throttling indexing operations.API name:
throttle_time -
throttleTimeInMillis
public final long throttleTimeInMillis()Required - The total amount of time spent throttling indexing operations in milliseconds.API name:
throttle_time_in_millis -
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<IndexingStats.Builder,IndexingStats> - Returns:
- a new builder instance.
-
builder
-
setupIndexingStatsDeserializer
-
hashCode
public int hashCode() -
equals
-