Class TransportFieldCapabilitiesIndexAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- 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, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Constructor Description TransportFieldCapabilitiesIndexAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)
protected FieldCapabilitiesIndexResponse
newResponse()
protected boolean
resolveIndex(FieldCapabilitiesIndexRequest request)
protected FieldCapabilitiesIndexResponse
shardOperation(FieldCapabilitiesIndexRequest request, ShardId shardId)
protected ShardsIterator
shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
Returns the candidate shards to execute the operation on ornull
the 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
-
-
-
-
Constructor Detail
-
TransportFieldCapabilitiesIndexAction
@Inject public TransportFieldCapabilitiesIndexAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
resolveIndex
protected boolean resolveIndex(FieldCapabilitiesIndexRequest request)
- Specified by:
resolveIndex
in classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
shards
protected ShardsIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
Description copied from class:TransportSingleShardAction
Returns the candidate shards to execute the operation on ornull
the execute the operation locally (the node that received the request)- Specified by:
shards
in classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
shardOperation
protected FieldCapabilitiesIndexResponse shardOperation(FieldCapabilitiesIndexRequest request, ShardId shardId)
- Specified by:
shardOperation
in classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
newResponse
protected FieldCapabilitiesIndexResponse newResponse()
- Specified by:
newResponse
in classTransportSingleShardAction<FieldCapabilitiesIndexRequest,FieldCapabilitiesIndexResponse>
-
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)
-
-