de.spinscale.elasticsearch.action.suggest.statistics
Class TransportSuggestStatisticsAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
de.spinscale.elasticsearch.action.suggest.statistics.TransportSuggestStatisticsAction
public class TransportSuggestStatisticsAction
- extends org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
| Fields inherited from class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction |
clusterService, threadPool, transportService |
| Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
componentSettings, logger, settings |
|
Constructor Summary |
TransportSuggestStatisticsAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.cluster.ClusterService clusterService,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.indices.IndicesService indicesService)
|
| Methods inherited from class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction |
accumulateExceptions, doExecute, ignoreException, ignoreIllegalShardState, ignoreNonActiveExceptions |
| Methods inherited from class org.elasticsearch.action.support.TransportAction |
execute, execute |
| Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
nodeName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportSuggestStatisticsAction
@Inject
public TransportSuggestStatisticsAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.cluster.ClusterService clusterService,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.indices.IndicesService indicesService)
transportAction
protected String transportAction()
- Specified by:
transportAction in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
executor
protected String executor()
- Specified by:
executor in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
newRequest
protected SuggestStatisticsRequest newRequest()
- Specified by:
newRequest in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
newResponse
protected SuggestStatisticsResponse newResponse(SuggestStatisticsRequest request,
AtomicReferenceArray shardsResponses,
org.elasticsearch.cluster.ClusterState clusterState)
- Specified by:
newResponse in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
newShardRequest
protected ShardSuggestStatisticsRequest newShardRequest()
- Specified by:
newShardRequest in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
newShardRequest
protected ShardSuggestStatisticsRequest newShardRequest(org.elasticsearch.cluster.routing.ShardRouting shard,
SuggestStatisticsRequest request)
- Specified by:
newShardRequest in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
newShardResponse
protected ShardSuggestStatisticsResponse newShardResponse()
- Specified by:
newShardResponse in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
shardOperation
protected ShardSuggestStatisticsResponse shardOperation(ShardSuggestStatisticsRequest request)
throws org.elasticsearch.ElasticSearchException
- Specified by:
shardOperation in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
- Throws:
org.elasticsearch.ElasticSearchException
shards
protected org.elasticsearch.cluster.routing.GroupShardsIterator shards(org.elasticsearch.cluster.ClusterState clusterState,
SuggestStatisticsRequest request,
String[] concreteIndices)
- Specified by:
shards in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
checkGlobalBlock
protected org.elasticsearch.cluster.block.ClusterBlockException checkGlobalBlock(org.elasticsearch.cluster.ClusterState state,
SuggestStatisticsRequest request)
- Specified by:
checkGlobalBlock in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
checkRequestBlock
protected org.elasticsearch.cluster.block.ClusterBlockException checkRequestBlock(org.elasticsearch.cluster.ClusterState state,
SuggestStatisticsRequest request,
String[] concreteIndices)
- Specified by:
checkRequestBlock in class org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction<SuggestStatisticsRequest,SuggestStatisticsResponse,ShardSuggestStatisticsRequest,ShardSuggestStatisticsResponse>
Copyright © 2011-2013. All Rights Reserved.