Package org.opensearch.action
package org.opensearch.action
Actions that OpenSearch can take either on the data stored on disk or on other nodes.
-
ClassDescriptionActionListenerResponseHandler<Response extends org.opensearch.core.transport.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
.The DynamicActionRegistry maintains a registry mappingActionType
instances toTransportAction
instances.Base action requestActionRequestBuilder<Request extends ActionRequest,Response extends org.opensearch.core.action.ActionResponse> Base Action Request BuilderBase exception for an action request validationActionRunnable<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 org.opensearch.core.action.ActionResponse>A generic action.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
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.Base exception for a failed nodeNeeds to be implemented by allActionRequest
subclasses that relate to one or more indices.Replaceable interface.An action listener that allows passing in aCountDownLatch
that will be counted down after onResponse or onFailure is calledAnActionFuture
that listeners can be added to.Base exception for no shard availableBase exception for no node foundUsed to keep track of original indices within internal (e.g.Base exception for a missing action on a primaryIndicates that a request can execute in realtime (reads from the translog).RequestValidators<T extends ActionRequest>Validates transport requestsRequestValidators.RequestValidator<T extends ActionRequest>A validator that validates an request associated with indices before executing it.Base exception for a missing routingStepListener<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 limitationsThreading modelBase exception for a failed timestamp parseTransportActionNodeProxy<Request extends ActionRequest,Response extends org.opensearch.core.action.ActionResponse> A generic proxy that will execute the given action against a specific node.Base exception for shards unavailableValidates transport actions