public final class JDOExpressions extends Object
Modifier and Type | Method and Description |
---|---|
static JDOQuery<Tuple> |
select(Expression<?>... exprs)
Create a new detached
JDOQuery instance with the given projection |
static <T> JDOQuery<T> |
select(Expression<T> expr)
Create a new detached
JDOQuery instance with the given projection |
static JDOQuery<Tuple> |
selectDistinct(Expression<?>... exprs)
Create a new detached
JDOQuery instance with the given projection |
static <T> JDOQuery<T> |
selectDistinct(Expression<T> expr)
Create a new detached
JDOQuery instance with the given projection |
static <T> JDOQuery<T> |
selectFrom(EntityPath<T> expr)
Create a new detached
JDOQuery instance with the given projection |
static JDOQuery<Integer> |
selectOne()
Create a new detached
JDOQuery instance with the projection 1 |
static JDOQuery<Integer> |
selectZero()
Create a new detached
JDOQuery instance with the given projection 0 |
public static <T> JDOQuery<T> select(Expression<T> expr)
JDOQuery
instance with the given projectionT
- expr
- projectionpublic static JDOQuery<Tuple> select(Expression<?>... exprs)
JDOQuery
instance with the given projectionexprs
- projectionpublic static <T> JDOQuery<T> selectDistinct(Expression<T> expr)
JDOQuery
instance with the given projectionT
- expr
- projectionpublic static JDOQuery<Tuple> selectDistinct(Expression<?>... exprs)
JDOQuery
instance with the given projectionexprs
- projectionpublic static JDOQuery<Integer> selectZero()
JDOQuery
instance with the given projection 0public static JDOQuery<Integer> selectOne()
JDOQuery
instance with the projection 1public static <T> JDOQuery<T> selectFrom(EntityPath<T> expr)
JDOQuery
instance with the given projectionT
- expr
- projection and sourceCopyright © 2007–2016 Querydsl. All rights reserved.