Module org.elasticsearch.server
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
Future
allowing for simplified "get" operations.ActionListener<Response>A listener for action responses or failures.ActionListenerResponseHandler<Response extends TransportResponse>An adapter for handling transport responses using anActionListener
.Builds and binds the generic action map, allTransportAction
s, andActionFilters
.This class is similar to ActionRequestBuilder, except that it does not build the request until the request() method is called.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>An action which can be invoked byElasticsearchClient.execute(org.elasticsearch.action.ActionType<Response>, Request)
.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.DelegatingActionListener<Response,DelegateResponse> A wrapper around anActionListener
L
that by default delegates failures toL
'sActionListener.onFailure(java.lang.Exception)
method.Generic interface to group ActionRequest, which perform writes to a single document Action requests implementing this can be part ofBulkRequest
Requested operation type to perform on the documentA base class for the response of a write operation that involves a single docBase class of allDocWriteResponse
builders.An enum that represents the results of CRUD operations, primarily used to communicate the type of operation that occurred.Needs to be implemented by allActionRequest
subclasses that relate to one or more indices.This subtype of request is for requests which may travel to remote clusters.For use cases where a Request instance cannot implement Replaceable due to not supporting wildcards and only supporting a single index at a time, this is an alternative interface that the security layer checks against to determine if remote indices are allowed for that Request type.An action listener that allows passing in aCountDownLatch
that will be counted down after onResponse or onFailure is calledUsed to keep track of original indices within internal (e.g.Indicates that a request can execute in realtime (reads from the translog).RemoteClusterActionType<Response extends TransportResponse>RequestBuilder<Request,Response extends RefCounted> 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 anActionListener
such that multiple invocations ofSingleResultDeduplicator.execute(ActionListener)
can share the result from a single call to the wrapped action.Information about task operation failures The class is final due to serialization limitations