org.elasticsearch.action.terms
Class TransportTermsAction
java.lang.Object
org.elasticsearch.util.component.AbstractComponent
org.elasticsearch.action.support.BaseAction<Request,Response>
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
org.elasticsearch.action.terms.TransportTermsAction
- All Implemented Interfaces:
- Action<TermsRequest,TermsResponse>
public class TransportTermsAction
- extends TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportTermsAction
@Inject
public TransportTermsAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService)
newResponse
protected TermsResponse newResponse(TermsRequest request,
java.util.concurrent.atomic.AtomicReferenceArray shardsResponses,
ClusterState clusterState)
- Specified by:
newResponse
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
shardOperation
protected org.elasticsearch.action.terms.ShardTermsResponse shardOperation(org.elasticsearch.action.terms.ShardTermsRequest request)
throws ElasticSearchException
- Specified by:
shardOperation
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
- Throws:
ElasticSearchException
transportAction
protected java.lang.String transportAction()
- Specified by:
transportAction
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
transportShardAction
protected java.lang.String transportShardAction()
- Specified by:
transportShardAction
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
newRequest
protected TermsRequest newRequest()
- Specified by:
newRequest
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
newShardRequest
protected org.elasticsearch.action.terms.ShardTermsRequest newShardRequest()
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
newShardRequest
protected org.elasticsearch.action.terms.ShardTermsRequest newShardRequest(ShardRouting shard,
TermsRequest request)
- Specified by:
newShardRequest
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
newShardResponse
protected org.elasticsearch.action.terms.ShardTermsResponse newShardResponse()
- Specified by:
newShardResponse
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>
shards
protected GroupShardsIterator shards(TermsRequest request,
ClusterState clusterState)
- Specified by:
shards
in class TransportBroadcastOperationAction<TermsRequest,TermsResponse,org.elasticsearch.action.terms.ShardTermsRequest,org.elasticsearch.action.terms.ShardTermsResponse>