Skip to content

Commit

Permalink
docs: enhance javadoc QueryMapper
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Feb 23, 2024
1 parent 860347d commit 520bd37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/main/java/jakarta/nosql/QueryMapper.java
Expand Up @@ -207,6 +207,7 @@ interface MapperFrom extends MapperQueryBuild {
*
* @param skip the first result to retrieve
* @return a query with the first result defined
* @throws IllegalArgumentException when skip is negative
*/
MapperSkip skip(long skip);

Expand All @@ -216,6 +217,7 @@ interface MapperFrom extends MapperQueryBuild {
*
* @param limit the limit
* @return a query with the limit defined
* @throws IllegalArgumentException when limit is negative
*/
MapperLimit limit(long limit);

Expand All @@ -239,6 +241,7 @@ interface MapperLimit extends MapperQueryBuild {
*
* @param skip the number of elements to skip
* @return a query with the first result defined
* @throws IllegalArgumentException when skip is negative
*/
MapperSkip skip(long skip);
}
Expand Down

0 comments on commit 520bd37

Please sign in to comment.