Package org.nuxeo.ecm.core.scroll
Class DocumentScrollRequest
- java.lang.Object
 - 
- org.nuxeo.ecm.core.scroll.DocumentScrollRequest
 
 
- 
- All Implemented Interfaces:
 ScrollRequest
public class DocumentScrollRequest extends Object implements ScrollRequest
Request to scroll documents.- Since:
 - 11.1
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentScrollRequest.Builder 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedDocumentScrollRequest(DocumentScrollRequest.Builder builder) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentScrollRequest.Builderbuilder(String nxqlQuery)Creates a builder using an NXQL query.StringgetName()The Scroll implementation name.StringgetQuery()StringgetRepository()intgetSize()The number of items to return per iteration.DurationgetTimeout()StringgetType()The type of Scroll.StringgetUsername()StringtoString() 
 - 
 
- 
- 
Field Detail
- 
SCROLL_TYPE
protected static final String SCROLL_TYPE
- See Also:
 - Constant Field Values
 
 
- 
repository
protected final String repository
 
- 
size
protected final int size
 
 - 
 
- 
Constructor Detail
- 
DocumentScrollRequest
protected DocumentScrollRequest(DocumentScrollRequest.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
 
- 
getTimeout
public Duration getTimeout()
 
- 
getUsername
public String getUsername()
 
- 
getRepository
public String getRepository()
 
- 
builder
public static DocumentScrollRequest.Builder builder(String nxqlQuery)
Creates a builder using an NXQL query. 
 - 
 
 -