Class InternalScrollSearchRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.search.internal.InternalScrollSearchRequest
-
- All Implemented Interfaces:
Writeable,TaskAwareRequest
public class InternalScrollSearchRequest extends TransportRequest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description InternalScrollSearchRequest()InternalScrollSearchRequest(SearchScrollRequest request, long id)InternalScrollSearchRequest(StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskcreateTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)Returns the task object that should be used to keep track of the processing of the request.StringgetDescription()Returns optional description of the request to be displayed by the task managerlongid()Scrollscroll()InternalScrollSearchRequestscroll(Scroll scroll)voidwriteTo(StreamOutput out)Write this into the StreamOutput.-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
setParentTask
-
-
-
-
Constructor Detail
-
InternalScrollSearchRequest
public InternalScrollSearchRequest()
-
InternalScrollSearchRequest
public InternalScrollSearchRequest(SearchScrollRequest request, long id)
-
InternalScrollSearchRequest
public InternalScrollSearchRequest(StreamInput in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classTransportRequest- Throws:
IOException
-
id
public long id()
-
scroll
public Scroll scroll()
-
scroll
public InternalScrollSearchRequest scroll(Scroll scroll)
-
createTask
public Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String,String> headers)
Description copied from interface:TaskAwareRequestReturns the task object that should be used to keep track of the processing of the request.
-
getDescription
public String getDescription()
Description copied from interface:TaskAwareRequestReturns optional description of the request to be displayed by the task manager
-
-