Class SetExpressionImpl<T,Q extends AbstractBlazeJPAQuery<T,Q>>
java.lang.Object
com.blazebit.persistence.querydsl.SetExpressionImpl<T,Q>
- Type Parameters:
T
- result typeQ
- concrete query type
- All Implemented Interfaces:
ExtendedFetchable<T>
,SetExpression<T>
,com.querydsl.core.Fetchable<T>
,com.querydsl.core.types.Expression<T>
,com.querydsl.core.types.SubQueryExpression<T>
,Serializable
public class SetExpressionImpl<T,Q extends AbstractBlazeJPAQuery<T,Q>>
extends Object
implements SetExpression<T>
Default implementation for
SetExpression
. Analog to UnionImpl
.- Since:
- 1.5.0
- Author:
- Jan-Willem Gmelig Meyling
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,
C> R accept
(com.querydsl.core.types.Visitor<R, C> v, C context) fetch()
long
fetchOne()
fetchPage
(int firstResult, int maxResults) Execute the query and return the result as a type PagedList.fetchPage
(KeysetPage keysetPage, int firstResult, int maxResults) Execute the query and return the result as a type PagedList.com.querydsl.core.QueryResults<T>
com.querydsl.core.QueryMetadata
Get the query string.getType()
com.mysema.commons.lang.CloseableIterator<T>
iterate()
limit
(long limit) Set the limit / max results for the query resultsoffset
(long offset) Set the offset for the query resultsorderBy
(com.querydsl.core.types.OrderSpecifier<?>... o) Define the ordering of the query resultstoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.querydsl.core.Fetchable
stream
-
Constructor Details
-
SetExpressionImpl
-
-
Method Details
-
fetchPage
Description copied from interface:ExtendedFetchable
Execute the query and return the result as a type PagedList.- Specified by:
fetchPage
in interfaceExtendedFetchable<T>
- Parameters:
firstResult
- The position of the first result to retrieve, numbered from 0maxResults
- The maximum number of results to retrieve- Returns:
- The paged list of the results
- See Also:
-
fetchPage
Description copied from interface:ExtendedFetchable
Execute the query and return the result as a type PagedList.- Specified by:
fetchPage
in interfaceExtendedFetchable<T>
- Parameters:
keysetPage
- The key set from a previous result, may be nullfirstResult
- The position of the first result to retrieve, numbered from 0maxResults
- The maximum number of results to retrieve- Returns:
- The paged list of the results
- See Also:
-
fetch
- Specified by:
fetch
in interfacecom.querydsl.core.Fetchable<T>
-
fetchFirst
- Specified by:
fetchFirst
in interfacecom.querydsl.core.Fetchable<T>
-
fetchOne
- Specified by:
fetchOne
in interfacecom.querydsl.core.Fetchable<T>
- Throws:
com.querydsl.core.NonUniqueResultException
-
iterate
- Specified by:
iterate
in interfacecom.querydsl.core.Fetchable<T>
-
fetchResults
- Specified by:
fetchResults
in interfacecom.querydsl.core.Fetchable<T>
-
fetchCount
public long fetchCount()- Specified by:
fetchCount
in interfacecom.querydsl.core.Fetchable<T>
-
getMetadata
public com.querydsl.core.QueryMetadata getMetadata()- Specified by:
getMetadata
in interfacecom.querydsl.core.types.SubQueryExpression<T>
-
accept
- Specified by:
accept
in interfacecom.querydsl.core.types.Expression<T>
-
getType
- Specified by:
getType
in interfacecom.querydsl.core.types.Expression<T>
-
limit
Description copied from interface:SetExpression
Set the limit / max results for the query results- Specified by:
limit
in interfaceSetExpression<T>
- Parameters:
limit
- max rows- Returns:
- the current object
-
offset
Description copied from interface:SetExpression
Set the offset for the query results- Specified by:
offset
in interfaceSetExpression<T>
- Parameters:
offset
- row offset- Returns:
- the current object
-
orderBy
Description copied from interface:SetExpression
Define the ordering of the query results- Specified by:
orderBy
in interfaceSetExpression<T>
- Parameters:
o
- order- Returns:
- the current object
-
getQueryString
Description copied from interface:ExtendedFetchable
Get the query string.- Specified by:
getQueryString
in interfaceExtendedFetchable<T>
- Returns:
- the query string
- See Also:
-
toString
-