| Package | Description |
|---|---|
| com.querydsl.core |
Contains basic Query elements
|
| com.querydsl.core.support |
Various support classes
|
| com.querydsl.core.types |
Contains Querydsl grammar types
|
| com.querydsl.core.types.dsl |
Operations represent typed operations with operator and arguments
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanBuilder
BooleanBuilder is a cascading builder for Predicate expressions. |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
JoinExpression.getCondition() |
Predicate |
QueryMetadata.getHaving()
Get the having expressions
|
Predicate |
EmptyMetadata.getHaving() |
Predicate |
DefaultQueryMetadata.getHaving() |
Predicate |
BooleanBuilder.getValue() |
Predicate |
QueryMetadata.getWhere()
Get the expressions aggregated into a single boolean expression or null,
if none where defined
|
Predicate |
EmptyMetadata.getWhere() |
Predicate |
DefaultQueryMetadata.getWhere() |
| Modifier and Type | Method and Description |
|---|---|
void |
QueryMetadata.addHaving(Predicate o)
Add the given having expressions
|
void |
EmptyMetadata.addHaving(Predicate o) |
void |
DefaultQueryMetadata.addHaving(Predicate e) |
void |
QueryMetadata.addJoinCondition(Predicate o)
Add the given join condition to the last given join
|
void |
EmptyMetadata.addJoinCondition(Predicate o) |
void |
DefaultQueryMetadata.addJoinCondition(Predicate o) |
void |
QueryMetadata.addWhere(Predicate o)
Add the given where expressions
|
void |
EmptyMetadata.addWhere(Predicate o) |
void |
DefaultQueryMetadata.addWhere(Predicate e) |
BooleanBuilder |
BooleanBuilder.and(Predicate right)
Create the intersection of this and the given predicate
|
BooleanBuilder |
BooleanBuilder.andAnyOf(Predicate... args)
Create the intersection of this and the union of the given args
{@code (this && (arg1 || arg2 ...
|
BooleanBuilder |
BooleanBuilder.andNot(Predicate right)
Create the insertion of this and the negation of the given predicate
|
Q |
Query.having(Predicate... o)
Add filters for aggregation
|
BooleanBuilder |
BooleanBuilder.or(Predicate right)
Create the union of this and the given predicate
|
BooleanBuilder |
BooleanBuilder.orAllOf(Predicate... args)
Create the union of this and the intersection of the given args
{@code (this || (arg1 && arg2 ...
|
BooleanBuilder |
BooleanBuilder.orNot(Predicate right)
Create the union of this and the negation of the given predicate
|
C |
FilteredClause.where(Predicate... o)
Adds the given filter conditions
|
| Constructor and Description |
|---|
BooleanBuilder(Predicate initial)
Create a BooleanBuilder with the given initial value
|
JoinExpression(JoinType type,
Expression<?> target,
Predicate condition,
Set<JoinFlag> flags)
Create a new JoinExpression instance
|
| Modifier and Type | Method and Description |
|---|---|
protected Predicate |
QueryMixin.convert(Predicate condition,
QueryMixin.Role role) |
protected Predicate |
CollectionAnyVisitor.exists(Context c,
Predicate condition) |
| Modifier and Type | Method and Description |
|---|---|
protected Predicate |
QueryMixin.convert(Predicate condition,
QueryMixin.Role role) |
protected Predicate |
CollectionAnyVisitor.exists(Context c,
Predicate condition) |
Q |
QueryBase.having(Predicate... o)
Add filters for aggregation
|
T |
QueryMixin.having(Predicate... o) |
Q |
QueryBase.having(Predicate e)
Add a single filter for aggregation
|
T |
QueryMixin.having(Predicate e) |
T |
QueryMixin.on(Predicate... conditions) |
T |
QueryMixin.on(Predicate condition) |
Q |
QueryBase.where(Predicate... o)
Add the given filter conditions
|
T |
QueryMixin.where(Predicate... o) |
Q |
QueryBase.where(Predicate o)
Add the given filter condition
|
T |
QueryMixin.where(Predicate e) |
| Modifier and Type | Class and Description |
|---|---|
class |
PredicateOperation
PredicateOperation provides a Boolean typed Operation implementation |
class |
PredicateTemplate
PredicateTemplate provides a Boolean typed TemplateExpression implementation |
| Modifier and Type | Method and Description |
|---|---|
static Predicate |
ExpressionUtils.allOf(Collection<Predicate> exprs)
Create the intersection of the given arguments
|
static Predicate |
ExpressionUtils.allOf(Predicate... exprs)
Create the intersection of the given arguments
|
static Predicate |
ExpressionUtils.and(Predicate left,
Predicate right)
Create the intersection of the given arguments
|
static Predicate |
ExpressionUtils.anyOf(Collection<Predicate> exprs)
Create the union of the given arguments
|
static Predicate |
ExpressionUtils.anyOf(Predicate... exprs)
Create the union of the given arguments
|
static <D> Predicate |
ExpressionUtils.eq(Expression<D> left,
Expression<? extends D> right)
Create a
left == right expression |
static <D> Predicate |
ExpressionUtils.eqConst(Expression<D> left,
D constant)
Create a
left == constant expression |
static <D> Predicate |
ExpressionUtils.in(Expression<D> left,
Collection<? extends D> right)
Create a
left in right expression |
static <D> Predicate |
ExpressionUtils.in(Expression<D> left,
CollectionExpression<?,? extends D> right)
Create a
left in right expression |
static <D> Predicate |
ExpressionUtils.inAny(Expression<D> left,
Iterable<? extends Collection<? extends D>> lists)
Create a
left in right or... expression for each list |
static Predicate |
ExpressionUtils.isNotNull(Expression<?> left)
Create a
left is not null expression |
static Predicate |
ExpressionUtils.isNull(Expression<?> left)
Create a
left is null expression |
static <D> Predicate |
ExpressionUtils.ne(Expression<D> left,
Expression<? super D> right)
Create a
left != right expression |
static <D> Predicate |
ExpressionUtils.neConst(Expression<D> left,
D constant)
Create a
left != constant expression |
Predicate |
Predicate.not()
Get the negation of the expression
|
Predicate |
PredicateOperation.not() |
Predicate |
PredicateTemplate.not() |
static <D> Predicate |
ExpressionUtils.notIn(Expression<D> left,
Collection<? extends D> right)
Create a
left not in right expression |
static <D> Predicate |
ExpressionUtils.notIn(Expression<D> left,
CollectionExpression<?,? extends D> right)
Create a
left not in right expression |
static <D> Predicate |
ExpressionUtils.notInAny(Expression<D> left,
Iterable<? extends Collection<? extends D>> lists)
Create a
left not in right and... expression for each list |
static Predicate |
ExpressionUtils.or(Predicate left,
Predicate right)
Create a
left or right expression |
| Modifier and Type | Method and Description |
|---|---|
static Predicate |
ExpressionUtils.allOf(Predicate... exprs)
Create the intersection of the given arguments
|
static Predicate |
ExpressionUtils.and(Predicate left,
Predicate right)
Create the intersection of the given arguments
|
static Predicate |
ExpressionUtils.anyOf(Predicate... exprs)
Create the union of the given arguments
|
static Predicate |
ExpressionUtils.or(Predicate left,
Predicate right)
Create a
left or right expression |
| Modifier and Type | Method and Description |
|---|---|
static Predicate |
ExpressionUtils.allOf(Collection<Predicate> exprs)
Create the intersection of the given arguments
|
static Predicate |
ExpressionUtils.anyOf(Collection<Predicate> exprs)
Create the union of the given arguments
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanExpression
BooleanExpression represents Boolean expressions |
class |
BooleanOperation
BooleanOperation represents boolean operations |
class |
BooleanPath
BooleanPath represents boolean path expressions |
class |
BooleanTemplate
BooleanTemplate is a custom boolean expression |
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
BooleanExpression.and(Predicate right)
Create a
this && right expression |
BooleanExpression |
BooleanExpression.andAnyOf(Predicate... predicates)
Create a
this && any(predicates) expression |
BooleanExpression |
BooleanExpression.or(Predicate right)
Create a
this || right expression |
BooleanExpression |
BooleanExpression.orAllOf(Predicate... predicates)
Create a
this or all(predicates) expression |
CaseBuilder.Cases<Boolean,BooleanExpression> |
CaseBuilder.Initial.then(Predicate expr) |
CaseBuilder.Initial |
CaseBuilder.when(Predicate b) |
CaseBuilder.CaseWhen<A,Q> |
CaseBuilder.Cases.when(Predicate b) |
| Constructor and Description |
|---|
CaseBuilder.CaseWhen(CaseBuilder.Cases<A,Q> cases,
Predicate b) |
CaseBuilder.Initial(Predicate b) |
Copyright © 2007–2015 Mysema Ltd. All rights reserved.