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 boolean
errors()
Required - Iftrue
, one or more of the operations in the bulk request did not complete successfully.final Long
API name:ingest_took
final List<BulkResponseItem>
items()
Required - The result of each operation in the bulk request, in the order they were submitted.static BulkResponse
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
final long
took()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupBulkResponseDeserializer
-