Package | Description |
---|---|
com.mysema.query |
Contains basic Query elements
|
com.mysema.query.collections |
Implementations of Querydsl query interfaces for JavaBean collections
|
com.mysema.query.hibernate.search | |
com.mysema.query.jdo |
JDOQL support for Querydsl
|
com.mysema.query.jdo.dml |
DML operations support for Querydsl JDOQL
|
com.mysema.query.jdo.sql | |
com.mysema.query.jpa |
Query implementations for HQL and JPAQL
|
com.mysema.query.jpa.hibernate |
JPQL for Hibernate
|
com.mysema.query.jpa.impl |
JPQL for JPA
|
com.mysema.query.lucene | |
com.mysema.query.mongodb | |
com.mysema.query.sql |
SQL/JDBC support for Querydsl
|
com.mysema.query.sql.dml |
DML operations support
|
com.mysema.query.sql.oracle |
Oracle support for Querydsl SQL
|
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
|
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
|
BooleanBuilder |
BooleanBuilder.orNot(Predicate right)
Create the union of this and the negation of the given predicate
|
BooleanSubQuery |
Detachable.unique(Predicate projection)
Create a 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 |
CollQueryMixin.normalize(Predicate predicate,
boolean where) |
Modifier and Type | Method and Description |
---|---|
<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
|
protected Predicate |
CollQueryMixin.normalize(Predicate predicate,
boolean where) |
CollDeleteClause<T> |
CollDeleteClause.where(Predicate... o) |
CollUpdateClause<T> |
CollUpdateClause.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 | Method and Description |
---|---|
SearchQuery<T> |
SearchQuery.where(Predicate... e) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JDOQueryMixin.normalize(Predicate predicate,
boolean where) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JDOQueryMixin.normalize(Predicate predicate,
boolean where) |
Modifier and Type | Method and Description |
---|---|
JDOUpdateClause |
JDOUpdateClause.where(Predicate... o) |
JDODeleteClause |
JDODeleteClause.where(Predicate... o) |
Modifier and Type | Method and Description |
---|---|
T |
AbstractSQLQuery.on(Predicate... conditions) |
T |
AbstractSQLQuery.on(Predicate condition) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JPACollectionAnyVisitor.exists(Context c,
Predicate condition) |
protected Predicate |
JPAQueryMixin.normalize(Predicate predicate,
boolean where) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JPACollectionAnyVisitor.exists(Context c,
Predicate condition) |
protected Predicate |
JPAQueryMixin.normalize(Predicate predicate,
boolean where) |
T |
AbstractSQLQuery.on(Predicate... conditions) |
Q |
AbstractJPASubQuery.on(Predicate... conditions) |
Q |
JPACommonQuery.on(Predicate... condition)
Add join conditions to the last added join
|
Q |
JPAQueryBase.on(Predicate... conditions) |
T |
AbstractSQLQuery.on(Predicate condition) |
Q |
AbstractJPASubQuery.on(Predicate condition) |
Q |
JPAQueryBase.on(Predicate condition) |
Modifier and Type | Method and Description |
---|---|
HibernateDeleteClause |
HibernateDeleteClause.where(Predicate... o) |
HibernateUpdateClause |
HibernateUpdateClause.where(Predicate... o) |
Modifier and Type | Method and Description |
---|---|
JPADeleteClause |
JPADeleteClause.where(Predicate... o) |
JPAUpdateClause |
JPAUpdateClause.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 |
---|---|
protected Predicate |
MongodbQuery.createFilter(QueryMetadata metadata) |
protected Predicate |
MongodbQuery.createJoinFilter(QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
protected com.mongodb.DBCursor |
MongodbQuery.createCursor(com.mongodb.DBCollection collection,
Predicate where,
List<Expression<?>> projection,
QueryModifiers modifiers,
List<OrderSpecifier<?>> orderBy) |
protected List<Object> |
MongodbQuery.getIds(Class<?> targetType,
Predicate condition) |
MongodbQuery<K> |
JoinBuilder.on(Predicate... conditions) |
MongodbQuery<K> |
AnyEmbeddedBuilder.on(Predicate... conditions) |
MongodbQuery<K> |
MongodbQuery.where(Predicate... e) |
MongodbQuery<K> |
MongodbQuery.where(Predicate e) |
Modifier and Type | Method and Description |
---|---|
Predicate |
ForeignKey.on(RelationalPath<E> entity) |
Modifier and Type | Method and Description |
---|---|
Union<RT> |
UnionImpl.having(Predicate... o) |
Union<RT> |
Union.having(Predicate... o)
Defines the filters for aggregation
|
Q |
AbstractSQLSubQuery.on(Predicate... conditions) |
Q |
AbstractSQLQuery.on(Predicate... conditions) |
Q |
SQLCommonQuery.on(Predicate... conditions)
Defines a filter to the last added join
|
Q |
AbstractSQLSubQuery.on(Predicate condition) |
Q |
AbstractSQLQuery.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 |
OracleQuery.connectBy(Predicate cond) |
OracleQuery |
OracleQuery.connectByNocyclePrior(Predicate cond) |
OracleQuery |
OracleQuery.connectByPrior(Predicate cond) |
<A> OracleQuery |
OracleQuery.startWith(Predicate cond) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
CollectionAnyVisitor.exists(Context c,
Predicate condition) |
protected Predicate |
ListAccessVisitor.exists(Context c,
Predicate condition) |
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) |
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
|
protected Predicate |
QueryMixin.normalize(Predicate condition,
boolean where) |
T |
QueryMixin.on(Predicate... conditions) |
T |
QueryMixin.on(Predicate condition) |
BooleanSubQuery |
DetachableQuery.unique(Predicate projection) |
BooleanSubQuery |
DetachableAdapter.unique(Predicate projection) |
BooleanSubQuery |
DetachableMixin.unique(Predicate projection) |
T |
QueryMixin.where(Predicate... o) |
Q |
QueryBase.where(Predicate... o)
Add the given filter conditions
|
SimpleProjectableAdapter<T> |
SimpleProjectableAdapter.where(Predicate... e) |
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 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 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 |
PredicateTemplate.not() |
Predicate |
PredicateOperation.not() |
Predicate |
Predicate.not()
Get the negation of the expression
|
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
|
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-2013 Mysema Ltd. All Rights Reserved.