public class TransportUpdateByQueryAction extends org.elasticsearch.action.support.TransportAction<UpdateByQueryRequest,UpdateByQueryResponse>
IndexUpdateByQueryRequest to the primary shards of the index this request is targeted to.
The requests is transformed into ShardUpdateByQueryRequest and send to each primary shard. Afterwards
the responses from the shards are merged into a final response which is send to the client.| Constructor and Description |
|---|
TransportUpdateByQueryAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.action.support.ActionFilters actionFilters,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.cluster.ClusterService clusterService,
TransportShardUpdateByQueryAction transportShardUpdateByQueryAction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(UpdateByQueryRequest request,
org.elasticsearch.action.ActionListener<UpdateByQueryResponse> listener) |
protected void |
doExecuteIndexRequest(UpdateByQueryRequest request,
org.elasticsearch.cluster.metadata.MetaData metaData,
String concreteIndex,
Map<String,Set<String>> routingMap,
org.elasticsearch.action.ActionListener<IndexUpdateByQueryResponse> listener) |
@Inject
public TransportUpdateByQueryAction(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.action.support.ActionFilters actionFilters,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.cluster.ClusterService clusterService,
TransportShardUpdateByQueryAction transportShardUpdateByQueryAction)
protected void doExecute(UpdateByQueryRequest request, org.elasticsearch.action.ActionListener<UpdateByQueryResponse> listener)
doExecute in class org.elasticsearch.action.support.TransportAction<UpdateByQueryRequest,UpdateByQueryResponse>protected void doExecuteIndexRequest(UpdateByQueryRequest request, org.elasticsearch.cluster.metadata.MetaData metaData, String concreteIndex, @Nullable Map<String,Set<String>> routingMap, org.elasticsearch.action.ActionListener<IndexUpdateByQueryResponse> listener)
Copyright © 2013-2015. All Rights Reserved.