Class UpdateByQueryResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.UpdateByQueryResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class UpdateByQueryResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateByQueryResponse.Builder
Builder forUpdateByQueryResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<UpdateByQueryResponse>
_DESERIALIZER
Json deserializer forUpdateByQueryResponse
-
Method Summary
Modifier and Type Method Description java.lang.Long
batches()
API name:batches
java.lang.Long
deleted()
API name:deleted
java.util.List<BulkIndexByScrollFailure>
failures()
API name:failures
java.lang.Long
noops()
API name:noops
static UpdateByQueryResponse
of(java.util.function.Function<UpdateByQueryResponse.Builder,ObjectBuilder<UpdateByQueryResponse>> fn)
java.lang.Float
requestsPerSecond()
API name:requests_per_second
Retries
retries()
API name:retries
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupUpdateByQueryResponseDeserializer(ObjectDeserializer<UpdateByQueryResponse.Builder> op)
java.lang.String
task()
API name:task
Time
throttled()
API name:throttled
java.lang.Long
throttledMillis()
API name:throttled_millis
Time
throttledUntil()
API name:throttled_until
java.lang.Long
throttledUntilMillis()
API name:throttled_until_millis
java.lang.Boolean
timedOut()
API name:timed_out
java.lang.Long
took()
API name:took
java.lang.String
toString()
java.lang.Long
total()
API name:total
java.lang.Long
updated()
API name:updated
java.lang.Long
versionConflicts()
API name:version_conflicts
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdateByQueryResponse
-
-
Method Details
-
of
public static UpdateByQueryResponse of(java.util.function.Function<UpdateByQueryResponse.Builder,ObjectBuilder<UpdateByQueryResponse>> fn) -
batches
@Nullable public final java.lang.Long batches()API name:batches
-
failures
API name:failures
-
noops
@Nullable public final java.lang.Long noops()API name:noops
-
deleted
@Nullable public final java.lang.Long deleted()API name:deleted
-
requestsPerSecond
@Nullable public final java.lang.Float requestsPerSecond()API name:requests_per_second
-
retries
API name:retries
-
task
@Nullable public final java.lang.String task()API name:task
-
timedOut
@Nullable public final java.lang.Boolean timedOut()API name:timed_out
-
took
@Nullable public final java.lang.Long took()API name:took
-
total
@Nullable public final java.lang.Long total()API name:total
-
updated
@Nullable public final java.lang.Long updated()API name:updated
-
versionConflicts
@Nullable public final java.lang.Long versionConflicts()API name:version_conflicts
-
throttled
API name:throttled
-
throttledMillis
@Nullable public final java.lang.Long throttledMillis()API name:throttled_millis
-
throttledUntil
API name:throttled_until
-
throttledUntilMillis
@Nullable public final java.lang.Long throttledUntilMillis()API name:throttled_until_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupUpdateByQueryResponseDeserializer
protected static void setupUpdateByQueryResponseDeserializer(ObjectDeserializer<UpdateByQueryResponse.Builder> op)
-