Class MasterNodeReadOperationRequestBuilder<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse,RequestBuilder extends MasterNodeReadOperationRequestBuilder<Request,Response,RequestBuilder>>
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder<Request,Response,RequestBuilder>
- Direct Known Subclasses:
BaseAliasesRequestBuilder
,ClusterHealthRequestBuilder
,ClusterInfoRequestBuilder
,ClusterSearchShardsRequestBuilder
,ClusterStateRequestBuilder
,GetIndexTemplatesRequestBuilder
,GetPipelineRequestBuilder
,GetRepositoriesRequestBuilder
,GetSettingsRequestBuilder
,GetStoredScriptRequestBuilder
,IndicesExistsRequestBuilder
,IndicesShardStoreRequestBuilder
,PendingClusterTasksRequestBuilder
,TypesExistsRequestBuilder
public abstract class MasterNodeReadOperationRequestBuilder<Request extends MasterNodeReadRequest<Request>,Response extends ActionResponse,RequestBuilder extends MasterNodeReadOperationRequestBuilder<Request,Response,RequestBuilder>>
extends MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
Base request builder for master node read operations that can be executed on the local node as well
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ModifierConstructorDescriptionprotected
MasterNodeReadOperationRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
Method Summary
Modifier and TypeMethodDescriptionsetLocal(boolean local)
Specifies if the request should be executed on local node rather than on masterMethods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
MasterNodeReadOperationRequestBuilder
protected MasterNodeReadOperationRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
-
Method Details
-
setLocal
Specifies if the request should be executed on local node rather than on master
-