Package org.elasticsearch.action
package org.elasticsearch.action
Actions that Elasticsearch can take either on the data stored on disk or on other nodes.
-
ClassDescriptionActionFuture<T>An extension to
Futureallowing for simplified "get" operations.ActionListener<Response>A listener for action responses or failures.ActionListener.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, allTransportActions, andActionFilters.Base class for responses to action requests.ActionRunnable<Response>Base class forRunnables 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.Needs to be implemented by allActionRequestsubclasses that relate to one or more indices and one or more aliases.Marker interface that needs to be implemented by allActionRequestsubclasses 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 ofBulkRequestRequested operation type to perform on the documentA base class for the response of a write operation that involves a single docBase class of allDocWriteResponsebuilders.An enum that represents the results of CRUD operations, primarily used to communicate the type of operation that occurred.Needs to be implemented by allActionRequestsubclasses that relate to one or more indices.An action listener that allows passing in aCountDownLatchthat 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.Indicates that a request can execute in realtime (reads from the translog).RequestValidators<T extends ActionRequest>RequestValidators.RequestValidator<T extends ActionRequest>A validator that validates an request associated with indices before executing it.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.An exception indicating that a failure occurred performing an operation on the shard.Wraps an async action that consumes anActionListenersuch that multiple invocations ofSingleResultDeduplicator.execute(ActionListener)can share the result from a single call to the wrapped action.StepListener<Response>AStepListenerprovides 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.