org.elasticsearch.action.deletebyquery
Class TransportShardDeleteByQueryAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
org.elasticsearch.action.deletebyquery.TransportShardDeleteByQueryAction
public class TransportShardDeleteByQueryAction
- extends TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportShardDeleteByQueryAction
@Inject
public TransportShardDeleteByQueryAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
IndicesService indicesService,
ThreadPool threadPool,
ShardStateAction shardStateAction)
checkWriteConsistency
protected boolean checkWriteConsistency()
- Specified by:
checkWriteConsistency
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
executor
protected String executor()
- Specified by:
executor
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
newRequestInstance
protected ShardDeleteByQueryRequest newRequestInstance()
- Specified by:
newRequestInstance
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
newReplicaRequestInstance
protected ShardDeleteByQueryRequest newReplicaRequestInstance()
- Specified by:
newReplicaRequestInstance
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
newResponseInstance
protected ShardDeleteByQueryResponse newResponseInstance()
- Specified by:
newResponseInstance
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
transportAction
protected String transportAction()
- Specified by:
transportAction
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
checkGlobalBlock
protected ClusterBlockException checkGlobalBlock(ClusterState state,
ShardDeleteByQueryRequest request)
- Specified by:
checkGlobalBlock
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ClusterState state,
ShardDeleteByQueryRequest request)
- Specified by:
checkRequestBlock
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
shardOperationOnPrimary
protected TransportShardReplicationOperationAction.PrimaryResponse<ShardDeleteByQueryResponse,ShardDeleteByQueryRequest> shardOperationOnPrimary(ClusterState clusterState,
TransportShardReplicationOperationAction.PrimaryOperationRequest shardRequest)
- Specified by:
shardOperationOnPrimary
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
shardOperationOnReplica
protected void shardOperationOnReplica(TransportShardReplicationOperationAction.ReplicaOperationRequest shardRequest)
- Specified by:
shardOperationOnReplica
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
shards
protected ShardIterator shards(ClusterState clusterState,
ShardDeleteByQueryRequest request)
- Specified by:
shards
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
Copyright © 2009-2012. All Rights Reserved.