com.mysema.query.sql
Class AbstractSQLQueryFactory<Q extends SQLCommonQuery<?>>
java.lang.Object
com.mysema.query.sql.AbstractSQLQueryFactory<Q>
- All Implemented Interfaces:
- QueryFactory<Q,SQLSubQuery>, SQLQueryFactory<Q,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
- Direct Known Subclasses:
- MySQLQueryFactory, OracleQueryFactory, PostgresQueryFactory, SQLQueryFactoryImpl, SQLServerQueryFactory
public abstract class AbstractSQLQueryFactory<Q extends SQLCommonQuery<?>>
- extends Object
- implements SQLQueryFactory<Q,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected final Configuration configuration
connection
protected final javax.inject.Provider<Connection> connection
AbstractSQLQueryFactory
public AbstractSQLQueryFactory(Configuration configuration,
javax.inject.Provider<Connection> connection)
delete
public final SQLDeleteClause delete(RelationalPath<?> path)
- Specified by:
delete
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
from
public final Q from(Expression<?> from)
- Specified by:
from
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
insert
public final SQLInsertClause insert(RelationalPath<?> path)
- Specified by:
insert
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
merge
public final SQLMergeClause merge(RelationalPath<?> path)
- Specified by:
merge
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
update
public final SQLUpdateClause update(RelationalPath<?> path)
- Specified by:
update
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
subQuery
public final SQLSubQuery subQuery()
- Description copied from interface:
QueryFactory
- Create a new Sub query
- Specified by:
subQuery
in interface QueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery>
- Specified by:
subQuery
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
- Returns:
subQuery
public final SQLSubQuery subQuery(Expression<?> from)
- Specified by:
subQuery
in interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQLSubQuery,SQLDeleteClause,SQLUpdateClause,SQLInsertClause,SQLMergeClause>
getConfiguration
public final Configuration getConfiguration()
getConnection
public final Connection getConnection()
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.