T
- expression typepublic abstract class SimpleExpression<T> extends DslExpression<T>
SimpleExpression
is the base class for Expression
implementations.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)
Create a
this == right expression |
BooleanExpression |
eq(T right)
Create a
this == right expression |
BooleanExpression |
eqAll(CollectionExpression<?,? super T> right)
Create a
this == all right expression |
BooleanExpression |
eqAll(SubQueryExpression<? extends T> right)
Create a
this == all right expression |
BooleanExpression |
eqAny(CollectionExpression<?,? super T> right)
Create a
this == < right expression |
BooleanExpression |
eqAny(SubQueryExpression<? extends T> right)
Create a
this == any right expression |
BooleanExpression |
in(Collection<? extends T> right)
Create a
this in right expression |
BooleanExpression |
in(CollectionExpression<?,? extends T> right)
Create a
this in right expression |
BooleanExpression |
in(Expression<? extends T>... right)
Create a
this in right expression |
BooleanExpression |
in(SubQueryExpression<? extends T> right)
Create a
this in right expression |
BooleanExpression |
in(T... right)
Create 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)
Create a
this <> right expression |
BooleanExpression |
ne(T right)
Create a
this <> right expression |
BooleanExpression |
neAll(CollectionExpression<?,? super T> right)
Create a
this != all right expression |
BooleanExpression |
neAny(CollectionExpression<?,? super T> right)
Create a
this != any right expression |
BooleanExpression |
notIn(Collection<? extends T> right)
Create a
this not in right expression |
BooleanExpression |
notIn(CollectionExpression<?,? extends T> right)
Create a
this not in right expression |
BooleanExpression |
notIn(Expression<? extends T>... right)
Create a
this not in right expression |
BooleanExpression |
notIn(SubQueryExpression<? extends T> right)
Create a
this not in right expression |
BooleanExpression |
notIn(T... right)
Create a
this not in right expression |
SimpleExpression<T> |
nullif(Expression<T> other)
Create a
nullif(this, other) expression |
SimpleExpression<T> |
nullif(T other)
Create a
nullif(this, other) expression |
CaseForEqBuilder<T> |
when(Expression<? extends T> other)
Create a case expression builder
|
CaseForEqBuilder<T> |
when(T other)
Create a case expression builder
|
equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
public 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)
this == all right
expressionright
- public BooleanExpression eqAny(CollectionExpression<?,? super T> right)
this == < right
expressionright
- public BooleanExpression eqAll(SubQueryExpression<? extends T> right)
this == all right
expressionright
- public BooleanExpression eqAny(SubQueryExpression<? extends T> right)
this == any right
expressionright
- 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 in(SubQueryExpression<? extends T> right)
this in right
expressionright
- rhs of the comparisonpublic BooleanExpression in(Expression<? 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)
this != all right
expressionright
- public BooleanExpression neAny(CollectionExpression<?,? super T> right)
this != any right
expressionright
- 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 final BooleanExpression notIn(SubQueryExpression<? extends T> right)
this not in right
expressionright
- rhs of the comparisonpublic final BooleanExpression notIn(Expression<? 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–2016 Querydsl. All rights reserved.