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()longfetchOne()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.QueryMetadataGet 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, waitMethods inherited from interface com.querydsl.core.Fetchable
stream
-
Constructor Details
-
SetExpressionImpl
-
-
Method Details
-
fetchPage
Description copied from interface:ExtendedFetchableExecute the query and return the result as a type PagedList.- Specified by:
fetchPagein 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:ExtendedFetchableExecute the query and return the result as a type PagedList.- Specified by:
fetchPagein 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:
fetchin interfacecom.querydsl.core.Fetchable<T>
-
fetchFirst
- Specified by:
fetchFirstin interfacecom.querydsl.core.Fetchable<T>
-
fetchOne
- Specified by:
fetchOnein interfacecom.querydsl.core.Fetchable<T>- Throws:
com.querydsl.core.NonUniqueResultException
-
iterate
- Specified by:
iteratein interfacecom.querydsl.core.Fetchable<T>
-
fetchResults
- Specified by:
fetchResultsin interfacecom.querydsl.core.Fetchable<T>
-
fetchCount
public long fetchCount()- Specified by:
fetchCountin interfacecom.querydsl.core.Fetchable<T>
-
getMetadata
public com.querydsl.core.QueryMetadata getMetadata()- Specified by:
getMetadatain interfacecom.querydsl.core.types.SubQueryExpression<T>
-
accept
- Specified by:
acceptin interfacecom.querydsl.core.types.Expression<T>
-
getType
- Specified by:
getTypein interfacecom.querydsl.core.types.Expression<T>
-
limit
Description copied from interface:SetExpressionSet the limit / max results for the query results- Specified by:
limitin interfaceSetExpression<T>- Parameters:
limit- max rows- Returns:
- the current object
-
offset
Description copied from interface:SetExpressionSet the offset for the query results- Specified by:
offsetin interfaceSetExpression<T>- Parameters:
offset- row offset- Returns:
- the current object
-
orderBy
Description copied from interface:SetExpressionDefine the ordering of the query results- Specified by:
orderByin interfaceSetExpression<T>- Parameters:
o- order- Returns:
- the current object
-
getQueryString
Description copied from interface:ExtendedFetchableGet the query string.- Specified by:
getQueryStringin interfaceExtendedFetchable<T>- Returns:
- the query string
- See Also:
-
toString
-