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 aCoreSession.scroll(java.lang.String, int, int)call, giving access to result and the scroll id.- Since:
- 8.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default List<String>getResultIds()Deprecated.since 9.10 usegetResults()instead.List<T>getResults()Returns the list of resultsStringgetScrollId()Returns the scroll identifier, which can be passed to CoreSession.scroll(String scrollId) to get more results.booleanhasResults()Returnstruewhen thisScrollResultcontains results.
-
-
-
Method Detail
-
getScrollId
String getScrollId()
Returns the scroll identifier, which can be passed to CoreSession.scroll(String scrollId) to get more results.
-
getResultIds
@Deprecated default List<String> getResultIds()
Deprecated.since 9.10 usegetResults()instead.Returns the list of document ids
-
hasResults
boolean hasResults()
Returnstruewhen thisScrollResultcontains results.
-
-