public interface CollectionQuery<CT extends CollectionQuery<?>> extends CommonQuery
Modifier and Type | Method and Description |
---|---|
CT |
skip(int skip)
Sets the position of the first result to retrieve ($skip).
|
CT |
top(int top)
Sets the maximum number of results to retrieve ($top).
|
clearQueryOptions
CT top(int top) throws IllegalArgumentException
top
- maximum number of results to retrieveIllegalArgumentException
- if the argument is negativeCT skip(int skip) throws IllegalArgumentException
skip
- position of the first result, numbered from 0IllegalArgumentException
- if the argument is negativeCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.