Package org.nuxeo.ecm.core.scroll
Class GenericScrollRequest.Builder
- java.lang.Object
-
- org.nuxeo.ecm.core.scroll.GenericScrollRequest.Builder
-
- Enclosing class:
- GenericScrollRequest
public static class GenericScrollRequest.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_SCROLL_SIZE
protected Map<String,Serializable>
options
protected String
query
protected String
reference
protected String
scrollerName
protected int
size
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericScrollRequest
build()
Map<String,Serializable>
getOptions()
String
getReference()
int
getSize()
GenericScrollRequest.Builder
options(Map<String,Serializable> options)
GenericScrollRequest.Builder
reference(String reference)
GenericScrollRequest.Builder
size(int size)
-
-
-
Field Detail
-
DEFAULT_SCROLL_SIZE
public static final int DEFAULT_SCROLL_SIZE
- See Also:
- Constant Field Values
-
query
protected final String query
-
scrollerName
protected final String scrollerName
-
size
protected int size
-
reference
protected String reference
-
options
protected Map<String,Serializable> options
-
-
Method Detail
-
size
public GenericScrollRequest.Builder size(int size)
-
getSize
public int getSize()
-
reference
public GenericScrollRequest.Builder reference(String reference)
-
getReference
public String getReference()
-
options
public GenericScrollRequest.Builder options(Map<String,Serializable> options)
-
getOptions
public Map<String,Serializable> getOptions()
-
build
public GenericScrollRequest build()
-
-