org.elasticsearch.action.deletebyquery
Class TransportDeleteByQueryAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.replication.TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
org.elasticsearch.action.deletebyquery.TransportDeleteByQueryAction
- All Implemented Interfaces:
- Action<DeleteByQueryRequest,DeleteByQueryResponse>
public class TransportDeleteByQueryAction
- extends TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportDeleteByQueryAction
@Inject
public TransportDeleteByQueryAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
ThreadPool threadPool,
TransportIndexDeleteByQueryAction indexDeleteByQueryAction)
newRequestInstance
protected DeleteByQueryRequest newRequestInstance()
- Specified by:
newRequestInstance
in class TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
newResponseInstance
protected DeleteByQueryResponse newResponseInstance(DeleteByQueryRequest request,
java.util.concurrent.atomic.AtomicReferenceArray indexResponses)
- Specified by:
newResponseInstance
in class TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
accumulateExceptions
protected boolean accumulateExceptions()
- Specified by:
accumulateExceptions
in class TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
checkBlock
protected void checkBlock(DeleteByQueryRequest request,
ClusterState state)
- Overrides:
checkBlock
in class TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
newIndexRequestInstance
protected IndexDeleteByQueryRequest newIndexRequestInstance(DeleteByQueryRequest request,
java.lang.String index)
- Specified by:
newIndexRequestInstance
in class TransportIndicesReplicationOperationAction<DeleteByQueryRequest,DeleteByQueryResponse,IndexDeleteByQueryRequest,IndexDeleteByQueryResponse,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>