public class InternalScrollSearchRequest extends TransportRequest
TransportRequest.Empty| Constructor and Description |
|---|
InternalScrollSearchRequest() |
InternalScrollSearchRequest(SearchScrollRequest request,
long id) |
| Modifier and Type | Method and Description |
|---|---|
Task |
createTask(long id,
java.lang.String type,
java.lang.String action,
TaskId parentTaskId)
Returns the task object that should be used to keep track of the processing of the request.
|
java.lang.String |
getDescription()
Returns optional description of the request to be displayed by the task manager
|
long |
id() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
Scroll |
scroll() |
InternalScrollSearchRequest |
scroll(Scroll scroll) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetParentTaskpublic InternalScrollSearchRequest()
public InternalScrollSearchRequest(SearchScrollRequest request, long id)
public long id()
public Scroll scroll()
public InternalScrollSearchRequest scroll(Scroll scroll)
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class TransportRequestjava.io.IOExceptionpublic Task createTask(long id, java.lang.String type, java.lang.String action, TaskId parentTaskId)
TaskAwareRequestpublic java.lang.String getDescription()
TaskAwareRequest