com.mysema.query.jpa
Class AbstractSQLQuery<T extends AbstractSQLQuery<T>>
java.lang.Object
   com.mysema.query.support.QueryBase<Q>
com.mysema.query.support.QueryBase<Q>
       com.mysema.query.support.ProjectableQuery<T>
com.mysema.query.support.ProjectableQuery<T>
           com.mysema.query.jpa.AbstractSQLQuery<T>
com.mysema.query.jpa.AbstractSQLQuery<T>
- Type Parameters:
- T-
- All Implemented Interfaces: 
- Projectable
- Direct Known Subclasses: 
- HibernateSQLQuery, JPASQLQuery
- public abstract class AbstractSQLQuery<T extends AbstractSQLQuery<T>> 
- extends ProjectableQuery<T>
Abstract super class for SQLQuery implementation for JPA and Hibernate
- Author:
- tiwe
 
 
 
| Method Summary | 
|  long | count()return the amount of matched rows
 | 
|  boolean | exists()
 | 
|  T | from(Expression<?>... args)
 | 
|  T | from(SubQueryExpression<?> subQuery,
     Path<?> alias)
 | 
| 
 | fullJoin(ForeignKey<E> key,
         RelationalPath<E> entity)
 | 
|  T | fullJoin(RelationalPath<?> o)
 | 
|  T | fullJoin(SubQueryExpression<?> o,
         Path<?> alias)
 | 
|  QueryMetadata | getMetadata()
 | 
| 
 | innerJoin(ForeignKey<E> key,
          RelationalPath<E> entity)
 | 
|  T | innerJoin(RelationalPath<?> o)
 | 
|  T | innerJoin(SubQueryExpression<?> o,
          Path<?> alias)
 | 
| 
 | join(ForeignKey<E> key,
     RelationalPath<E> entity)
 | 
|  T | join(RelationalPath<?> o)
 | 
|  T | join(SubQueryExpression<?> o,
     Path<?> alias)
 | 
| 
 | leftJoin(ForeignKey<E> key,
         RelationalPath<E> entity)
 | 
|  T | leftJoin(RelationalPath<?> o)
 | 
|  T | leftJoin(SubQueryExpression<?> o,
         Path<?> alias)
 | 
|  T | on(Predicate... conditions)
 | 
| 
 | rightJoin(ForeignKey<E> key,
          RelationalPath<E> entity)
 | 
|  T | rightJoin(RelationalPath<?> o)
 | 
|  T | rightJoin(SubQueryExpression<?> o,
          Path<?> alias)
 | 
 
| Methods inherited from class com.mysema.query.support.ProjectableQuery | 
| countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, list, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, notExists, uniqueResult, uniqueResult, uniqueResult | 
 
 
 
 
AbstractSQLQuery
public AbstractSQLQuery(QueryMetadata metadata)
count
public long count()
- Description copied from interface: Projectable
- return the amount of matched rows
 
- 
 
exists
public boolean exists()
- 
- Returns:
- true, if rows matching the given criteria exist, otherwise false
 
from
public T from(Expression<?>... args)
- 
 
from
public T from(SubQueryExpression<?> subQuery,
              Path<?> alias)
- 
 
fullJoin
public <E> T fullJoin(ForeignKey<E> key,
                      RelationalPath<E> entity)
- 
 
fullJoin
public T fullJoin(RelationalPath<?> o)
- 
 
fullJoin
public T fullJoin(SubQueryExpression<?> o,
                  Path<?> alias)
- 
 
getMetadata
public QueryMetadata getMetadata()
- 
 
innerJoin
public <E> T innerJoin(ForeignKey<E> key,
                       RelationalPath<E> entity)
- 
 
innerJoin
public T innerJoin(RelationalPath<?> o)
- 
 
innerJoin
public T innerJoin(SubQueryExpression<?> o,
                   Path<?> alias)
- 
 
join
public <E> T join(ForeignKey<E> key,
                  RelationalPath<E> entity)
- 
 
join
public T join(RelationalPath<?> o)
- 
 
join
public T join(SubQueryExpression<?> o,
              Path<?> alias)
- 
 
leftJoin
public <E> T leftJoin(ForeignKey<E> key,
                      RelationalPath<E> entity)
- 
 
leftJoin
public T leftJoin(RelationalPath<?> o)
- 
 
leftJoin
public T leftJoin(SubQueryExpression<?> o,
                  Path<?> alias)
- 
 
on
public T on(Predicate... conditions)
- 
 
rightJoin
public <E> T rightJoin(ForeignKey<E> key,
                       RelationalPath<E> entity)
- 
 
rightJoin
public T rightJoin(RelationalPath<?> o)
- 
 
rightJoin
public T rightJoin(SubQueryExpression<?> o,
                   Path<?> alias)
- 
 
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.