CompositeIndicesRequest, Streamable, Writeable, TaskAwareRequestpublic class ReindexRequest extends AbstractBulkIndexByScrollRequest<ReindexRequest> implements CompositeIndicesRequest
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>AUTO_SLICES, AUTO_SLICES_VALUE, SIZE_ALL_MATCHES| Constructor | Description |
|---|---|
ReindexRequest() |
|
ReindexRequest(SearchRequest search,
IndexRequest destination) |
| Modifier and Type | Method | Description |
|---|---|---|
ReindexRequest |
forSlice(TaskId slicingTask,
SearchRequest slice,
int totalSlices) |
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.
|
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, setWaitForActiveShardsdoForSlice, getScript, searchToString, setScriptclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic 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, int totalSlices)
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 interface WriteablewriteTo in class AbstractBulkIndexByScrollRequest<ReindexRequest>java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object