Package | Description |
---|---|
com.mysema.query |
Contains basic Query elements
|
com.mysema.query.collections |
Implementations of Querydsl query interfaces for JavaBean collections
|
com.mysema.query.jdo |
JDOQL support for Querydsl
|
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.hibernate.sql | |
com.mysema.query.jpa.impl |
JPQL for JPA
|
com.mysema.query.jpa.sql | |
com.mysema.query.lucene | |
com.mysema.query.mongodb | |
com.mysema.query.sql |
SQL/JDBC support for Querydsl
|
com.mysema.query.sql.mssql |
SQL Server support
|
com.mysema.query.sql.mysql |
MySQL support
|
com.mysema.query.sql.oracle |
Oracle support for Querydsl SQL
|
com.mysema.query.sql.postgres | |
com.mysema.query.support |
Various support classes
|
com.mysema.query.types |
Contains Querydsl grammar types
|
com.mysema.query.types.query |
Subquery implementations
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultQueryMetadata
DefaultQueryMetadata is the default implementation of the
QueryMetadata interface |
class |
EmptyMetadata
EmptyMetadata provides a immutable empty QueryMetadata instace
|
Modifier and Type | Field and Description |
---|---|
static QueryMetadata |
EmptyMetadata.DEFAULT |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
EmptyMetadata.clone() |
QueryMetadata |
QueryMetadata.clone()
Clone this QueryMetadata instance
|
QueryMetadata |
DefaultQueryMetadata.clone() |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
CollQuery.getMetadata() |
abstract QueryMetadata |
AbstractCollQuery.getMetadata() |
Modifier and Type | Method and Description |
---|---|
long |
QueryEngine.count(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables)
Evaluate the given query and return the count of matched rows
|
long |
DefaultQueryEngine.count(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables) |
<T> com.mysema.codegen.Evaluator<T> |
DefaultEvaluatorFactory.create(QueryMetadata metadata,
java.util.List<? extends Expression<?>> sources,
Expression<T> projection)
Create an Evaluator for the given query sources and projection
|
<T> com.mysema.codegen.Evaluator<java.util.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<java.util.List<java.lang.Object[]>> |
DefaultEvaluatorFactory.createEvaluator(QueryMetadata metadata,
java.util.List<JoinExpression> joins,
Predicate filter)
Create an Evaluator for the given sources and the given optional filter
|
boolean |
QueryEngine.exists(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables) |
boolean |
DefaultQueryEngine.exists(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables) |
<T> java.util.List<T> |
QueryEngine.list(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables,
Expression<T> projection)
Evaluate the given query and return the projection as a list
|
<T> java.util.List<T> |
DefaultQueryEngine.list(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables,
Expression<T> projection) |
Constructor and Description |
---|
AbstractCollQuery(QueryMetadata metadata,
QueryEngine queryEngine) |
CollQuery(QueryMetadata metadata)
Create a new CollQuery instance
|
CollQuery(QueryMetadata metadata,
QueryEngine queryEngine)
Create a new CollQuery instance
|
CollQueryMixin(QueryMetadata metadata) |
CollQueryMixin(T self,
QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
AbstractJDOQuery.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
JDOQLSerializer.serialize(QueryMetadata metadata,
boolean forCountRow,
boolean subQuery) |
Constructor and Description |
---|
AbstractJDOQuery(javax.jdo.PersistenceManager persistenceManager,
JDOQLTemplates templates,
QueryMetadata metadata,
boolean detach) |
AbstractJDOSubQuery(QueryMetadata metadata) |
JDOQuery(javax.jdo.PersistenceManager persistenceManager,
JDOQLTemplates templates,
QueryMetadata metadata,
boolean detach)
Create a new JDOQuery instance
|
JDOQueryMixin(QueryMetadata metadata) |
JDOQueryMixin(T self,
QueryMetadata metadata) |
JDOSubQuery(QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
JDOSQLQuery.getMetadata() |
QueryMetadata |
AbstractSQLQuery.getMetadata() |
Constructor and Description |
---|
AbstractSQLQuery(QueryMetadata metadata,
Configuration conf) |
JDOSQLQuery(javax.jdo.PersistenceManager persistenceManager,
Configuration configuration,
QueryMetadata metadata,
boolean detach) |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
JPAQueryBase.getMetadata() |
QueryMetadata |
AbstractSQLQuery.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
NativeSQLSerializer.serialize(QueryMetadata metadata,
boolean forCountRow) |
void |
JPQLSerializer.serialize(QueryMetadata metadata,
boolean forCountRow,
java.lang.String projection) |
void |
JPQLSerializer.serializeForDelete(QueryMetadata md) |
void |
JPQLSerializer.serializeForUpdate(QueryMetadata md) |
Constructor and Description |
---|
AbstractJPASubQuery(QueryMetadata metadata) |
AbstractSQLQuery(QueryMetadata metadata) |
JPAQueryBase(QueryMetadata md,
JPQLTemplates templates,
javax.persistence.EntityManager entityManager) |
JPAQueryMixin(QueryMetadata metadata) |
JPAQueryMixin(T self,
QueryMetadata metadata) |
JPASubQuery(QueryMetadata metadata) |
Constructor and Description |
---|
AbstractHibernateQuery(SessionHolder session,
JPQLTemplates patterns,
QueryMetadata metadata) |
HibernateQuery(SessionHolder session,
JPQLTemplates templates,
QueryMetadata metadata)
Creates a new Session bound query
|
HibernateQuery(org.hibernate.Session session,
QueryMetadata metadata)
Creates a new Session bound query
|
HibernateSubQuery(QueryMetadata metadata) |
Constructor and Description |
---|
AbstractHibernateSQLQuery(SessionHolder session,
Configuration conf,
QueryMetadata metadata) |
HibernateSQLQuery(SessionHolder session,
Configuration conf,
QueryMetadata metadata) |
HibernateSQLQuery(SessionHolder session,
SQLTemplates sqlTemplates,
QueryMetadata metadata) |
Constructor and Description |
---|
AbstractJPAQuery(javax.persistence.EntityManager em,
JPQLTemplates templates,
QueryMetadata metadata) |
JPAQuery(javax.persistence.EntityManager em,
JPQLTemplates templates,
QueryMetadata metadata)
Creates a new query
|
JPAQuery(javax.persistence.EntityManager em,
QueryMetadata metadata)
Creates a new EntityManager bound query
|
Constructor and Description |
---|
AbstractJPASQLQuery(javax.persistence.EntityManager em,
Configuration configuration,
QueryMetadata metadata) |
JPASQLQuery(javax.persistence.EntityManager entityManager,
Configuration conf,
QueryMetadata metadata) |
JPASQLQuery(javax.persistence.EntityManager entityManager,
SQLTemplates sqlTemplates,
QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Query |
LuceneSerializer.between(Operation<?> operation,
QueryMetadata metadata) |
protected java.lang.String[] |
LuceneSerializer.convert(Path<?> leftHandSide,
Expression<?> rightHandSide,
QueryMetadata metadata)
template method
|
protected org.apache.lucene.search.Query |
LuceneSerializer.endsWith(Operation<?> operation,
QueryMetadata metadata,
boolean ignoreCase) |
protected org.apache.lucene.search.Query |
LuceneSerializer.eq(Operation<?> operation,
QueryMetadata metadata,
boolean ignoreCase) |
protected org.apache.lucene.search.Query |
LuceneSerializer.ge(Operation<?> operation,
QueryMetadata metadata) |
protected org.apache.lucene.search.Query |
LuceneSerializer.gt(Operation<?> operation,
QueryMetadata metadata) |
protected org.apache.lucene.search.Query |
LuceneSerializer.in(Operation<?> operation,
QueryMetadata metadata,
boolean ignoreCase) |
protected org.apache.lucene.search.Query |
LuceneSerializer.le(Operation<?> operation,
QueryMetadata metadata) |
protected org.apache.lucene.search.Query |
LuceneSerializer.like(Operation<?> operation,
QueryMetadata metadata) |
protected org.apache.lucene.search.Query |
LuceneSerializer.lt(Operation<?> operation,
QueryMetadata metadata) |
protected org.apache.lucene.search.Query |
LuceneSerializer.ne(Operation<?> operation,
QueryMetadata metadata,
boolean ignoreCase) |
protected org.apache.lucene.search.Query |
LuceneSerializer.range(Path<?> leftHandSide,
java.lang.String field,
Expression<?> min,
Expression<?> max,
boolean minInc,
boolean maxInc,
QueryMetadata metadata) |
protected org.apache.lucene.search.Query |
LuceneSerializer.startsWith(QueryMetadata metadata,
Operation<?> operation,
boolean ignoreCase) |
protected org.apache.lucene.search.Query |
LuceneSerializer.stringContains(Operation<?> operation,
QueryMetadata metadata,
boolean ignoreCase) |
protected org.apache.lucene.search.Query |
LuceneSerializer.stringRange(Path<?> leftHandSide,
java.lang.String field,
Expression<?> min,
Expression<?> max,
boolean minInc,
boolean maxInc,
QueryMetadata metadata) |
org.apache.lucene.search.Query |
LuceneSerializer.toQuery(Expression<?> expr,
QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
MongodbQuery.createFilter(QueryMetadata metadata) |
protected Predicate |
MongodbQuery.createJoinFilter(QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
AbstractSQLQuery.getMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
SQLSerializer.serialize(QueryMetadata metadata,
boolean forCountRow) |
void |
SQLTemplates.serialize(QueryMetadata metadata,
boolean forCountRow,
SQLSerializer context) |
void |
SQLServer2012Templates.serialize(QueryMetadata metadata,
boolean forCountRow,
SQLSerializer context) |
void |
SQLServer2005Templates.serialize(QueryMetadata metadata,
boolean forCountRow,
SQLSerializer context) |
void |
SQLServerTemplates.serialize(QueryMetadata metadata,
boolean forCountRow,
SQLSerializer context) |
void |
OracleTemplates.serialize(QueryMetadata metadata,
boolean forCountRow,
SQLSerializer context) |
void |
SQLSerializer.serializeForDelete(QueryMetadata metadata,
RelationalPath<?> entity) |
void |
SQLSerializer.serializeForInsert(QueryMetadata metadata,
RelationalPath<?> entity,
java.util.List<Path<?>> columns,
java.util.List<Expression<?>> values,
SubQueryExpression<?> subQuery) |
void |
SQLSerializer.serializeForMerge(QueryMetadata metadata,
RelationalPath<?> entity,
java.util.List<Path<?>> keys,
java.util.List<Path<?>> columns,
java.util.List<Expression<?>> values,
SubQueryExpression<?> subQuery) |
void |
SQLSerializer.serializeForUpdate(QueryMetadata metadata,
RelationalPath<?> entity,
java.util.List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates) |
protected void |
SQLTemplates.serializeModifiers(QueryMetadata metadata,
SQLSerializer context) |
protected void |
SQLServer2012Templates.serializeModifiers(QueryMetadata metadata,
SQLSerializer context) |
protected void |
DerbyTemplates.serializeModifiers(QueryMetadata metadata,
SQLSerializer context) |
protected void |
SQLServerTemplates.serializeModifiers(QueryMetadata metadata,
SQLSerializer context) |
protected void |
OracleTemplates.serializeModifiers(QueryMetadata metadata,
SQLSerializer context) |
protected void |
CUBRIDTemplates.serializeModifiers(QueryMetadata metadata,
SQLSerializer context) |
void |
SQLSerializer.serializeUnion(Expression<?> union,
QueryMetadata metadata,
boolean unionAll) |
Constructor and Description |
---|
AbstractSQLQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata) |
AbstractSQLSubQuery(QueryMetadata metadata) |
SQLQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata)
Create a new SQLQuery instance
|
SQLQuery(java.sql.Connection conn,
SQLTemplates templates,
QueryMetadata metadata)
Create a new SQLQuery instance
|
SQLSubQuery(QueryMetadata metadata) |
Constructor and Description |
---|
SQLServerQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata) |
SQLServerQuery(java.sql.Connection conn,
SQLTemplates templates,
QueryMetadata metadata) |
SQLServerSubQuery(QueryMetadata metadata) |
Constructor and Description |
---|
MySQLQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata) |
Constructor and Description |
---|
OracleQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata) |
OracleQuery(java.sql.Connection conn,
SQLTemplates templates,
QueryMetadata metadata) |
Constructor and Description |
---|
PostgresQuery(java.sql.Connection conn,
Configuration configuration,
QueryMetadata metadata) |
Modifier and Type | Class and Description |
---|---|
class |
OrderedQueryMetadata
OrderedQueryMetadata performs no metadata validation and ensures that FROM elements are before
JOIN elements
|
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
QueryMixin.getMetadata() |
Modifier and Type | Method and Description |
---|---|
static <T> ExtendedSubQueryExpression<T> |
Expressions.subQuery(java.lang.Class<T> type,
QueryMetadata metadata)
Create a new SubQuery expression
|
Constructor and Description |
---|
QueryMixin(QueryMetadata metadata) |
QueryMixin(QueryMetadata metadata,
boolean validateAnyPaths) |
QueryMixin(T self,
QueryMetadata metadata) |
QueryMixin(T self,
QueryMetadata metadata,
boolean validateAnyPaths) |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
SubQueryExpressionImpl.getMetadata() |
QueryMetadata |
SubQueryExpression.getMetadata()
Get the query metadata for the subquery
|
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
ParamsVisitor.visit(Constant<?> expr,
QueryMetadata context) |
java.lang.Void |
ParamsVisitor.visit(FactoryExpression<?> expr,
QueryMetadata context) |
java.lang.Void |
ParamsVisitor.visit(Operation<?> expr,
QueryMetadata context) |
java.lang.Void |
ParamsVisitor.visit(ParamExpression<?> expr,
QueryMetadata context) |
java.lang.Void |
ParamsVisitor.visit(Path<?> expr,
QueryMetadata context) |
java.lang.Void |
ParamsVisitor.visit(SubQueryExpression<?> expr,
QueryMetadata context) |
java.lang.Void |
ParamsVisitor.visit(TemplateExpression<?> expr,
QueryMetadata context) |
Constructor and Description |
---|
SubQueryExpressionImpl(java.lang.Class<? extends T> type,
QueryMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
QueryMetadata |
DateSubQuery.getMetadata() |
QueryMetadata |
TimeSubQuery.getMetadata() |
QueryMetadata |
ComparableSubQuery.getMetadata() |
QueryMetadata |
SimpleSubQuery.getMetadata() |
QueryMetadata |
StringSubQuery.getMetadata() |
QueryMetadata |
ListSubQuery.getMetadata() |
QueryMetadata |
BooleanSubQuery.getMetadata() |
QueryMetadata |
DateTimeSubQuery.getMetadata() |
QueryMetadata |
NumberSubQuery.getMetadata() |
Constructor and Description |
---|
BooleanSubQuery(QueryMetadata md) |
ComparableSubQuery(java.lang.Class<T> type,
QueryMetadata md) |
DateSubQuery(java.lang.Class<T> type,
QueryMetadata md) |
DateTimeSubQuery(java.lang.Class<T> type,
QueryMetadata md) |
ListSubQuery(java.lang.Class<T> elementType,
QueryMetadata md) |
NumberSubQuery(java.lang.Class<T> type,
QueryMetadata md) |
SimpleSubQuery(java.lang.Class<T> type,
QueryMetadata md) |
StringSubQuery(QueryMetadata md) |
TimeSubQuery(java.lang.Class<T> type,
QueryMetadata md) |
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.