Q - query typepublic abstract class AbstractSQLQueryFactory<Q extends SQLCommonQuery<?>> extends Object implements SQLCommonQueryFactory<Q,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
AbstractSQLQueryFactory is the base class for SQLCommonQueryFactory implementations| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
configuration |
protected javax.inject.Provider<Connection> |
connection |
| Constructor and Description |
|---|
AbstractSQLQueryFactory(Configuration configuration,
javax.inject.Provider<Connection> connection) |
| Modifier and Type | Method and Description |
|---|---|
SQLDeleteClause |
delete(RelationalPath<?> path)
Create a new DELETE clause
|
Q |
from(Expression<?>... args)
Create a new SELECT query
|
Q |
from(Expression<?> from)
Create a new SELECT query
|
Q |
from(SubQueryExpression<?> subQuery,
Path<?> alias)
Create a new SELECT query
|
Configuration |
getConfiguration() |
Connection |
getConnection() |
SQLInsertClause |
insert(RelationalPath<?> path)
Create a new INSERT INTO clause
|
SQLMergeClause |
merge(RelationalPath<?> path)
Create a new MERGE clause
|
SQLUpdateClause |
update(RelationalPath<?> path)
Create a new UPDATE clause
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitqueryprotected final Configuration configuration
protected final javax.inject.Provider<Connection> connection
public AbstractSQLQueryFactory(Configuration configuration, javax.inject.Provider<Connection> connection)
public final SQLDeleteClause delete(RelationalPath<?> path)
SQLCommonQueryFactorydelete in interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>path - table to delete frompublic final Q from(Expression<?> from)
SQLCommonQueryFactoryfrom in interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>from - query sourcepublic final Q from(Expression<?>... args)
SQLCommonQueryFactoryfrom in interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>args - query sourcespublic final Q from(SubQueryExpression<?> subQuery, Path<?> alias)
SQLCommonQueryFactoryfrom in interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>subQuery - query sourcealias - aliaspublic final SQLInsertClause insert(RelationalPath<?> path)
SQLCommonQueryFactoryinsert in interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>path - table to insert topublic final SQLMergeClause merge(RelationalPath<?> path)
SQLCommonQueryFactorymerge in interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>path - table to merge intopublic final SQLUpdateClause update(RelationalPath<?> path)
SQLCommonQueryFactoryupdate in interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>path - table to updatepublic final Configuration getConfiguration()
public final Connection getConnection()
Copyright © 2007–2015 Mysema Ltd. All rights reserved.