public class UpdateByQueryRequest extends AbstractBulkIndexByScrollRequest<UpdateByQueryRequest> implements org.elasticsearch.action.IndicesRequest.Replaceable
| Constructor and Description |
|---|
UpdateByQueryRequest() |
UpdateByQueryRequest(org.elasticsearch.action.search.SearchRequest search) |
| Modifier and Type | Method and Description |
|---|---|
protected UpdateByQueryRequest |
forSlice(org.elasticsearch.tasks.TaskId slicingTask,
org.elasticsearch.action.search.SearchRequest slice) |
java.lang.String |
getPipeline()
Ingest pipeline to set on index requests made by this action.
|
java.lang.String[] |
indices() |
org.elasticsearch.action.IndicesRequest |
indices(java.lang.String... indices) |
org.elasticsearch.action.support.IndicesOptions |
indicesOptions() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
protected UpdateByQueryRequest |
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(org.elasticsearch.common.io.stream.StreamOutput out) |
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, remoteAddresspublic UpdateByQueryRequest()
public UpdateByQueryRequest(org.elasticsearch.action.search.SearchRequest search)
public void setPipeline(java.lang.String pipeline)
public java.lang.String getPipeline()
protected UpdateByQueryRequest self()
self in class org.elasticsearch.action.bulk.byscroll.AbstractBulkByScrollRequest<UpdateByQueryRequest>protected UpdateByQueryRequest forSlice(org.elasticsearch.tasks.TaskId slicingTask, org.elasticsearch.action.search.SearchRequest slice)
forSlice in class org.elasticsearch.action.bulk.byscroll.AbstractBulkByScrollRequest<UpdateByQueryRequest>public java.lang.String toString()
toString in class java.lang.Objectpublic org.elasticsearch.action.IndicesRequest indices(java.lang.String... indices)
indices in interface org.elasticsearch.action.IndicesRequest.Replaceablepublic java.lang.String[] indices()
indices in interface org.elasticsearch.action.IndicesRequestpublic org.elasticsearch.action.support.IndicesOptions indicesOptions()
indicesOptions in interface org.elasticsearch.action.IndicesRequestpublic void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws java.io.IOException
readFrom in interface org.elasticsearch.common.io.stream.StreamablereadFrom in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>java.io.IOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws java.io.IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamablewriteTo in class AbstractBulkIndexByScrollRequest<UpdateByQueryRequest>java.io.IOException