IndicesRequest, IndicesRequest.Replaceable, Streamable, Writeable, TaskAwareRequestpublic class UpdateByQueryRequest extends AbstractBulkIndexByScrollRequest<UpdateByQueryRequest> implements IndicesRequest.Replaceable
IndicesRequest.ReplaceableTransportRequest.EmptyWriteable.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, validatedoForSlice, getScript, searchToString, setScriptclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewWriteableReadersetParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic 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 interface WriteablewriteTo in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>java.io.IOException