Class BulkResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.BulkResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<BulkResponse>Json deserializer forBulkResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanerrors()Required - Iftrue, one or more of the operations in the bulk request did not complete successfully.final LongAPI name:ingest_tookfinal List<BulkResponseItem>items()Required - The result of each operation in the bulk request, in the order they were submitted.static 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 - The length of time, in milliseconds, it took to process the bulk request.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forBulkResponse
-
-
Method Details
-
of
-
errors
public final boolean errors()Required - Iftrue, one or more of the operations in the bulk request did not complete successfully.API name:
errors -
items
Required - The result of each operation in the bulk request, in the order they were submitted.API name:
items -
took
public final long took()Required - The length of time, in milliseconds, it took to process the bulk request.API name:
took -
ingestTook
API name:ingest_took -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupBulkResponseDeserializer
-