public abstract class AbstractSQLQueryFactory<Q extends SQLCommonQuery<?>> extends java.lang.Object implements SQLQueryFactory<Q,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
SQLQueryFactory
implementationsModifier and Type | Field and Description |
---|---|
protected Configuration |
configuration |
protected javax.inject.Provider<java.sql.Connection> |
connection |
Constructor and Description |
---|
AbstractSQLQueryFactory(Configuration configuration,
javax.inject.Provider<java.sql.Connection> connection) |
Modifier and Type | Method and Description |
---|---|
SQLDeleteClause |
delete(RelationalPath<?> path)
Create a new DELETE clause
|
Q |
from(Expression<?> from)
Create a new SELECT query
|
Configuration |
getConfiguration() |
java.sql.Connection |
getConnection() |
SQLInsertClause |
insert(RelationalPath<?> path)
Create a new INSERT INTO clause
|
SQLMergeClause |
merge(RelationalPath<?> path)
Create a new MERGE clause
|
SQLSubQuery |
subQuery()
Create a new Sub query
|
SQLSubQuery |
subQuery(Expression<?> from) |
SQLUpdateClause |
update(RelationalPath<?> path)
Create a new UPDATE clause
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
query
protected final Configuration configuration
protected final javax.inject.Provider<java.sql.Connection> connection
public AbstractSQLQueryFactory(Configuration configuration, javax.inject.Provider<java.sql.Connection> connection)
public final SQLDeleteClause delete(RelationalPath<?> path)
SQLQueryFactory
delete
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
public final Q from(Expression<?> from)
SQLQueryFactory
from
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
public final SQLInsertClause insert(RelationalPath<?> path)
SQLQueryFactory
insert
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
public final SQLMergeClause merge(RelationalPath<?> path)
SQLQueryFactory
merge
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
public final SQLUpdateClause update(RelationalPath<?> path)
SQLQueryFactory
update
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
public final SQLSubQuery subQuery()
QueryFactory
subQuery
in interface QueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery>
subQuery
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
public final SQLSubQuery subQuery(Expression<?> from)
subQuery
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
public final Configuration getConfiguration()
public final java.sql.Connection getConnection()
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.