Package com.querydsl.core.types.dsl
Class SimpleExpression<T>
java.lang.Object
com.querydsl.core.types.dsl.DslExpression<T>
com.querydsl.core.types.dsl.SimpleExpression<T>
- Type Parameters:
T- expression type
- All Implemented Interfaces:
Expression<T>,Serializable
- Direct Known Subclasses:
ArrayPath,BeanPath,ComparableExpressionBase,Param,SimpleOperation,SimplePath,SimpleTemplate
SimpleExpression is the base class for Expression implementations.- Author:
- tiwe
- See Also:
-
Field Summary
Fields inherited from class com.querydsl.core.types.dsl.DslExpression
hashCode, mixin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an alias for the expressionCreate an alias for the expressioncount()Get thecount(this)expressionGet thecount(distinct this)expressioneq(Expression<? super T> right) Create athis == rightexpressionCreate athis == rightexpressioneqAll(CollectionExpression<?, ? super T> right) Create athis == all rightexpressioneqAll(SubQueryExpression<? extends T> right) Create athis == all rightexpressioneqAny(CollectionExpression<?, ? super T> right) Create athis == < rightexpressioneqAny(SubQueryExpression<? extends T> right) Create athis == any rightexpressionin(CollectionExpression<?, ? extends T> right) Create athis in rightexpressionin(Expression<? extends T>... right) Create athis in rightexpressionin(SubQueryExpression<? extends T> right) Create athis in rightexpressionin(Collection<? extends T> right) Create athis in rightexpressionCreate athis in rightexpressionCreate athis is not nullexpressionisNull()Create athis is nullexpressionne(Expression<? super T> right) Create athis <> rightexpressionCreate athis <> rightexpressionneAll(CollectionExpression<?, ? super T> right) Create athis != all rightexpressionneAny(CollectionExpression<?, ? super T> right) Create athis != any rightexpressionnotIn(CollectionExpression<?, ? extends T> right) Create athis not in rightexpressionnotIn(Expression<? extends T>... right) Create athis not in rightexpressionnotIn(SubQueryExpression<? extends T> right) Create athis not in rightexpressionnotIn(Collection<? extends T> right) Create athis not in rightexpressionCreate athis not in rightexpressionnullif(Expression<T> other) Create anullif(this, other)expressionCreate anullif(this, other)expressionwhen(Expression<? extends T> other) Create a case expression builderCreate a case expression builderMethods inherited from class com.querydsl.core.types.dsl.DslExpression
equals, getType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.querydsl.core.types.Expression
accept
-
Constructor Details
-
SimpleExpression
-
-
Method Details
-
as
Create an alias for the expression- Overrides:
asin classDslExpression<T>- Returns:
- alias expression
-
as
Create an alias for the expression- Overrides:
asin classDslExpression<T>- Returns:
- alias expression
-
isNotNull
Create athis is not nullexpression- Returns:
- this is not null
-
isNull
Create athis is nullexpression- Returns:
- this is null
-
count
Get thecount(this)expression- Returns:
- count(this)
-
countDistinct
Get thecount(distinct this)expression- Returns:
- count(distinct this)
-
eq
Create athis == rightexpressionUse expr.isNull() instead of expr.eq(null)
- Parameters:
right- rhs of the comparison- Returns:
- this == right
-
eq
Create athis == rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this == right
-
eqAll
Create athis == all rightexpression- Parameters:
right-- Returns:
- this == all right
-
eqAny
Create athis == < rightexpression- Parameters:
right-- Returns:
- this == any right
-
eqAll
Create athis == all rightexpression- Parameters:
right-- Returns:
- this == all right
-
eqAny
Create athis == any rightexpression- Parameters:
right-- Returns:
- this == any right
-
in
Create athis in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this in right
-
in
Create athis in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this in right
-
in
Create athis in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this in right
-
in
Create athis in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this in right
-
in
Create athis in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this in right
-
ne
Create athis <> rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this != right
-
ne
Create athis <> rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this != right
-
neAll
Create athis != all rightexpression- Parameters:
right-- Returns:
- this != all right
-
neAny
Create athis != any rightexpression- Parameters:
right-- Returns:
- this != any right
-
notIn
Create athis not in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this not in right
-
notIn
Create athis not in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this not in right
-
notIn
Create athis not in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this not in right
-
notIn
Create athis not in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this not in right
-
notIn
Create athis not in rightexpression- Parameters:
right- rhs of the comparison- Returns:
- this not in right
-
nullif
Create anullif(this, other)expression- Parameters:
other-- Returns:
- nullif(this, other)
-
nullif
Create anullif(this, other)expression- Parameters:
other-- Returns:
- nullif(this, other)
-
when
Create a case expression builder- Parameters:
other-- Returns:
- case expression builder
-
when
Create a case expression builder- Parameters:
other-- Returns:
- case expression builder
-