Class BulkError
java.lang.Object
co.elastic.clients.elasticsearch.security.BulkError
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<BulkError>Json deserializer forBulkError -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - The number of errorsfinal Map<String,ErrorCause> details()Required - Details about the errors, keyed by role namestatic BulkErrorvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forBulkError
-
-
Method Details
-
of
-
count
public final int count()Required - The number of errorsAPI name:
count -
details
Required - Details about the errors, keyed by role nameAPI name:
details -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupBulkErrorDeserializer
-