org.elasticsearch.action.get
Class TransportGetAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.TransportAction<Request,Response>
          extended by org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction<GetRequest,GetResponse>
              extended by org.elasticsearch.action.get.TransportGetAction

public class TransportGetAction
extends TransportShardSingleOperationAction<GetRequest,GetResponse>

Performs the get operation.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction
TransportShardSingleOperationAction.ShardSingleOperationRequest
 
Field Summary
 
Fields inherited from class org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction
clusterService, transportService
 
Fields inherited from class org.elasticsearch.action.support.TransportAction
threadPool
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportGetAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool)
           
 
Method Summary
protected  ClusterBlockException checkGlobalBlock(ClusterState state, GetRequest request)
           
protected  ClusterBlockException checkRequestBlock(ClusterState state, GetRequest request)
           
protected  String executor()
           
protected  GetRequest newRequest()
           
protected  GetResponse newResponse()
           
protected  void resolveRequest(ClusterState state, GetRequest request)
           
protected  GetResponse shardOperation(GetRequest request, int shardId)
           
protected  ShardIterator shards(ClusterState state, GetRequest request)
           
protected  String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction
doExecute
 
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
 

Constructor Detail

TransportGetAction

@Inject
public TransportGetAction(Settings settings,
                                 ClusterService clusterService,
                                 TransportService transportService,
                                 IndicesService indicesService,
                                 ThreadPool threadPool)
Method Detail

executor

protected String executor()
Specified by:
executor in class TransportShardSingleOperationAction<GetRequest,GetResponse>

transportAction

protected String transportAction()
Specified by:
transportAction in class TransportShardSingleOperationAction<GetRequest,GetResponse>

checkGlobalBlock

protected ClusterBlockException checkGlobalBlock(ClusterState state,
                                                 GetRequest request)
Specified by:
checkGlobalBlock in class TransportShardSingleOperationAction<GetRequest,GetResponse>

checkRequestBlock

protected ClusterBlockException checkRequestBlock(ClusterState state,
                                                  GetRequest request)
Specified by:
checkRequestBlock in class TransportShardSingleOperationAction<GetRequest,GetResponse>

shards

protected ShardIterator shards(ClusterState state,
                               GetRequest request)
Specified by:
shards in class TransportShardSingleOperationAction<GetRequest,GetResponse>

resolveRequest

protected void resolveRequest(ClusterState state,
                              GetRequest request)
Overrides:
resolveRequest in class TransportShardSingleOperationAction<GetRequest,GetResponse>

shardOperation

protected GetResponse shardOperation(GetRequest request,
                                     int shardId)
                              throws ElasticSearchException
Specified by:
shardOperation in class TransportShardSingleOperationAction<GetRequest,GetResponse>
Throws:
ElasticSearchException

newRequest

protected GetRequest newRequest()
Specified by:
newRequest in class TransportShardSingleOperationAction<GetRequest,GetResponse>

newResponse

protected GetResponse newResponse()
Specified by:
newResponse in class TransportShardSingleOperationAction<GetRequest,GetResponse>


Copyright © 2009-2012. All Rights Reserved.