- All Superinterfaces:
QueryMapper.MapperQueryBuild
- Enclosing interface:
QueryMapper
Represents a step where it's possible to:
- Create a new condition performing logical conjunction (AND) by specifying a column name
- Create a new condition performing logical disjunction (OR) by specifying a column name
- Define the position of the first result
- Define the maximum number of results to retrieve
- Define the order of the results
- Perform the query execution
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new condition performing logical conjunction (AND) by specifying a column name.limit
(long limit) Defines the maximum number of results to retrieve.Create a new condition performing logical disjunction (OR) by specifying a column name.Add the order how the result will return.skip
(long skip) Defines the position of the first result to retrieve.Methods inherited from interface jakarta.nosql.QueryMapper.MapperQueryBuild
result, singleResult, stream
-
Method Details
-
and
Create a new condition performing logical conjunction (AND) by specifying a column name.- Parameters:
name
- the column name- Returns:
- the same
QueryMapper.MapperNameCondition
with the condition appended - Throws:
NullPointerException
- when name is null
-
or
Create a new condition performing logical disjunction (OR) by specifying a column name.- Parameters:
name
- the column name- Returns:
- the same
QueryMapper.MapperNameCondition
with the condition appended - Throws:
NullPointerException
- when name is null
-
skip
Defines the position of the first result to retrieve.- Parameters:
skip
- the first result to retrieve- Returns:
- a query with the first result defined
-
limit
Defines the maximum number of results to retrieve.- Parameters:
limit
- the limit- Returns:
- a query with the limit defined
-
orderBy
Add the order how the result will return.- Parameters:
name
- the name to order- Returns:
- a query with the sort defined
- Throws:
NullPointerException
- when name is null
-