T - expression typepublic abstract class SimpleExpression<T> extends DslExpression<T>
hashCode, mixin| Constructor and Description |
|---|
SimpleExpression(Expression<T> mixin) |
| Modifier and Type | Method and Description |
|---|---|
SimpleExpression<T> |
as(Path<T> alias)
Create an alias for the expression
|
SimpleExpression<T> |
as(String alias)
Create an alias for the expression
|
NumberExpression<Long> |
count()
Get the
count(this) expression |
NumberExpression<Long> |
countDistinct()
Get the
count(distinct this) expression |
BooleanExpression |
eq(Expression<? super T> right)
Get a
this == right expression |
BooleanExpression |
eq(T right)
Get a
this == right expression |
BooleanExpression |
eqAll(CollectionExpression<?,? super T> right) |
BooleanExpression |
eqAny(CollectionExpression<?,? super T> right) |
BooleanExpression |
in(Collection<? extends T> right)
Get a
this in right expression |
BooleanExpression |
in(CollectionExpression<?,? extends T> right)
Get a
this in right expression |
BooleanExpression |
in(T... right)
Get a
this in right expression |
BooleanExpression |
isNotNull()
Create a
this is not null expression |
BooleanExpression |
isNull()
Create a
this is null expression |
BooleanExpression |
ne(Expression<? super T> right)
Get a
this <> right expression |
BooleanExpression |
ne(T right)
Get a
this <> right expression |
BooleanExpression |
neAll(CollectionExpression<?,? super T> right) |
BooleanExpression |
neAny(CollectionExpression<?,? super T> right) |
BooleanExpression |
notIn(Collection<? extends T> right)
Get a
this not in right expression |
BooleanExpression |
notIn(CollectionExpression<?,? extends T> right)
Get a
this not in right expression |
BooleanExpression |
notIn(T... right)
Get a
this not in right expression |
SimpleExpression<T> |
nullif(Expression<T> other)
Get a
nullif(this, other) expression |
SimpleExpression<T> |
nullif(T other)
Get a
nullif(this, other) expression |
CaseForEqBuilder<T> |
when(Expression<? extends T> other)
Get a case expression builder
|
CaseForEqBuilder<T> |
when(T other)
Get a case expression builder
|
equals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitacceptpublic SimpleExpression(Expression<T> mixin)
public SimpleExpression<T> as(Path<T> alias)
as in class DslExpression<T>public SimpleExpression<T> as(String alias)
as in class DslExpression<T>public BooleanExpression isNotNull()
this is not null expressionpublic BooleanExpression isNull()
this is null expressionpublic NumberExpression<Long> count()
count(this) expressionpublic NumberExpression<Long> countDistinct()
count(distinct this) expressionpublic BooleanExpression eq(T right)
this == right expression
Use expr.isNull() instead of expr.eq(null)
right - rhs of the comparisonpublic BooleanExpression eq(Expression<? super T> right)
this == right expressionright - rhs of the comparisonpublic BooleanExpression eqAll(CollectionExpression<?,? super T> right)
right - public BooleanExpression eqAny(CollectionExpression<?,? super T> right)
right - public BooleanExpression in(Collection<? extends T> right)
this in right expressionright - rhs of the comparisonpublic BooleanExpression in(T... right)
this in right expressionright - rhs of the comparisonpublic BooleanExpression in(CollectionExpression<?,? extends T> right)
this in right expressionright - rhs of the comparisonpublic BooleanExpression ne(T right)
this <> right expressionright - rhs of the comparisonpublic BooleanExpression ne(Expression<? super T> right)
this <> right expressionright - rhs of the comparisonpublic BooleanExpression neAll(CollectionExpression<?,? super T> right)
right - public BooleanExpression neAny(CollectionExpression<?,? super T> right)
right - public BooleanExpression notIn(Collection<? extends T> right)
this not in right expressionright - rhs of the comparisonpublic BooleanExpression notIn(T... right)
this not in right expressionright - rhs of the comparisonpublic final BooleanExpression notIn(CollectionExpression<?,? extends T> right)
this not in right expressionright - rhs of the comparisonpublic SimpleExpression<T> nullif(Expression<T> other)
nullif(this, other) expressionother - public SimpleExpression<T> nullif(T other)
nullif(this, other) expressionother - public CaseForEqBuilder<T> when(T other)
other - public CaseForEqBuilder<T> when(Expression<? extends T> other)
other - Copyright © 2007–2015 Querydsl. All rights reserved.