- All Superinterfaces:
QueryMapper.MapperQueryBuild
- Enclosing interface:
QueryMapper
Represents the step in the query fluent API where it's possible to define the position of the first result to retrieve or to perform the query execution.
-
Method Summary
Modifier and TypeMethodDescriptionlimit
(long limit) Defines the maximum number of results to retrieve.Methods inherited from interface jakarta.nosql.QueryMapper.MapperQueryBuild
result, singleResult, stream
-
Method Details
-
limit
Defines the maximum number of results to retrieve.- Parameters:
limit
- the limit- Returns:
- a query with the limit defined
-