Package org.elasticsearch.search
Class Scroll
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
o)
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.Methods inherited from class java.lang.
, , , , , , ,
-
Constructor Details
-
Scroll
- Throws:
-
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. -
equals
public boolean equals( o)- Overrides:
in class
-
hashCode
public int hashCode()- Overrides:
in class
-
toString
public toString()- Overrides:
in class
-