public class UpdateByQueryRequest extends AbstractBulkIndexByScrollRequest<UpdateByQueryRequest> implements IndicesRequest.Replaceable
TransportRequest.Empty
IndicesRequest.Replaceable
SIZE_ALL_MATCHES
Constructor and Description |
---|
UpdateByQueryRequest() |
UpdateByQueryRequest(SearchRequest search) |
Modifier and Type | Method and Description |
---|---|
UpdateByQueryRequest |
forSlice(TaskId slicingTask,
SearchRequest slice)
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, setScript
createTask, getDescription, getMaxRetries, getRequestsPerSecond, getRetryBackoffInitialTime, getSearchRequest, getShouldStoreResult, getSize, getSlices, getTimeout, getWaitForActiveShards, isAbortOnVersionConflict, isRefresh, setAbortOnVersionConflict, setConflicts, setMaxRetries, setRefresh, setRequestsPerSecond, setRetryBackoffInitialTime, setShouldStoreResult, setSize, setSlices, setTimeout, setWaitForActiveShards, setWaitForActiveShards, validate
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setParentTask
public UpdateByQueryRequest()
public UpdateByQueryRequest(SearchRequest search)
public void setPipeline(java.lang.String pipeline)
public java.lang.String getPipeline()
protected UpdateByQueryRequest self()
AbstractBulkByScrollRequest
self
in class AbstractBulkByScrollRequest<UpdateByQueryRequest>
public UpdateByQueryRequest forSlice(TaskId slicingTask, SearchRequest slice)
AbstractBulkByScrollRequest
forSlice
in class AbstractBulkByScrollRequest<UpdateByQueryRequest>
public java.lang.String toString()
toString
in class java.lang.Object
public IndicesRequest indices(java.lang.String... indices)
IndicesRequest.Replaceable
indices
in interface IndicesRequest.Replaceable
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>
java.io.IOException