public class ReindexRequest extends AbstractBulkIndexByScrollRequest<ReindexRequest> implements CompositeIndicesRequest
TransportRequest.EmptySIZE_ALL_MATCHES| Constructor and Description |
|---|
ReindexRequest() |
ReindexRequest(SearchRequest search,
IndexRequest destination) |
| Modifier and Type | Method and Description |
|---|---|
ReindexRequest |
forSlice(TaskId slicingTask,
SearchRequest slice)
Build a new request for a slice of the parent request.
|
IndexRequest |
getDestination() |
RemoteInfo |
getRemoteInfo() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
protected ReindexRequest |
self()
`this` cast to Self.
|
void |
setRemoteInfo(RemoteInfo remoteInfo) |
java.lang.String |
toString() |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
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, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetParentTaskpublic ReindexRequest()
public ReindexRequest(SearchRequest search, IndexRequest destination)
protected ReindexRequest self()
AbstractBulkByScrollRequestself in class AbstractBulkByScrollRequest<ReindexRequest>public ActionRequestValidationException validate()
validate in class AbstractBulkByScrollRequest<ReindexRequest>public IndexRequest getDestination()
public void setRemoteInfo(RemoteInfo remoteInfo)
public RemoteInfo getRemoteInfo()
public ReindexRequest forSlice(TaskId slicingTask, SearchRequest slice)
AbstractBulkByScrollRequestforSlice in class AbstractBulkByScrollRequest<ReindexRequest>public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class AbstractBulkIndexByScrollRequest<ReindexRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class AbstractBulkIndexByScrollRequest<ReindexRequest>java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object