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:
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 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(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()
          Create a new Query
 SQ subQuery()
          Create a new Sub query
 SQ subQuery(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(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()
Description copied from interface: QueryFactory
Create a new Query

Specified by:
query in interface QueryFactory<Q extends SQLCommonQuery<?>,SQ extends AbstractSQLSubQuery<?>>
Returns:

subQuery

SQ subQuery()
Description copied from interface: QueryFactory
Create a new Sub query

Specified by:
subQuery in interface QueryFactory<Q extends SQLCommonQuery<?>,SQ extends AbstractSQLSubQuery<?>>
Returns:

subQuery

SQ subQuery(Expression<?> from)
Parameters:
from -
Returns:


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