IndicesRequest
, IndicesRequest.Replaceable
, Streamable
, Writeable
, TaskAwareRequest
public class UpdateByQueryRequest extends AbstractBulkIndexByScrollRequest<UpdateByQueryRequest> implements IndicesRequest.Replaceable
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
AUTO_SLICES, AUTO_SLICES_VALUE, SIZE_ALL_MATCHES
Constructor | Description |
---|---|
UpdateByQueryRequest() |
|
UpdateByQueryRequest(SearchRequest search) |
Modifier and Type | Method | 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.
|
createTask, getDescription, getMaxRetries, getRequestsPerSecond, getRetryBackoffInitialTime, getScrollTime, getSearchRequest, getShouldStoreResult, getSize, getSlices, getTimeout, getWaitForActiveShards, isAbortOnVersionConflict, isRefresh, setAbortOnVersionConflict, setConflicts, setMaxRetries, setRefresh, setRequestsPerSecond, setRetryBackoffInitialTime, setScroll, setShouldStoreResult, setSize, setSlices, setTimeout, setWaitForActiveShards, setWaitForActiveShards, validate
doForSlice, getScript, searchToString, setScript
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setParentTask
remoteAddress, remoteAddress
getParentTask, 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, int totalSlices)
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 interface Writeable
writeTo
in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>
java.io.IOException