Class BulkResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.BulkResponse
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<BulkResponse>Json deserializer forBulkResponse
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forBulkResponse
 
- 
- 
Method Details- 
of
- 
errorspublic final boolean errors()Required - Iftrue, one or more of the operations in the bulk request did not complete successfully.API name: errors
- 
itemsRequired - The result of each operation in the bulk request, in the order they were submitted.API name: items
- 
tookpublic final long took()Required - The length of time, in milliseconds, it took to process the bulk request.API name: took
- 
ingestTookAPI name:ingest_took
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupBulkResponseDeserializer
 
-