Interface SetExpression<RT>
- Type Parameters:
RT
- return type of the projection
- All Superinterfaces:
com.querydsl.core.types.Expression<RT>
,ExtendedFetchable<RT>
,com.querydsl.core.Fetchable<RT>
,Serializable
,com.querydsl.core.types.SubQueryExpression<RT>
- All Known Implementing Classes:
SetExpressionImpl
public interface SetExpression<RT> extends com.querydsl.core.types.SubQueryExpression<RT>, com.querydsl.core.Fetchable<RT>, ExtendedFetchable<RT>
Set expresion defines an interface for set operation queries.
Analog to
Union
, but also used for INTERSECT
and EXCEPT
operations.- Since:
- 1.5.0
- Author:
- Jan-Willem Gmelig Meyling
-
Method Summary
Modifier and Type Method Description SetExpression<RT>
limit(long limit)
Set the limit / max results for the query resultsSetExpression<RT>
offset(long offset)
Set the offset for the query resultsSetExpression<RT>
orderBy(com.querydsl.core.types.OrderSpecifier<?>... o)
Define the ordering of the query resultsMethods inherited from interface com.blazebit.persistence.querydsl.ExtendedFetchable
fetchPage, fetchPage, getQueryString
-
Method Details
-
limit
Set the limit / max results for the query results- Parameters:
limit
- max rows- Returns:
- the current object
-
offset
Set the offset for the query results- Parameters:
offset
- row offset- Returns:
- the current object
-
orderBy
Define the ordering of the query results- Parameters:
o
- order- Returns:
- the current object
-