public class SearchScrollRequest extends ActionRequest<SearchScrollRequest >
TransportRequest.Empty headers| Constructor and Description |
|---|
SearchScrollRequest()
|
SearchScrollRequest(String
|
| Modifier and Type | Method and Description |
|---|---|
void |
readFrom(StreamInput
|
Scroll |
scroll()
If set, will enable scrolling of the search request.
|
SearchScrollRequest |
scroll(Scroll
If set, will enable scrolling of the search request.
|
SearchScrollRequest |
scroll(String
If set, will enable scrolling of the search request for the specified timeout.
|
SearchScrollRequest |
scroll(TimeValue
If set, will enable scrolling of the search request for the specified timeout.
|
String |
scrollId()
The scroll id used to scroll the search.
|
SearchScrollRequest |
scrollId(String
|
ActionRequestValidationException |
validate()
|
void |
writeTo(StreamOutput
|
listenerThreaded, listenerThreadedputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic SearchScrollRequest()
public SearchScrollRequest(StringscrollId)
public ActionRequestValidationExceptionvalidate()
public StringscrollId()
public SearchScrollRequestscrollId(String scrollId)
public Scrollscroll()
public SearchScrollRequestscroll(Scroll scroll)
public SearchScrollRequestscroll(TimeValue keepAlive)
public SearchScrollRequestscroll(String keepAlive)
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
readFrom in class
ActionRequest<SearchScrollRequest>
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
writeTo in class
ActionRequest<SearchScrollRequest>
IOException