|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.QueryBase<SubType>
com.mysema.query.support.ProjectableQuery<SubType>
com.mysema.query.sql.AbstractSQLQuery<SubType>
public abstract class AbstractSQLQuery<SubType extends AbstractSQLQuery<SubType>>
AbstractSqlQuery is the base type for SQL query implementations
| Nested Class Summary | |
|---|---|
class |
AbstractSQLQuery.UnionBuilder<RT>
|
| Field Summary | |
|---|---|
protected SQLTemplates |
templates
|
| Fields inherited from class com.mysema.query.QueryBase |
|---|
queryMixin |
| Constructor Summary | |
|---|---|
AbstractSQLQuery(Connection conn,
SQLTemplates templates)
|
|
| Method Summary | ||
|---|---|---|
protected String |
buildQueryString(boolean forCountRow)
|
|
long |
count()
return the amount of matched rows |
|
protected SQLSerializer |
createSerializer()
|
|
SubType |
from(PEntity<?>... args)
|
|
SubType |
fullJoin(PEntity<?> target)
|
|
SubType |
innerJoin(PEntity<?> target)
|
|
Iterator<Object[]> |
iterate(Expr<?>[] args)
iterate over the results for the given projection |
|
|
iterate(Expr<RT> projection)
iterate over the results for the given projection |
|
SubType |
join(PEntity<?> target)
|
|
SubType |
leftJoin(PEntity<?> target)
|
|
List<Object[]> |
list(Expr<?>[] args)
list the results for the given projection |
|
|
list(Expr<RT> expr)
list the results for the given projection |
|
|
listResults(Expr<RT> expr)
list the results for the given projection |
|
SubType |
on(EBoolean... conditions)
|
|
protected String |
toQueryString()
|
|
String |
toString()
|
|
|
union(ListSubQuery<RT>... sq)
|
|
|
union(ObjectSubQuery<RT>... sq)
|
|
|
uniqueResult(Expr<RT> expr)
return a unique result for the given projection |
|
| Methods inherited from class com.mysema.query.support.ProjectableQuery |
|---|
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, uniqueResult, uniqueResult |
| Methods inherited from class com.mysema.query.QueryBase |
|---|
groupBy, having, limit, offset, orderBy, restrict, where |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final SQLTemplates templates
| Constructor Detail |
|---|
public AbstractSQLQuery(Connection conn,
SQLTemplates templates)
| Method Detail |
|---|
protected String buildQueryString(boolean forCountRow)
public long count()
Projectable
protected SQLSerializer createSerializer()
public SubType from(PEntity<?>... args)
public SubType fullJoin(PEntity<?> target)
public SubType innerJoin(PEntity<?> target)
public Iterator<Object[]> iterate(Expr<?>[] args)
Projectable
public <RT> Iterator<RT> iterate(Expr<RT> projection)
Projectable
RT - generic type of the Iteratpr
public SubType join(PEntity<?> target)
public SubType leftJoin(PEntity<?> target)
public List<Object[]> list(Expr<?>[] args)
Projectable
list in interface Projectablelist in class ProjectableQuery<SubType extends AbstractSQLQuery<SubType>>public <RT> List<RT> list(Expr<RT> expr)
Projectable
list in interface Projectablelist in class ProjectableQuery<SubType extends AbstractSQLQuery<SubType>>RT - generic type of the List
public <RT> SearchResults<RT> listResults(Expr<RT> expr)
Projectable
public SubType on(EBoolean... conditions)
protected String toQueryString()
public String toString()
toString in class QueryBase<SubType extends AbstractSQLQuery<SubType>>public <RT> AbstractSQLQuery.UnionBuilder<RT> union(ListSubQuery<RT>... sq)
public <RT> AbstractSQLQuery.UnionBuilder<RT> union(ObjectSubQuery<RT>... sq)
public <RT> RT uniqueResult(Expr<RT> expr)
Projectable
uniqueResult in interface ProjectableuniqueResult in class ProjectableQuery<SubType extends AbstractSQLQuery<SubType>>RT - return type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||