Package org.elasticsearch.action
package org.elasticsearch.action
Actions that Elasticsearch can take either on the data stored on disk or on other nodes.
-
InterfaceDescriptionActionFuture<T>An extension to
Future
allowing for simplified "get" operations.ActionListener<Response>A listener for action responses or failures.Needs to be implemented by allActionRequest
subclasses that relate to one or more indices and one or more aliases.Marker interface that needs to be implemented by allActionRequest
subclasses that are composed of multiple sub-requests which relate to one or more indices.Generic interface to group ActionRequest, which perform writes to a single document Action requests implementing this can be part ofBulkRequest
Needs to be implemented by allActionRequest
subclasses that relate to one or more indices.Indicates that a request can execute in realtime (reads from the translog).RequestValidators.RequestValidator<T extends ActionRequest>A validator that validates an request associated with indices before executing it. -
ClassDescriptionActionListener.Delegating<Response,DelegateResponse>ActionListener.MappedActionListener<Response,MappedResponse>ActionListenerResponseHandler<Response extends TransportResponse>A simple base class for action response listeners, defaulting to using the SAME executor (as its very common on response handlers).Builds and binds the generic action map, all
TransportAction
s, andActionFilters
.Base class for responses to action requests.ActionRunnable<Response>Base class forRunnable
s that need to callActionListener.onFailure(Exception)
in case an uncaught exception or error is thrown while the actual action is run.ActionType<Response extends ActionResponse>A generic action.A base class for the response of a write operation that involves a single docBase class of allDocWriteResponse
builders.An action listener that allows passing in aCountDownLatch
that will be counted down after onResponse or onFailure is calledNotifyOnceListener<Response>A listener that ensures that only one of onResponse or onFailure is called.Used to keep track of original indices within internal (e.g.RequestValidators<T extends ActionRequest>ResultDeduplicator<T,R>Deduplicator for arbitrary keys and results that can be used to ensure a given action is only executed once at a time for a given request.StepListener<Response>AStepListener
provides a simple way to write a flow consisting of multiple asynchronous steps without having nested callbacks.Information about task operation failures The class is final due to serialization limitationsA generic proxy that will execute the given action against a specific node. -
Enum ClassDescriptionRequested operation type to perform on the documentAn enum that represents the results of CRUD operations, primarily used to communicate the type of operation that occurred.
-
ExceptionDescriptionAn exception indicating that a failure occurred performing an operation on the shard.