Package org.nuxeo.ecm.core.scroll
Class StaticScrollRequest
- java.lang.Object
-
- org.nuxeo.ecm.core.scroll.StaticScrollRequest
-
- All Implemented Interfaces:
ScrollRequest
public class StaticScrollRequest extends Object implements ScrollRequest
Scroll Request for a static result set.- Since:
- 11.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStaticScrollRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<String>identifiersprotected static StringSCROLL_NAMEprotected static StringSCROLL_TYPEprotected intsize
-
Constructor Summary
Constructors Modifier Constructor Description protectedStaticScrollRequest(StaticScrollRequest.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StaticScrollRequest.Builderbuilder(String singleIdentifier)static StaticScrollRequest.Builderbuilder(List<String> identifiers)List<String>getIdentifiers()StringgetName()The Scroll implementation name.intgetSize()The number of items to return per iteration.StringgetType()The type of Scroll.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.core.api.scroll.ScrollRequest
getReference
-
-
-
-
Field Detail
-
SCROLL_TYPE
protected static final String SCROLL_TYPE
- See Also:
- Constant Field Values
-
SCROLL_NAME
protected static final String SCROLL_NAME
- See Also:
- Constant Field Values
-
size
protected final int size
-
-
Constructor Detail
-
StaticScrollRequest
protected StaticScrollRequest(StaticScrollRequest.Builder builder)
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:ScrollRequestThe type of Scroll.- Specified by:
getTypein interfaceScrollRequest
-
getName
public String getName()
Description copied from interface:ScrollRequestThe Scroll implementation name. Returnsnullfor default implementation.- Specified by:
getNamein interfaceScrollRequest
-
getSize
public int getSize()
Description copied from interface:ScrollRequestThe number of items to return per iteration.- Specified by:
getSizein interfaceScrollRequest
-
builder
public static StaticScrollRequest.Builder builder(String singleIdentifier)
-
builder
public static StaticScrollRequest.Builder builder(List<String> identifiers)
-
-