Package | Description |
---|---|
com.querydsl.collections |
Java Bean collections support
|
com.querydsl.core |
Basic Query elements
|
com.querydsl.core.support |
Various support classes
|
com.querydsl.core.types |
Expression types
|
com.querydsl.core.types.dsl |
DSL expression types
|
com.querydsl.hibernate.search |
Hibernate Search support
|
com.querydsl.jdo |
JDO support
|
com.querydsl.jdo.dml |
DML operations support
|
com.querydsl.jpa |
JPA support
|
com.querydsl.jpa.hibernate |
JPQL for Hibernate
|
com.querydsl.jpa.impl |
JPQL for JPA
|
com.querydsl.lucene3 |
Lucene 3 support
|
com.querydsl.lucene4 |
Lucene 4 support
|
com.querydsl.lucene5 |
Lucene 5 support
|
com.querydsl.mongodb |
MongoDB support
|
com.querydsl.sql |
SQL/JDBC support
|
com.querydsl.sql.dml |
DML operations support
|
com.querydsl.sql.oracle |
Oracle support
|
com.querydsl.sql.teradata |
Teradata support
|
Modifier and Type | Method and Description |
---|---|
protected Predicate |
CollQueryMixin.convert(Predicate predicate,
QueryMixin.Role role) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
CollQueryMixin.convert(Predicate predicate,
QueryMixin.Role role) |
<T> com.mysema.codegen.Evaluator<List<T>> |
DefaultEvaluatorFactory.createEvaluator(QueryMetadata metadata,
Expression<? extends T> source,
Predicate filter)
Create an Evaluator for the given source and filter
|
com.mysema.codegen.Evaluator<List<Object[]>> |
DefaultEvaluatorFactory.createEvaluator(QueryMetadata metadata,
List<JoinExpression> joins,
Predicate filter)
Create an Evaluator for the given sources and the given optional filter
|
Q |
AbstractCollQuery.having(Predicate... e) |
Q |
AbstractCollQuery.having(Predicate e) |
CollUpdateClause<T> |
CollUpdateClause.where(Predicate... o) |
CollDeleteClause<T> |
CollDeleteClause.where(Predicate... o) |
static <T> com.google.common.base.Predicate<T> |
GuavaHelpers.wrap(Predicate predicate)
Wrap a Querydsl predicate into a Guava predicate
|
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) |
T |
QueryMixin.having(Predicate... o) |
Q |
QueryBase.having(Predicate... o)
Add filters for aggregation
|
T |
QueryMixin.having(Predicate e) |
Q |
QueryBase.having(Predicate e)
Add a single filter for aggregation
|
T |
QueryMixin.on(Predicate... conditions) |
T |
QueryMixin.on(Predicate condition) |
T |
QueryMixin.where(Predicate... o) |
Q |
QueryBase.where(Predicate... o)
Add the given filter conditions
|
T |
QueryMixin.where(Predicate e) |
Q |
QueryBase.where(Predicate o)
Add the given filter condition
|
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.in(Expression<D> left,
SubQueryExpression<? 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 |
PredicateTemplate.not() |
Predicate |
PredicateOperation.not() |
Predicate |
Predicate.not()
Get the negation of the expression
|
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.notIn(Expression<D> left,
SubQueryExpression<? 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 |
---|
CaseWhen(CaseBuilder.Cases<A,Q> cases,
Predicate b) |
Initial(Predicate b) |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractSearchQuery.where(Predicate... e) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JDOQueryMixin.convert(Predicate predicate,
QueryMixin.Role role) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JDOQueryMixin.convert(Predicate predicate,
QueryMixin.Role role) |
Modifier and Type | Method and Description |
---|---|
JDOUpdateClause |
JDOUpdateClause.where(Predicate... o) |
JDODeleteClause |
JDODeleteClause.where(Predicate... o) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JPAQueryMixin.convert(Predicate predicate,
QueryMixin.Role role) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JPAQueryMixin.convert(Predicate predicate,
QueryMixin.Role role) |
JPQLQuery<T> |
JPQLQuery.on(Predicate... condition)
Add join conditions to the last added join
|
Q |
JPAQueryBase.on(Predicate... conditions) |
Q |
JPAQueryBase.on(Predicate condition) |
Modifier and Type | Method and Description |
---|---|
HibernateUpdateClause |
HibernateUpdateClause.where(Predicate... o) |
HibernateDeleteClause |
HibernateDeleteClause.where(Predicate... o) |
Modifier and Type | Method and Description |
---|---|
JPAUpdateClause |
JPAUpdateClause.where(Predicate... o) |
JPADeleteClause |
JPADeleteClause.where(Predicate... o) |
Modifier and Type | Class and Description |
---|---|
class |
QueryElement
QueryElement wraps a Lucene Query |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractLuceneQuery.where(Predicate... e) |
Q |
AbstractLuceneQuery.where(Predicate e) |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractLuceneQuery.where(Predicate... e) |
Q |
AbstractLuceneQuery.where(Predicate e) |
Modifier and Type | Method and Description |
---|---|
Q |
AbstractLuceneQuery.where(Predicate... e) |
Q |
AbstractLuceneQuery.where(Predicate e) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
AbstractMongodbQuery.createFilter(QueryMetadata metadata) |
protected Predicate |
AbstractMongodbQuery.createJoinFilter(QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
protected com.mongodb.DBCursor |
AbstractMongodbQuery.createCursor(com.mongodb.DBCollection collection,
Predicate where,
Expression<?> projection,
QueryModifiers modifiers,
List<OrderSpecifier<?>> orderBy) |
protected List<Object> |
AbstractMongodbQuery.getIds(Class<?> targetType,
Predicate condition) |
Q |
JoinBuilder.on(Predicate... conditions) |
Q |
AnyEmbeddedBuilder.on(Predicate... conditions) |
Q |
AbstractMongodbQuery.where(Predicate... e) |
Q |
AbstractMongodbQuery.where(Predicate e) |
Modifier and Type | Method and Description |
---|---|
Predicate |
ForeignKey.on(RelationalPath<E> entity) |
Modifier and Type | Method and Description |
---|---|
Union<T> |
UnionImpl.having(Predicate... o) |
Union<RT> |
Union.having(Predicate... o)
Defines the filters for aggregation
|
Q |
SQLCommonQuery.on(Predicate... conditions)
Defines a filter to the last added join
|
Q |
ProjectableSQLQuery.on(Predicate... conditions) |
Q |
ProjectableSQLQuery.on(Predicate condition) |
Modifier and Type | Method and Description |
---|---|
SQLUpdateClause |
SQLUpdateClause.where(Predicate... o) |
SQLDeleteClause |
SQLDeleteClause.where(Predicate... o) |
SQLUpdateClause |
SQLUpdateClause.where(Predicate p) |
SQLDeleteClause |
SQLDeleteClause.where(Predicate p) |
Modifier and Type | Method and Description |
---|---|
OracleQuery<T> |
OracleQuery.connectBy(Predicate cond)
CONNECT BY specifies the relationship between parent rows and child rows of the hierarchy.
|
OracleQuery<T> |
OracleQuery.connectByNocyclePrior(Predicate cond)
CONNECT BY specifies the relationship between parent rows and child rows of the hierarchy.
|
OracleQuery<T> |
OracleQuery.connectByPrior(Predicate cond)
CONNECT BY specifies the relationship between parent rows and child rows of the hierarchy.
|
<A> OracleQuery<T> |
OracleQuery.startWith(Predicate cond)
START WITH specifies the root row(s) of the hierarchy.
|
Modifier and Type | Method and Description |
---|---|
TeradataQuery<T> |
TeradataQuery.qualify(Predicate predicate)
Adds a qualify expression
|
Copyright © 2007–2016 Querydsl. All rights reserved.