public class JDOQueryFactory extends Object implements QueryFactory<JDOQuery<?>>
| Constructor and Description |
|---|
JDOQueryFactory(javax.inject.Provider<javax.jdo.PersistenceManager> persistenceManager) |
| Modifier and Type | Method and Description |
|---|---|
JDODeleteClause |
delete(EntityPath<?> path) |
JDOQuery<?> |
from(EntityPath<?> from) |
JDOQuery<?> |
query()
Create a new Query
|
JDOQuery<Tuple> |
select(Expression<?>... exprs)
Create a new
JDOQuery instance with the given projection |
<T> JDOQuery<T> |
select(Expression<T> expr)
Create a new
JDOQuery instance with the given projection |
JDOQuery<Tuple> |
selectDistinct(Expression<?>... exprs)
Create a new
JDOQuery instance with the given projection |
<T> JDOQuery<T> |
selectDistinct(Expression<T> expr)
Create a new
JDOQuery instance with the given projection |
<T> JDOQuery<T> |
selectFrom(EntityPath<T> expr)
Create a new
JDOQuery instance with the given projection |
JDOQuery<Integer> |
selectOne()
Create a new
JDOQuery instance with the projection 1 |
JDOQuery<Integer> |
selectZero()
Create a new
JDOQuery instance with the projection 0 |
public JDOQueryFactory(javax.inject.Provider<javax.jdo.PersistenceManager> persistenceManager)
public JDODeleteClause delete(EntityPath<?> path)
public <T> JDOQuery<T> select(Expression<T> expr)
JDOQuery instance with the given projectionT - expr - projectionpublic JDOQuery<Tuple> select(Expression<?>... exprs)
JDOQuery instance with the given projectionexprs - projectionpublic <T> JDOQuery<T> selectDistinct(Expression<T> expr)
JDOQuery instance with the given projectionT - expr - projectionpublic JDOQuery<Tuple> selectDistinct(Expression<?>... exprs)
JDOQuery instance with the given projectionexprs - projectionpublic JDOQuery<Integer> selectZero()
JDOQuery instance with the projection 0public JDOQuery<Integer> selectOne()
JDOQuery instance with the projection 1public <T> JDOQuery<T> selectFrom(EntityPath<T> expr)
JDOQuery instance with the given projectionT - expr - projection and sourcepublic JDOQuery<?> from(EntityPath<?> from)
public JDOQuery<?> query()
QueryFactoryquery in interface QueryFactory<JDOQuery<?>>Copyright © 2007–2015 Mysema Ltd. All rights reserved.