Class TransportFieldCapabilitiesIndexAction
- java.lang.Object
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.single.shard.TransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
- org.elasticsearch.action.fieldcaps.TransportFieldCapabilitiesIndexAction
-
public class TransportFieldCapabilitiesIndexAction extends TransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
TransportSingleShardAction.InternalRequest
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
clusterService, indexNameExpressionResolver, threadPool, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportFieldCapabilitiesIndexAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)protected Writeable.Reader<FieldCapabilitiesIndexResponse>getResponseReader()protected booleanresolveIndex(FieldCapabilitiesIndexRequest request)protected FieldCapabilitiesIndexResponseshardOperation(FieldCapabilitiesIndexRequest request, ShardId shardId)protected ShardsIteratorshards(ClusterState state, TransportSingleShardAction.InternalRequest request)Returns the candidate shards to execute the operation on ornullthe execute the operation locally (the node that received the request)-
Methods inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
asyncShardOperation, checkGlobalBlock, doExecute, getExecutor, isSubAction, resolveRequest
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportFieldCapabilitiesIndexAction
@Inject public TransportFieldCapabilitiesIndexAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
resolveIndex
protected boolean resolveIndex(FieldCapabilitiesIndexRequest request)
- Specified by:
resolveIndexin classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
shards
protected ShardsIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
Description copied from class:TransportSingleShardActionReturns the candidate shards to execute the operation on ornullthe execute the operation locally (the node that received the request)- Specified by:
shardsin classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
shardOperation
protected FieldCapabilitiesIndexResponse shardOperation(FieldCapabilitiesIndexRequest request, ShardId shardId)
- Specified by:
shardOperationin classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
getResponseReader
protected Writeable.Reader<FieldCapabilitiesIndexResponse> getResponseReader()
- Specified by:
getResponseReaderin classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)
-
-