Package com.querydsl.core.support
Class FetchableSubQueryBase<T,Q extends FetchableSubQueryBase<T,Q>>
java.lang.Object
com.querydsl.core.support.QueryBase<Q>
com.querydsl.core.support.FetchableQueryBase<T,Q>
com.querydsl.core.support.FetchableSubQueryBase<T,Q>
- Type Parameters:
T-Q-
- All Implemented Interfaces:
Fetchable<T>,ExtendedSubQuery<T>,Expression<T>,SubQueryExpression<T>,Serializable
public abstract class FetchableSubQueryBase<T,Q extends FetchableSubQueryBase<T,Q>>
extends FetchableQueryBase<T,Q>
implements ExtendedSubQuery<T>
FetchableSubQueryBase extends FetchableQueryBase to provide fluent Expression creation functionality- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.support.QueryBase
MDC_PARAMETERS, MDC_QUERY, queryMixin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,C> R Accept the visitor with the given contextcontains(Expression<? extends T> right) Create aright in thisexpressionCreate aright in thisexpressioneq(Expression<? extends T> expr) Create athis == rightexpressionCreate athis == rightexpressionexists()Create aexists(this)expressionfinal QueryMetadataGet the query metadata for the subquerygetType()Get the java type for this expressiongoe(Expression<? extends T> expr) Create athis >= rightexpressionCreate athis >= rightexpressiongt(Expression<? extends T> expr) Create athis > rightexpressionCreate athis > rightexpressionfinal inthashCode()in(Collection<? extends T> right) Create athis in (a, b, c)expressionCreate athis in (a, b, c)expressionCreate athis is not nullexpressionisNull()Create athis is nullexpressionloe(Expression<? extends T> expr) Create athis <= rightexpressionCreate athis <= rightexpressionlt(Expression<? extends T> expr) Create athis < rightexpressionCreate athis < rightBooleanExpressionne(Expression<? extends T> expr) Create athis != rightexpressionCreate athis != rightexpressionCreate anot exists(this)expressionMethods inherited from class com.querydsl.core.support.FetchableQueryBase
equals, fetch, fetchFirst, transform, uniqueResultMethods inherited from class com.querydsl.core.support.QueryBase
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, toString, where, whereMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.Fetchable
fetchCount, fetchOne, fetchResults, iterate, stream
-
Constructor Details
-
FetchableSubQueryBase
-
-
Method Details
-
contains
Description copied from interface:ExtendedSubQueryCreate aright in thisexpression- Specified by:
containsin interfaceExtendedSubQuery<T>- Parameters:
right- rhs of the comparison- Returns:
- right in this
-
contains
Description copied from interface:ExtendedSubQueryCreate aright in thisexpression- Specified by:
containsin interfaceExtendedSubQuery<T>- Parameters:
constant- rhs of the comparison- Returns:
- right in this
-
exists
Description copied from interface:ExtendedSubQueryCreate aexists(this)expression- Specified by:
existsin interfaceExtendedSubQuery<T>- Returns:
- exists(this)
-
eq
Description copied from interface:ExtendedSubQueryCreate athis == rightexpression- Specified by:
eqin interfaceExtendedSubQuery<T>- Parameters:
expr- rhs of the comparison- Returns:
- this == right
-
eq
Description copied from interface:ExtendedSubQueryCreate athis == rightexpression- Specified by:
eqin interfaceExtendedSubQuery<T>- Parameters:
constant- rhs of the comparison- Returns:
- this == right
-
ne
Description copied from interface:ExtendedSubQueryCreate athis != rightexpression- Specified by:
nein interfaceExtendedSubQuery<T>- Parameters:
expr- rhs of the comparison- Returns:
- this != right
-
ne
Description copied from interface:ExtendedSubQueryCreate athis != rightexpression- Specified by:
nein interfaceExtendedSubQuery<T>- Parameters:
constant- rhs of the comparison- Returns:
- this != right
-
notExists
Description copied from interface:ExtendedSubQueryCreate anot exists(this)expression- Specified by:
notExistsin interfaceExtendedSubQuery<T>- Returns:
- not exists(this)
-
lt
Description copied from interface:ExtendedSubQueryCreate athis < rightexpression- Specified by:
ltin interfaceExtendedSubQuery<T>- Parameters:
expr- rhs of the comparison- Returns:
- this < right
-
lt
Description copied from interface:ExtendedSubQueryCreate athis < rightBooleanExpression- Specified by:
ltin interfaceExtendedSubQuery<T>- Parameters:
constant- rhs of the comparison- Returns:
- this < right
-
gt
Description copied from interface:ExtendedSubQueryCreate athis > rightexpression- Specified by:
gtin interfaceExtendedSubQuery<T>- Parameters:
expr- rhs of the comparison- Returns:
- this > right
-
gt
Description copied from interface:ExtendedSubQueryCreate athis > rightexpression- Specified by:
gtin interfaceExtendedSubQuery<T>- Parameters:
constant- rhs of the comparison- Returns:
- this > right
-
loe
Description copied from interface:ExtendedSubQueryCreate athis <= rightexpression- Specified by:
loein interfaceExtendedSubQuery<T>- Parameters:
expr- rhs of the comparison- Returns:
- this <= right
-
loe
Description copied from interface:ExtendedSubQueryCreate athis <= rightexpression- Specified by:
loein interfaceExtendedSubQuery<T>- Parameters:
constant- rhs of the comparison- Returns:
- this <= right
-
goe
Description copied from interface:ExtendedSubQueryCreate athis >= rightexpression- Specified by:
goein interfaceExtendedSubQuery<T>- Parameters:
expr- rhs of the comparison- Returns:
- this >= right
-
goe
Description copied from interface:ExtendedSubQueryCreate athis >= rightexpression- Specified by:
goein interfaceExtendedSubQuery<T>- Parameters:
constant- rhs of the comparison- Returns:
- this >= right
-
isNull
Description copied from interface:ExtendedSubQueryCreate athis is nullexpression- Specified by:
isNullin interfaceExtendedSubQuery<T>- Returns:
- this is null
-
isNotNull
Description copied from interface:ExtendedSubQueryCreate athis is not nullexpression- Specified by:
isNotNullin interfaceExtendedSubQuery<T>- Returns:
- this is not null
-
hashCode
public final int hashCode() -
getMetadata
Description copied from interface:SubQueryExpressionGet the query metadata for the subquery- Specified by:
getMetadatain interfaceSubQueryExpression<T>- Returns:
- metadata
-
accept
Description copied from interface:ExpressionAccept the visitor with the given context- Specified by:
acceptin interfaceExpression<T>- Type Parameters:
R- return typeC- context type- Parameters:
v- visitorcontext- context of visit- Returns:
- result of visit
-
getType
Description copied from interface:ExpressionGet the java type for this expression- Specified by:
getTypein interfaceExpression<T>- Returns:
- type of expression
-
in
Description copied from interface:ExtendedSubQueryCreate athis in (a, b, c)expression- Specified by:
inin interfaceExtendedSubQuery<T>- Returns:
- this in (a, b, c)
-
in
Description copied from interface:ExtendedSubQueryCreate athis in (a, b, c)expression- Specified by:
inin interfaceExtendedSubQuery<T>- Returns:
- this in (a, b, c)
-