Package | Description |
---|---|
com.mysema.query.sql |
SQL/JDBC support for Querydsl
|
com.mysema.query.sql.dml |
DML operations support
|
com.mysema.query.sql.mysql |
MySQL support
|
com.mysema.query.sql.postgres | |
com.mysema.query.sql.spatial |
Modifier and Type | Class and Description |
---|---|
class |
RelationalPathBase<T>
RelationalPathBase is a base class for
RelationalPath implementations |
Modifier and Type | Method and Description |
---|---|
RelationalPath<?> |
ForeignKey.getEntity() |
RelationalPath<?> |
PrimaryKey.getEntity() |
RelationalPath<?> |
SQLListenerContextImpl.getEntity() |
RelationalPath<?> |
SQLListenerContext.getEntity()
NOTE : This can be null depending on the stage of the query execution
|
Modifier and Type | Method and Description |
---|---|
static Set<RelationalPath<?>> |
RelationalPathExtractor.extract(Expression<?> expr) |
static Set<RelationalPath<?>> |
RelationalPathExtractor.extract(QueryMetadata md) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(Constant<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(FactoryExpression<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(Operation<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(ParamExpression<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(Path<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(SubQueryExpression<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(TemplateExpression<?> expr,
Set<RelationalPath<?>> known) |
Modifier and Type | Method and Description |
---|---|
static <T> FactoryExpression<T> |
RelationalPathUtils.createProjection(RelationalPath<T> path) |
SQLDeleteClause |
AbstractSQLQueryFactory.delete(RelationalPath<?> path) |
D |
SQLCommonQueryFactory.delete(RelationalPath<?> path)
Create a new DELETE clause
|
<E> Q |
DetachableSQLQuery.fullJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
ProjectableSQLQuery.fullJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
SQLCommonQuery.fullJoin(ForeignKey<E> key,
RelationalPath<E> entity)
Adds a full join to the given target
|
<T> T |
Beans.get(RelationalPath<T> path) |
<E> Q |
DetachableSQLQuery.innerJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
ProjectableSQLQuery.innerJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
SQLCommonQuery.innerJoin(ForeignKey<E> foreign,
RelationalPath<E> entity)
Adds an inner join to the given target
|
SQLInsertClause |
AbstractSQLQueryFactory.insert(RelationalPath<?> path) |
I |
SQLCommonQueryFactory.insert(RelationalPath<?> path)
Create a new INSERT INTO clause
|
<E> Q |
DetachableSQLQuery.join(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
ProjectableSQLQuery.join(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
SQLCommonQuery.join(ForeignKey<E> foreign,
RelationalPath<E> entity)
Adds a join to the given target
|
<E> Q |
DetachableSQLQuery.leftJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
ProjectableSQLQuery.leftJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
SQLCommonQuery.leftJoin(ForeignKey<E> foreign,
RelationalPath<E> entity)
Adds a left join to the given target
|
SQLMergeClause |
AbstractSQLQueryFactory.merge(RelationalPath<?> path) |
M |
SQLCommonQueryFactory.merge(RelationalPath<?> path)
Create a new MERGE clause
|
void |
SQLListener.notifyDelete(RelationalPath<?> entity,
QueryMetadata md)
Notify about a deletion
|
void |
SQLListeners.notifyDelete(RelationalPath<?> entity,
QueryMetadata md) |
void |
SQLListener.notifyDeletes(RelationalPath<?> entity,
List<QueryMetadata> batches)
Notify about a batch deletion
|
void |
SQLListeners.notifyDeletes(RelationalPath<?> entity,
List<QueryMetadata> batches) |
void |
SQLListener.notifyInsert(RelationalPath<?> entity,
QueryMetadata md,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery)
Notify about an insertion
|
void |
SQLListeners.notifyInsert(RelationalPath<?> entity,
QueryMetadata md,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery) |
void |
SQLListener.notifyInserts(RelationalPath<?> entity,
QueryMetadata md,
List<SQLInsertBatch> batches)
Notify about a batch insertion
|
void |
SQLListeners.notifyInserts(RelationalPath<?> entity,
QueryMetadata md,
List<SQLInsertBatch> batches) |
void |
SQLListener.notifyMerge(RelationalPath<?> entity,
QueryMetadata md,
List<Path<?>> keys,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery)
Notify about a merge
|
void |
SQLListeners.notifyMerge(RelationalPath<?> entity,
QueryMetadata md,
List<Path<?>> keys,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery) |
void |
SQLListener.notifyMerges(RelationalPath<?> entity,
QueryMetadata md,
List<SQLMergeBatch> batches)
Notify about a batch merge
|
void |
SQLListeners.notifyMerges(RelationalPath<?> entity,
QueryMetadata md,
List<SQLMergeBatch> batches) |
void |
SQLListener.notifyUpdate(RelationalPath<?> entity,
QueryMetadata md,
List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates)
Notify about an update operation
|
void |
SQLListeners.notifyUpdate(RelationalPath<?> entity,
QueryMetadata md,
List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates) |
void |
SQLListener.notifyUpdates(RelationalPath<?> entity,
List<SQLUpdateBatch> batches)
Notify about a batch update
|
void |
SQLListeners.notifyUpdates(RelationalPath<?> entity,
List<SQLUpdateBatch> batches) |
Predicate |
ForeignKey.on(RelationalPath<E> entity) |
<E> Q |
DetachableSQLQuery.rightJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
ProjectableSQLQuery.rightJoin(ForeignKey<E> key,
RelationalPath<E> entity) |
<E> Q |
SQLCommonQuery.rightJoin(ForeignKey<E> foreign,
RelationalPath<E> entity)
Adds a right join to the given target
|
void |
SQLSerializer.serializeDelete(QueryMetadata metadata,
RelationalPath<?> entity) |
void |
SQLTemplates.serializeDelete(QueryMetadata metadata,
RelationalPath<?> entity,
SQLSerializer context)
template method for DELETE serialization
|
void |
SQLServer2005Templates.serializeDelete(QueryMetadata metadata,
RelationalPath<?> entity,
SQLSerializer context) |
void |
OracleTemplates.serializeDelete(QueryMetadata metadata,
RelationalPath<?> entity,
SQLSerializer context) |
void |
SQLSerializer.serializeInsert(QueryMetadata metadata,
RelationalPath<?> entity,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery) |
void |
SQLTemplates.serializeInsert(QueryMetadata metadata,
RelationalPath<?> entity,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery,
SQLSerializer context)
template method for INSERT serialization
|
void |
SQLSerializer.serializeMerge(QueryMetadata metadata,
RelationalPath<?> entity,
List<Path<?>> keys,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery) |
void |
SQLTemplates.serializeMerge(QueryMetadata metadata,
RelationalPath<?> entity,
List<Path<?>> keys,
List<Path<?>> columns,
List<Expression<?>> values,
SubQueryExpression<?> subQuery,
SQLSerializer context)
template method for MERGE serialization
|
void |
SQLSerializer.serializeUpdate(QueryMetadata metadata,
RelationalPath<?> entity,
List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates) |
void |
SQLTemplates.serializeUpdate(QueryMetadata metadata,
RelationalPath<?> entity,
List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates,
SQLSerializer context)
template method for UPDATE serialization
|
void |
SQLServer2005Templates.serializeUpdate(QueryMetadata metadata,
RelationalPath<?> entity,
List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates,
SQLSerializer context) |
void |
OracleTemplates.serializeUpdate(QueryMetadata metadata,
RelationalPath<?> entity,
List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates,
SQLSerializer context) |
void |
SQLListenerContextImpl.setEntity(RelationalPath<?> entity) |
SQLUpdateClause |
AbstractSQLQueryFactory.update(RelationalPath<?> path) |
U |
SQLCommonQueryFactory.update(RelationalPath<?> path)
Create a new UPDATE clause
|
Modifier and Type | Method and Description |
---|---|
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(Constant<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(FactoryExpression<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(Operation<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(ParamExpression<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(Path<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(SubQueryExpression<?> expr,
Set<RelationalPath<?>> known) |
Set<RelationalPath<?>> |
RelationalPathExtractor.visit(TemplateExpression<?> expr,
Set<RelationalPath<?>> known) |
Constructor and Description |
---|
ForeignKey(RelationalPath<?> entity,
com.google.common.collect.ImmutableList<? extends Path<?>> localColumns,
com.google.common.collect.ImmutableList<String> foreignColumns) |
ForeignKey(RelationalPath<?> entity,
Path<?> localColumn,
String foreignColumn) |
PrimaryKey(RelationalPath<?> entity,
com.google.common.collect.ImmutableList<? extends Path<?>> localColumns) |
PrimaryKey(RelationalPath<?> entity,
Path<?>... localColumns) |
QBeans(RelationalPath<?>... beanPaths) |
SQLListenerContextImpl(QueryMetadata metadata,
Connection connection,
RelationalPath<?> entity) |
Constructor and Description |
---|
Beans(Map<? extends RelationalPath<?>,?> beans) |
Modifier and Type | Method and Description |
---|---|
Map<Path<?>,Object> |
DefaultMapper.createMap(RelationalPath<?> entity,
Object bean) |
Map<Path<?>,Object> |
BeanMapper.createMap(RelationalPath<?> entity,
Object bean) |
Map<Path<?>,Object> |
AnnotationMapper.createMap(RelationalPath<?> path,
Object object) |
Map<Path<?>,Object> |
Mapper.createMap(RelationalPath<?> path,
T object) |
protected Map<String,Path<?>> |
AbstractMapper.getColumns(RelationalPath<?> path) |
protected boolean |
AbstractMapper.isPrimaryKeyColumn(RelationalPath<?> parent,
Path<?> property) |
protected SQLListenerContextImpl |
AbstractSQLClause.startContext(Connection connection,
QueryMetadata metadata,
RelationalPath<?> entity)
Called to create and start a new SQL Listener context
|
Modifier and Type | Method and Description |
---|---|
SQLInsertClause |
MySQLQueryFactory.insertIgnore(RelationalPath<?> entity) |
SQLInsertClause |
MySQLQueryFactory.insertOnDuplicateKeyUpdate(RelationalPath<?> entity,
Expression<?> clause) |
SQLInsertClause |
MySQLQueryFactory.insertOnDuplicateKeyUpdate(RelationalPath<?> entity,
String clause) |
MySQLReplaceClause |
MySQLQueryFactory.replace(RelationalPath<?> entity) |
Constructor and Description |
---|
MySQLReplaceClause(Connection connection,
Configuration configuration,
RelationalPath<?> entity) |
MySQLReplaceClause(Connection connection,
SQLTemplates templates,
RelationalPath<?> entity) |
Modifier and Type | Method and Description |
---|---|
PostgresQuery |
PostgresQuery.of(RelationalPath<?>... paths) |
Modifier and Type | Class and Description |
---|---|
class |
QSpatialRefSys
QSpatialRefSys is a Querydsl query type for SpatialRefSys
|
class |
RelationalPathSpatial<T> |
Copyright © 2007–2015 Mysema Ltd. All rights reserved.