public class ReindexRequest extends AbstractBulkIndexByScrollRequest<ReindexRequest> implements org.elasticsearch.action.CompositeIndicesRequest
SIZE_ALL_MATCHES| Constructor and Description |
|---|
ReindexRequest() |
ReindexRequest(org.elasticsearch.action.search.SearchRequest search,
org.elasticsearch.action.index.IndexRequest destination) |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.action.index.IndexRequest |
getDestination() |
RemoteInfo |
getRemoteInfo() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
protected ReindexRequest |
self()
`this` cast to Self.
|
void |
setRemoteInfo(RemoteInfo remoteInfo) |
java.util.List<? extends org.elasticsearch.action.IndicesRequest> |
subRequests()
Accessor to get the underlying
IndicesRequests that this request wraps. |
java.lang.String |
toString() |
org.elasticsearch.action.ActionRequestValidationException |
validate() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
doForSlice, getScript, searchToString, setScriptcreateTask, getMaxRetries, getRequestsPerSecond, getRetryBackoffInitialTime, getSearchRequest, getShouldStoreResult, getSize, getSlices, getTimeout, getWaitForActiveShards, isAbortOnVersionConflict, isRefresh, setAbortOnVersionConflict, setConflicts, setMaxRetries, setRefresh, setRequestsPerSecond, setRetryBackoffInitialTime, setShouldStoreResult, setSize, setSlices, setTimeout, setWaitForActiveShards, setWaitForActiveShardsgetDescription, getParentTask, setParentTask, setParentTaskpublic ReindexRequest()
public ReindexRequest(org.elasticsearch.action.search.SearchRequest search,
org.elasticsearch.action.index.IndexRequest destination)
protected ReindexRequest self()
AbstractBulkByScrollRequestself in class AbstractBulkByScrollRequest<ReindexRequest>public org.elasticsearch.action.ActionRequestValidationException validate()
validate in class AbstractBulkByScrollRequest<ReindexRequest>public org.elasticsearch.action.index.IndexRequest getDestination()
public void setRemoteInfo(RemoteInfo remoteInfo)
public RemoteInfo getRemoteInfo()
public 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<ReindexRequest>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<ReindexRequest>java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<? extends org.elasticsearch.action.IndicesRequest> subRequests()
IndicesRequests that this request wraps. Note that this method is not
accurate since it returns a prototype IndexRequest and not the actual requests that will be issued as part of the
execution of this request. Additionally, scripts can modify the underlying IndexRequest and change values such as the index,
type, IndicesOptions. In short - only use this for very course reasoning about the request.subRequests in interface org.elasticsearch.action.CompositeIndicesRequestSearchRequest and the prototype IndexRequest