Package org.elasticsearch.action
Class ActionRequestBuilder<Request extends ActionRequest,Response extends ActionResponse>
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
- Direct Known Subclasses:
AbstractBulkByScrollRequestBuilder
,BroadcastOperationRequestBuilder
,BulkRequestBuilder
,ClearScrollRequestBuilder
,DeletePipelineRequestBuilder
,FieldCapabilitiesRequestBuilder
,GetFieldMappingsRequestBuilder
,GetTaskRequestBuilder
,InstanceShardOperationRequestBuilder
,MainRequestBuilder
,MasterNodeOperationRequestBuilder
,MultiGetRequestBuilder
,MultiSearchRequestBuilder
,MultiTermVectorsRequestBuilder
,NodesOperationRequestBuilder
,PutPipelineRequestBuilder
,RemoteInfoRequestBuilder
,ReplicationRequestBuilder
,SearchRequestBuilder
,SearchScrollRequestBuilder
,SimulatePipelineRequestBuilder
,SingleShardOperationRequestBuilder
,SyncedFlushRequestBuilder
,TasksRequestBuilder
,TermVectorsRequestBuilder
public abstract class ActionRequestBuilder<Request extends ActionRequest,Response extends ActionResponse>
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected ActionType<Response>
action
protected ElasticsearchClient
client
protected Request
request
-
Constructor Summary
Constructors Modifier Constructor Description protected
ActionRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
Method Summary
Modifier and Type Method Description ActionFuture<Response>
execute()
void
execute(ActionListener<Response> listener)
Response
get()
Short version of execute().actionGet().Response
get(java.lang.String timeout)
Short version of execute().actionGet().Response
get(TimeValue timeout)
Short version of execute().actionGet().Request
request()
-
Field Details
-
Constructor Details
-
ActionRequestBuilder
protected ActionRequestBuilder(ElasticsearchClient client, ActionType<Response> action, Request request)
-
-
Method Details