org.elasticsearch.action.deletebyquery
Class TransportShardDeleteByQueryAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
org.elasticsearch.action.deletebyquery.TransportShardDeleteByQueryAction
- All Implemented Interfaces:
- Action<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
public class TransportShardDeleteByQueryAction
- extends TransportShardReplicationOperationAction<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,ShardDeleteByQueryResponse>
executor
protected java.lang.String executor()
- Specified by:
executor
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
newRequestInstance
protected ShardDeleteByQueryRequest newRequestInstance()
- Specified by:
newRequestInstance
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
newResponseInstance
protected ShardDeleteByQueryResponse newResponseInstance()
- Specified by:
newResponseInstance
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
checkBlock
protected void checkBlock(ShardDeleteByQueryRequest request,
ClusterState state)
- Overrides:
checkBlock
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
shardOperationOnPrimary
protected TransportShardReplicationOperationAction.PrimaryResponse<ShardDeleteByQueryResponse> shardOperationOnPrimary(ClusterState clusterState,
TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnPrimary
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
shardOperationOnReplica
protected void shardOperationOnReplica(TransportShardReplicationOperationAction.ShardOperationRequest shardRequest)
- Specified by:
shardOperationOnReplica
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>
shards
protected ShardIterator shards(ClusterState clusterState,
ShardDeleteByQueryRequest request)
- Specified by:
shards
in class TransportShardReplicationOperationAction<ShardDeleteByQueryRequest,ShardDeleteByQueryResponse>