org.elasticsearch.action.get
Class TransportGetAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.BaseAction<Request,Response>
          extended by org.elasticsearch.action.support.single.TransportSingleOperationAction<GetRequest,GetResponse>
              extended by org.elasticsearch.action.get.TransportGetAction
All Implemented Interfaces:
Action<GetRequest,GetResponse>

public class TransportGetAction
extends TransportSingleOperationAction<GetRequest,GetResponse>

Performs the get operation.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.TransportSingleOperationAction
TransportSingleOperationAction.ShardSingleOperationRequest
 
Field Summary
 
Fields inherited from class org.elasticsearch.action.support.single.TransportSingleOperationAction
clusterService, indicesService, threadPool, transportService
 
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  void checkBlock(GetRequest request, ClusterState state)
           
protected  GetRequest newRequest()
           
protected  GetResponse newResponse()
           
protected  GetResponse shardOperation(GetRequest request, int shardId)
           
protected  java.lang.String transportAction()
           
protected  java.lang.String transportShardAction()
           
 
Methods inherited from class org.elasticsearch.action.support.single.TransportSingleOperationAction
doExecute
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
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

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportSingleOperationAction<GetRequest,GetResponse>

transportShardAction

protected java.lang.String transportShardAction()
Specified by:
transportShardAction in class TransportSingleOperationAction<GetRequest,GetResponse>

checkBlock

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

shardOperation

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

newRequest

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

newResponse

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