Q - query typeD - delete clause typeU - update clause typeI - insert clause typeM - merge clause typepublic interface SQLCommonQueryFactory<Q extends SQLCommonQuery<?>,D extends SQLDeleteClause,U extends SQLUpdateClause,I extends SQLInsertClause,M extends SQLMergeClause> extends QueryFactory<Q>
The default implementation is SQLQueryFactory and should be used for general
query creation. Type specific variants are available if database specific queries need to be created.
| Modifier and Type | Method and Description |
|---|---|
D |
delete(RelationalPath<?> path)
Create a new DELETE clause
|
Q |
from(Expression<?>... from)
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
|
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
|
U |
update(RelationalPath<?> path)
Create a new UPDATE clause
|
D delete(RelationalPath<?> path)
path - table to delete fromQ from(Expression<?> from)
from - query sourceQ from(Expression<?>... from)
from - query sourcesQ from(SubQueryExpression<?> subQuery, Path<?> alias)
subQuery - query sourcealias - aliasI insert(RelationalPath<?> path)
path - table to insert toM merge(RelationalPath<?> path)
path - table to merge intoU update(RelationalPath<?> path)
path - table to updateQ query()
QueryFactoryquery in interface QueryFactory<Q extends SQLCommonQuery<?>>Copyright © 2007–2015 Mysema Ltd. All rights reserved.