public abstract class JPAQueryBase<Q extends JPAQueryBase<Q>> extends ProjectableQuery<Q>
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManager |
entityManager |
protected JPAQueryMixin<Q> |
queryMixin |
Constructor and Description |
---|
JPAQueryBase(QueryMetadata md,
JPQLTemplates templates,
javax.persistence.EntityManager entityManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
buildQueryString(boolean forCountRow) |
boolean |
exists() |
Q |
fetch() |
Q |
fetchAll() |
Q |
from(EntityPath<?>... args) |
Q |
from(EntityPath<?> arg) |
<P> Q |
fullJoin(CollectionExpression<?,P> target) |
<P> Q |
fullJoin(CollectionExpression<?,P> target,
Path<P> alias) |
<P> Q |
fullJoin(EntityPath<P> target) |
<P> Q |
fullJoin(EntityPath<P> target,
Path<P> alias) |
<P> Q |
fullJoin(MapExpression<?,P> target) |
<P> Q |
fullJoin(MapExpression<?,P> target,
Path<P> alias) |
protected Map<Object,String> |
getConstants() |
QueryMetadata |
getMetadata() |
protected JPQLTemplates |
getTemplates() |
<P> Q |
innerJoin(CollectionExpression<?,P> target) |
<P> Q |
innerJoin(CollectionExpression<?,P> target,
Path<P> alias) |
<P> Q |
innerJoin(EntityPath<P> target) |
<P> Q |
innerJoin(EntityPath<P> target,
Path<P> alias) |
<P> Q |
innerJoin(MapExpression<?,P> target) |
<P> Q |
innerJoin(MapExpression<?,P> target,
Path<P> alias) |
<P> Q |
join(CollectionExpression<?,P> target) |
<P> Q |
join(CollectionExpression<?,P> target,
Path<P> alias) |
<P> Q |
join(EntityPath<P> target) |
<P> Q |
join(EntityPath<P> target,
Path<P> alias) |
<P> Q |
join(MapExpression<?,P> target) |
<P> Q |
join(MapExpression<?,P> target,
Path<P> alias) |
<P> Q |
leftJoin(CollectionExpression<?,P> target) |
<P> Q |
leftJoin(CollectionExpression<?,P> target,
Path<P> alias) |
<P> Q |
leftJoin(EntityPath<P> target) |
<P> Q |
leftJoin(EntityPath<P> target,
Path<P> alias) |
<P> Q |
leftJoin(MapExpression<?,P> target) |
<P> Q |
leftJoin(MapExpression<?,P> target,
Path<P> alias) |
Q |
on(Predicate... conditions) |
Q |
on(Predicate condition) |
protected void |
reset() |
<P> Q |
rightJoin(CollectionExpression<?,P> target) |
<P> Q |
rightJoin(CollectionExpression<?,P> target,
Path<P> alias) |
<P> Q |
rightJoin(EntityPath<P> target) |
<P> Q |
rightJoin(EntityPath<P> target,
Path<P> alias) |
<P> Q |
rightJoin(MapExpression<?,P> target) |
<P> Q |
rightJoin(MapExpression<?,P> target,
Path<P> alias) |
protected void |
setConstants(Map<Object,String> constants) |
protected String |
toCountRowsString() |
protected String |
toQueryString() |
String |
toString() |
countDistinct, iterateDistinct, iterateDistinct, list, list, listDistinct, listDistinct, listDistinctResults, map, notExists, singleResult, singleResult, transform, uniqueResult
distinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
count, iterate, iterate, listResults, listResults, uniqueResult, uniqueResult
protected final JPAQueryMixin<Q extends JPAQueryBase<Q>> queryMixin
@Nullable protected final javax.persistence.EntityManager entityManager
public JPAQueryBase(QueryMetadata md, JPQLTemplates templates, @Nullable javax.persistence.EntityManager entityManager)
protected JPQLTemplates getTemplates()
protected String buildQueryString(boolean forCountRow)
protected void reset()
public boolean exists()
public Q fetch()
public Q fetchAll()
public Q from(EntityPath<?> arg)
public Q from(EntityPath<?>... args)
public <P> Q fullJoin(CollectionExpression<?,P> target)
public <P> Q fullJoin(CollectionExpression<?,P> target, Path<P> alias)
public <P> Q fullJoin(EntityPath<P> target)
public <P> Q fullJoin(EntityPath<P> target, Path<P> alias)
public <P> Q fullJoin(MapExpression<?,P> target)
public <P> Q fullJoin(MapExpression<?,P> target, Path<P> alias)
public <P> Q innerJoin(CollectionExpression<?,P> target)
public <P> Q innerJoin(CollectionExpression<?,P> target, Path<P> alias)
public <P> Q innerJoin(EntityPath<P> target)
public <P> Q innerJoin(EntityPath<P> target, Path<P> alias)
public <P> Q innerJoin(MapExpression<?,P> target)
public <P> Q innerJoin(MapExpression<?,P> target, Path<P> alias)
public <P> Q join(CollectionExpression<?,P> target)
public <P> Q join(CollectionExpression<?,P> target, Path<P> alias)
public <P> Q join(EntityPath<P> target)
public <P> Q join(EntityPath<P> target, Path<P> alias)
public <P> Q join(MapExpression<?,P> target)
public <P> Q join(MapExpression<?,P> target, Path<P> alias)
public <P> Q leftJoin(CollectionExpression<?,P> target)
public <P> Q leftJoin(CollectionExpression<?,P> target, Path<P> alias)
public <P> Q leftJoin(EntityPath<P> target)
public <P> Q leftJoin(EntityPath<P> target, Path<P> alias)
public <P> Q leftJoin(MapExpression<?,P> target)
public <P> Q leftJoin(MapExpression<?,P> target, Path<P> alias)
public <P> Q rightJoin(CollectionExpression<?,P> target)
public <P> Q rightJoin(CollectionExpression<?,P> target, Path<P> alias)
public <P> Q rightJoin(EntityPath<P> target)
public <P> Q rightJoin(EntityPath<P> target, Path<P> alias)
public <P> Q rightJoin(MapExpression<?,P> target)
public <P> Q rightJoin(MapExpression<?,P> target, Path<P> alias)
protected String toCountRowsString()
protected String toQueryString()
public QueryMetadata getMetadata()
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.