T
- Q
- 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 functionalityMDC_PARAMETERS, MDC_QUERY, queryMixin
Constructor and Description |
---|
FetchableSubQueryBase(QueryMixin<Q> queryMixin) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
BooleanExpression |
contains(Expression<? extends T> right)
Create a
right in this expression |
BooleanExpression |
contains(T constant)
Create a
right in this expression |
BooleanExpression |
eq(Expression<? extends T> expr)
Create a
this == right expression |
BooleanExpression |
eq(T constant)
Create a
this == right expression |
BooleanExpression |
exists()
Create a
exists(this) expression |
QueryMetadata |
getMetadata()
Get the query metadata for the subquery
|
Class<T> |
getType()
Get the java type for this expression
|
BooleanExpression |
goe(Expression<? extends T> expr)
Create a
this >= right expression |
BooleanExpression |
goe(T constant)
Create a
this >= right expression |
BooleanExpression |
gt(Expression<? extends T> expr)
Create a
this > right expression |
BooleanExpression |
gt(T constant)
Create a
this > right expression |
int |
hashCode() |
BooleanExpression |
in(Collection<? extends T> right)
Create a
this in (a, b, c) expression |
BooleanExpression |
in(T... right)
Create a
this in (a, b, c) expression |
BooleanOperation |
isNotNull()
Create a
this is not null expression |
BooleanOperation |
isNull()
Create a
this is null expression |
BooleanExpression |
loe(Expression<? extends T> expr)
Create a
this <= right expression |
BooleanExpression |
loe(T constant)
Create a
this <= right expression |
BooleanExpression |
lt(Expression<? extends T> expr)
Create a
this < right expression |
BooleanExpression |
lt(T constant)
Create a
this < right BooleanExpression |
BooleanExpression |
ne(Expression<? extends T> expr)
Create a
this != right expression |
BooleanExpression |
ne(T constant)
Create a
this != right expression |
BooleanExpression |
notExists()
Create a
not exists(this) expression |
equals, fetch, fetchFirst, transform, uniqueResult
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, toString, where, where
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fetchCount, fetchOne, fetchResults, iterate
public FetchableSubQueryBase(QueryMixin<Q> queryMixin)
public BooleanExpression contains(Expression<? extends T> right)
ExtendedSubQuery
right in this
expressioncontains
in interface ExtendedSubQuery<T>
right
- rhs of the comparisonpublic BooleanExpression contains(T constant)
ExtendedSubQuery
right in this
expressioncontains
in interface ExtendedSubQuery<T>
constant
- rhs of the comparisonpublic BooleanExpression exists()
ExtendedSubQuery
exists(this)
expressionexists
in interface ExtendedSubQuery<T>
public BooleanExpression eq(Expression<? extends T> expr)
ExtendedSubQuery
this == right
expressioneq
in interface ExtendedSubQuery<T>
expr
- rhs of the comparisonpublic BooleanExpression eq(T constant)
ExtendedSubQuery
this == right
expressioneq
in interface ExtendedSubQuery<T>
constant
- rhs of the comparisonpublic BooleanExpression ne(Expression<? extends T> expr)
ExtendedSubQuery
this != right
expressionne
in interface ExtendedSubQuery<T>
expr
- rhs of the comparisonpublic BooleanExpression ne(T constant)
ExtendedSubQuery
this != right
expressionne
in interface ExtendedSubQuery<T>
constant
- rhs of the comparisonpublic BooleanExpression notExists()
ExtendedSubQuery
not exists(this)
expressionnotExists
in interface ExtendedSubQuery<T>
public BooleanExpression lt(Expression<? extends T> expr)
ExtendedSubQuery
this < right
expressionlt
in interface ExtendedSubQuery<T>
expr
- rhs of the comparisonpublic BooleanExpression lt(T constant)
ExtendedSubQuery
this < right
BooleanExpressionlt
in interface ExtendedSubQuery<T>
constant
- rhs of the comparisonpublic BooleanExpression gt(Expression<? extends T> expr)
ExtendedSubQuery
this > right
expressiongt
in interface ExtendedSubQuery<T>
expr
- rhs of the comparisonpublic BooleanExpression gt(T constant)
ExtendedSubQuery
this > right
expressiongt
in interface ExtendedSubQuery<T>
constant
- rhs of the comparisonpublic BooleanExpression loe(Expression<? extends T> expr)
ExtendedSubQuery
this <= right
expressionloe
in interface ExtendedSubQuery<T>
expr
- rhs of the comparisonpublic BooleanExpression loe(T constant)
ExtendedSubQuery
this <= right
expressionloe
in interface ExtendedSubQuery<T>
constant
- rhs of the comparisonpublic BooleanExpression goe(Expression<? extends T> expr)
ExtendedSubQuery
this >= right
expressiongoe
in interface ExtendedSubQuery<T>
expr
- rhs of the comparisonpublic BooleanExpression goe(T constant)
ExtendedSubQuery
this >= right
expressiongoe
in interface ExtendedSubQuery<T>
constant
- rhs of the comparisonpublic BooleanOperation isNull()
ExtendedSubQuery
this is null
expressionisNull
in interface ExtendedSubQuery<T>
public BooleanOperation isNotNull()
ExtendedSubQuery
this is not null
expressionisNotNull
in interface ExtendedSubQuery<T>
public final int hashCode()
public final QueryMetadata getMetadata()
SubQueryExpression
getMetadata
in interface SubQueryExpression<T>
public <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<T>
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic Class<T> getType()
Expression
getType
in interface Expression<T>
public BooleanExpression in(Collection<? extends T> right)
ExtendedSubQuery
this in (a, b, c)
expressionin
in interface ExtendedSubQuery<T>
public BooleanExpression in(T... right)
ExtendedSubQuery
this in (a, b, c)
expressionin
in interface ExtendedSubQuery<T>
Copyright © 2007–2016 Querydsl. All rights reserved.