|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.action.search.SearchScrollRequest
public class SearchScrollRequest
Constructor Summary | |
---|---|
SearchScrollRequest()
|
|
SearchScrollRequest(String scrollId)
|
Method Summary | |
---|---|
boolean |
listenerThreaded()
Should the listener be called on a separate thread if needed. |
SearchScrollRequest |
listenerThreaded(boolean threadedListener)
Should the listener be called on a separate thread if needed. |
SearchOperationThreading |
operationThreading()
Controls the the search operation threading model. |
SearchScrollRequest |
operationThreading(SearchOperationThreading operationThreading)
Controls the the search operation threading model. |
void |
readFrom(StreamInput in)
|
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(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. |
String |
scrollId()
The scroll id used to scroll the search. |
SearchScrollRequest |
scrollId(String scrollId)
|
ActionRequestValidationException |
validate()
|
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchScrollRequest()
public SearchScrollRequest(String scrollId)
Method Detail |
---|
public ActionRequestValidationException validate()
validate
in interface ActionRequest
public SearchOperationThreading operationThreading()
public SearchScrollRequest operationThreading(SearchOperationThreading operationThreading)
public boolean listenerThreaded()
listenerThreaded
in interface ActionRequest
public SearchScrollRequest listenerThreaded(boolean threadedListener)
listenerThreaded
in interface ActionRequest
public String scrollId()
public SearchScrollRequest scrollId(String scrollId)
public Scroll scroll()
public SearchScrollRequest scroll(Scroll scroll)
public SearchScrollRequest scroll(TimeValue keepAlive)
public SearchScrollRequest scroll(String keepAlive)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |