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