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 int
count()
Required - The number of errorsfinal Map<String,
ErrorCause> details()
Required - Details about the errors, keyed by role namestatic BulkError
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
toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupBulkErrorDeserializer
-