Package org.nuxeo.ecm.core.api
Interface ScrollResult<T>
- Type Parameters:
T
- the result type.
- All Known Implementing Classes:
ScrollResultImpl
public interface ScrollResult<T>
The result of a
CoreSession.scroll(java.lang.String, int, int)
call, giving access to result and the scroll id.- Since:
- 8.4
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of resultsReturns the scroll identifier, which can be passed to CoreSession.scroll(String scrollId) to get more results.boolean
Returnstrue
when thisScrollResult
contains results.
-
Method Details
-
getScrollId
String getScrollId()Returns the scroll identifier, which can be passed to CoreSession.scroll(String scrollId) to get more results. -
hasResults
boolean hasResults()Returnstrue
when thisScrollResult
contains results. -
getResults
Returns the list of results- Since:
- 9.3
-