Package org.elasticsearch.search
Class Scroll
java.lang.Object
org.elasticsearch.search.Scroll
- All Implemented Interfaces:
Writeable
A scroll enables scrolling of search request. It holds a
keepAlive()
time that
will control how long to keep the scrolling resources open.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionScroll(StreamInput in)
Scroll(org.elasticsearch.core.TimeValue keepAlive)
Constructs a new scroll of the provided keep alive. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
org.elasticsearch.core.TimeValue
How long the resources will be kept open to support the scroll request.toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
Scroll
- Throws:
IOException
-
Scroll
public Scroll(org.elasticsearch.core.TimeValue keepAlive)Constructs a new scroll of the provided keep alive.
-
-
Method Details
-
keepAlive
public org.elasticsearch.core.TimeValue keepAlive()How long the resources will be kept open to support the scroll request. -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-