public class ScrollResultImpl extends Object implements ScrollResult
Modifier and Type | Field and Description |
---|---|
protected static ScrollResult |
EMPTY_RESULT |
protected List<String> |
ids |
protected String |
scrollId |
Constructor and Description |
---|
ScrollResultImpl(String scrollId,
List<String> ids) |
Modifier and Type | Method and Description |
---|---|
static ScrollResult |
emptyResult() |
List<String> |
getResultIds()
Returns the list of document ids
|
String |
getScrollId()
Returns the scroll identifier, which can be passed to CoreSession.scroll(String scrollId) to get more results.
|
boolean |
hasResults()
Returns
true when this ScrollResult contains results. |
protected static final ScrollResult EMPTY_RESULT
public ScrollResultImpl(String scrollId, List<String> ids)
public static ScrollResult emptyResult()
public String getScrollId()
ScrollResult
getScrollId
in interface ScrollResult
public List<String> getResultIds()
ScrollResult
getResultIds
in interface ScrollResult
public boolean hasResults()
ScrollResult
true
when this ScrollResult
contains results.hasResults
in interface ScrollResult
Copyright © 2017 Nuxeo. All rights reserved.