public class SearchScrollRequest extends ActionRequest
TransportRequest.Empty| Constructor and Description |
|---|
SearchScrollRequest() |
SearchScrollRequest(java.lang.String scrollId) |
| 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.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
Returns optional description of the request to be displayed by the task manager
|
int |
hashCode() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
Scroll |
scroll()
If set, will enable scrolling of the search request.
|
SearchScrollRequest |
scroll(Scroll scroll)
If set, will enable scrolling of the search request.
|
SearchScrollRequest |
scroll(java.lang.String keepAlive)
If set, will enable scrolling of the search request for the specified timeout.
|
SearchScrollRequest |
scroll(TimeValue keepAlive)
If set, will enable scrolling of the search request for the specified timeout.
|
java.lang.String |
scrollId()
The scroll id used to scroll the search.
|
SearchScrollRequest |
scrollId(java.lang.String scrollId) |
java.lang.String |
toString() |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetParentTaskpublic SearchScrollRequest()
public SearchScrollRequest(java.lang.String scrollId)
public ActionRequestValidationException validate()
validate in class ActionRequestpublic java.lang.String scrollId()
public SearchScrollRequest scrollId(java.lang.String scrollId)
public Scroll scroll()
public SearchScrollRequest scroll(Scroll scroll)
public SearchScrollRequest scroll(TimeValue keepAlive)
public SearchScrollRequest scroll(java.lang.String keepAlive)
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class ActionRequestjava.io.IOExceptionpublic Task createTask(long id, java.lang.String type, java.lang.String action, TaskId parentTaskId)
TaskAwareRequestpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDescription()
TaskAwareRequest