public class UpdateByQueryRequest extends AbstractBulkIndexByScrollRequest<UpdateByQueryRequest> implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.ReplaceableAUTO_SLICES, AUTO_SLICES_VALUE, SIZE_ALL_MATCHES| Constructor and Description |
|---|
UpdateByQueryRequest() |
UpdateByQueryRequest(SearchRequest search) |
| Modifier and Type | Method and Description |
|---|---|
UpdateByQueryRequest |
forSlice(TaskId slicingTask,
SearchRequest slice,
int totalSlices)
Build a new request for a slice of the parent request.
|
java.lang.String |
getPipeline()
Ingest pipeline to set on index requests made by this action.
|
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesRequest |
indices(java.lang.String... indices)
Sets the indices that the action relates to.
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
protected UpdateByQueryRequest |
self()
`this` cast to Self.
|
void |
setPipeline(java.lang.String pipeline)
Set the ingest pipeline to set on index requests made by this action.
|
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
doForSlice, getScript, searchToString, setScriptcreateTask, getDescription, getMaxRetries, getRequestsPerSecond, getRetryBackoffInitialTime, getSearchRequest, getShouldStoreResult, getSize, getSlices, getTimeout, getWaitForActiveShards, isAbortOnVersionConflict, isRefresh, setAbortOnVersionConflict, setConflicts, setMaxRetries, setRefresh, setRequestsPerSecond, setRetryBackoffInitialTime, setShouldStoreResult, setSize, setSlices, setTimeout, setWaitForActiveShards, setWaitForActiveShards, validategetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetParentTaskpublic UpdateByQueryRequest()
public UpdateByQueryRequest(SearchRequest search)
public void setPipeline(java.lang.String pipeline)
public java.lang.String getPipeline()
protected UpdateByQueryRequest self()
AbstractBulkByScrollRequestself in class AbstractBulkByScrollRequest<UpdateByQueryRequest>public UpdateByQueryRequest forSlice(TaskId slicingTask, SearchRequest slice, int totalSlices)
AbstractBulkByScrollRequestforSlice in class AbstractBulkByScrollRequest<UpdateByQueryRequest>public java.lang.String toString()
toString in class java.lang.Objectpublic IndicesRequest indices(java.lang.String... indices)
IndicesRequest.Replaceableindices in interface IndicesRequest.Replaceablepublic java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>java.io.IOException