com.mysema.query.sql
Interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQ extends AbstractSQLSubQuery<?>,D extends SQLDeleteClause,U extends SQLUpdateClause,I extends SQLInsertClause,M extends SQLMergeClause>

Type Parameters:
Q - query type
SQ - subquery type
D - delete clause type
U - update clause type
I - insert clause type
M - merge clause type
All Superinterfaces:
com.mysema.query.QueryFactory<Q,SQ>
All Known Implementing Classes:
AbstractSQLQueryFactory, MySQLQueryFactory, OracleQueryFactory, PostgresQueryFactory, SQLQueryFactoryImpl, SQLServerQueryFactory

public interface SQLQueryFactory<Q extends SQLCommonQuery<?>,SQ extends AbstractSQLSubQuery<?>,D extends SQLDeleteClause,U extends SQLUpdateClause,I extends SQLInsertClause,M extends SQLMergeClause>
extends com.mysema.query.QueryFactory<Q,SQ>

Factory interface for query and clause creation

Author:
tiwe

Method Summary
 D delete(RelationalPath<?> path)
          Create a new DELETE clause
 Q from(com.mysema.query.types.Expression<?> from)
          Create a new SELECT query
 I insert(RelationalPath<?> path)
          Create a new INSERT INTO clause
 M merge(RelationalPath<?> path)
          Create a new MERGE clause
 Q query()
           
 SQ subQuery()
           
 SQ subQuery(com.mysema.query.types.Expression<?> from)
           
 U update(RelationalPath<?> path)
          Create a new UPDATE clause
 

Method Detail

delete

D delete(RelationalPath<?> path)
Create a new DELETE clause

Parameters:
path -
Returns:

from

Q from(com.mysema.query.types.Expression<?> from)
Create a new SELECT query

Parameters:
from -
Returns:

insert

I insert(RelationalPath<?> path)
Create a new INSERT INTO clause

Parameters:
path -
Returns:

merge

M merge(RelationalPath<?> path)
Create a new MERGE clause

Parameters:
path -
Returns:

update

U update(RelationalPath<?> path)
Create a new UPDATE clause

Parameters:
path -
Returns:

query

Q query()
Specified by:
query in interface com.mysema.query.QueryFactory<Q extends SQLCommonQuery<?>,SQ extends AbstractSQLSubQuery<?>>

subQuery

SQ subQuery()
Specified by:
subQuery in interface com.mysema.query.QueryFactory<Q extends SQLCommonQuery<?>,SQ extends AbstractSQLSubQuery<?>>

subQuery

SQ subQuery(com.mysema.query.types.Expression<?> from)
Parameters:
from -
Returns:


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.