Class BulkResponse
java.lang.Object
org.opensearch.client.opensearch.core.BulkResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<BulkResponse> Json deserializer forBulkResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanerrors()Required - API name:errorsfinal LongAPI name:ingest_tookfinal List<BulkResponseItem> items()Required - API name:itemsstatic BulkResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longtook()Required - API name:tookMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
Json deserializer forBulkResponse
-
-
Method Details
-
of
-
errors
public final boolean errors()Required - API name:errors -
items
Required - API name:items -
took
public final long took()Required - API name:took -
ingestTook
API name:ingest_took -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupBulkResponseDeserializer
-