org.elasticsearch.action.count
Class TransportCountAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
org.elasticsearch.action.count.TransportCountAction
public class TransportCountAction
- extends TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportCountAction
@Inject
public TransportCountAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ScriptService scriptService)
executor
protected String executor()
- Specified by:
executor
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
transportAction
protected String transportAction()
- Specified by:
transportAction
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
newRequest
protected CountRequest newRequest()
- Specified by:
newRequest
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
newShardRequest
protected org.elasticsearch.action.count.ShardCountRequest newShardRequest()
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
newShardRequest
protected org.elasticsearch.action.count.ShardCountRequest newShardRequest(ShardRouting shard,
CountRequest request)
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
newShardResponse
protected org.elasticsearch.action.count.ShardCountResponse newShardResponse()
- Specified by:
newShardResponse
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
shards
protected GroupShardsIterator shards(ClusterState clusterState,
CountRequest request,
String[] concreteIndices)
- Specified by:
shards
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
checkGlobalBlock
protected ClusterBlockException checkGlobalBlock(ClusterState state,
CountRequest request)
- Specified by:
checkGlobalBlock
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ClusterState state,
CountRequest countRequest,
String[] concreteIndices)
- Specified by:
checkRequestBlock
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
newResponse
protected CountResponse newResponse(CountRequest request,
AtomicReferenceArray shardsResponses,
ClusterState clusterState)
- Specified by:
newResponse
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
shardOperation
protected org.elasticsearch.action.count.ShardCountResponse shardOperation(org.elasticsearch.action.count.ShardCountRequest request)
throws ElasticSearchException
- Specified by:
shardOperation
in class TransportBroadcastOperationAction<CountRequest,CountResponse,org.elasticsearch.action.count.ShardCountRequest,org.elasticsearch.action.count.ShardCountResponse>
- Throws:
ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.