public class ReindexRequest extends AbstractBulkIndexByScrollRequest<ReindexRequest> implements org.elasticsearch.action.CompositeIndicesRequest
| Constructor and Description |
|---|
ReindexRequest() |
ReindexRequest(org.elasticsearch.action.search.SearchRequest search,
org.elasticsearch.action.index.IndexRequest destination) |
| Modifier and Type | Method and Description |
|---|---|
protected ReindexRequest |
forSlice(org.elasticsearch.tasks.TaskId slicingTask,
org.elasticsearch.action.search.SearchRequest slice) |
org.elasticsearch.action.index.IndexRequest |
getDestination() |
RemoteInfo |
getRemoteInfo() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
protected ReindexRequest |
self() |
void |
setRemoteInfo(RemoteInfo remoteInfo) |
java.lang.String |
toString() |
org.elasticsearch.action.ActionRequestValidationException |
validate() |
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, setWaitForActiveShardsgetParentTask, setParentTask, setParentTaskpublic ReindexRequest()
public ReindexRequest(org.elasticsearch.action.search.SearchRequest search,
org.elasticsearch.action.index.IndexRequest destination)
protected ReindexRequest self()
self in class org.elasticsearch.action.bulk.byscroll.AbstractBulkByScrollRequest<ReindexRequest>public org.elasticsearch.action.ActionRequestValidationException validate()
validate in class org.elasticsearch.action.bulk.byscroll.AbstractBulkByScrollRequest<ReindexRequest>public org.elasticsearch.action.index.IndexRequest getDestination()
public void setRemoteInfo(RemoteInfo remoteInfo)
public RemoteInfo getRemoteInfo()
protected ReindexRequest forSlice(org.elasticsearch.tasks.TaskId slicingTask, org.elasticsearch.action.search.SearchRequest slice)
forSlice in class org.elasticsearch.action.bulk.byscroll.AbstractBulkByScrollRequest<ReindexRequest>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.Object