Package org.elasticsearch.index.reindex
Class UpdateByQueryAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<UpdateByQueryRequest,BulkByScrollResponse,UpdateByQueryRequestBuilder>
-
- org.elasticsearch.index.reindex.UpdateByQueryAction
-
public class UpdateByQueryAction extends Action<UpdateByQueryRequest,BulkByScrollResponse,UpdateByQueryRequestBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description static UpdateByQueryActionINSTANCEstatic java.lang.StringNAME
-
Method Summary
Modifier and Type Method Description UpdateByQueryRequestBuildernewRequestBuilder(ElasticsearchClient client)Creates a new request builder given the client provided as argumentBulkByScrollResponsenewResponse()Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, getResponseReader, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
INSTANCE
public static final UpdateByQueryAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newRequestBuilder
public UpdateByQueryRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:ActionCreates a new request builder given the client provided as argument- Specified by:
newRequestBuilderin classAction<UpdateByQueryRequest,BulkByScrollResponse,UpdateByQueryRequestBuilder>
-
newResponse
public BulkByScrollResponse newResponse()
Description copied from class:GenericActionCreates a new response instance.- Specified by:
newResponsein classGenericAction<UpdateByQueryRequest,BulkByScrollResponse>
-
-