public class SearchScrollRequest extends ActionRequest<SearchScrollRequest>
TransportRequest.Empty
Constructor and Description |
---|
SearchScrollRequest() |
SearchScrollRequest(java.lang.String scrollId) |
Modifier and Type | Method and Description |
---|---|
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) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
createTask, getDescription, getParentTask, setParentTask, setParentTask
remoteAddress, remoteAddress
public SearchScrollRequest()
public SearchScrollRequest(java.lang.String scrollId)
public ActionRequestValidationException validate()
validate
in class ActionRequest<SearchScrollRequest>
public 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
Streamable
readFrom
in interface Streamable
readFrom
in class ActionRequest<SearchScrollRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class ActionRequest<SearchScrollRequest>
java.io.IOException