| Package | Description |
|---|---|
| com.mysema.query |
Contains basic Query elements
|
| com.mysema.query.support |
Various support classes
|
| com.mysema.query.types |
Contains Querydsl grammar types
|
| com.mysema.query.types.expr |
Operations represent typed operations with operator and arguments
|
| com.mysema.query.types.path |
Paths represent typed property paths, variables and list-map-array access
|
| com.mysema.query.types.query |
Subquery implementations
|
| com.mysema.query.types.template |
Custom types are comparable to operations but contain the serialization
templates instead of operator patterns.
|
| 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 insertion 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
|
BooleanSubQuery |
Detachable.unique(Predicate projection)
Create a single row subquery expression for the given projection
|
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 |
CollectionAnyVisitor.exists(Context c,
Predicate condition) |
protected Predicate |
ListAccessVisitor.exists(Context c,
Predicate condition)
Deprecated.
|
protected Predicate |
QueryMixin.normalize(Predicate condition,
boolean where) |
| Modifier and Type | Method and Description |
|---|---|
protected Predicate |
CollectionAnyVisitor.exists(Context c,
Predicate condition) |
protected Predicate |
ListAccessVisitor.exists(Context c,
Predicate condition)
Deprecated.
|
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) |
protected Predicate |
QueryMixin.normalize(Predicate condition,
boolean where) |
T |
QueryMixin.on(Predicate... conditions) |
T |
QueryMixin.on(Predicate condition) |
BooleanSubQuery |
DetachableMixin.unique(Predicate projection) |
BooleanSubQuery |
DetachableAdapter.unique(Predicate projection) |
BooleanSubQuery |
DetachableQuery.unique(Predicate projection) |
Q |
QueryBase.where(Predicate... o)
Add the given filter conditions
|
SimpleProjectableAdapter<T> |
SimpleProjectableAdapter.where(Predicate... e) |
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 an left equals right expression
|
static <D> Predicate |
ExpressionUtils.eqConst(Expression<D> left,
D constant)
Create an left equals constant expression
|
static <D> Predicate |
ExpressionUtils.in(Expression<D> left,
Collection<? extends D> right)
Create an left in right expression
|
static <D> Predicate |
ExpressionUtils.in(Expression<D> left,
CollectionExpression<?,? extends D> right)
Create an 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 not equals right expression
|
static <D> Predicate |
ExpressionUtils.neConst(Expression<D> left,
D constant)
Create a left not equals 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 an left not in right expression
|
static <D> Predicate |
ExpressionUtils.notIn(Expression<D> left,
CollectionExpression<?,? extends D> right)
Create an 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
|
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
BooleanExpression.and(Predicate right)
Get an intersection of this and the given expression
|
BooleanExpression |
BooleanExpression.andAnyOf(Predicate... predicates)
Get an intersection of this and the union of the given predicates
|
BooleanExpression |
BooleanExpression.or(Predicate right)
Get a union of this and the given expression
|
BooleanExpression |
BooleanExpression.orAllOf(Predicate... predicates)
Get a union of this and the intersection of the given predicates
|
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 |
|---|
CaseWhen(CaseBuilder.Cases<A,Q> cases,
Predicate b) |
Initial(Predicate b) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanPath
BooleanPath represents boolean path expressions
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanSubQuery
Boolean typed single result subquery
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanTemplate
BooleanTemplate is a custom boolean expression
|
Copyright © 2007–2015 Querydsl. All rights reserved.