|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.Projections
public final class Projections
Factory class for FactoryExpression instances
Method Summary | ||
---|---|---|
static
|
array(Class<T[]> type,
Expression<T>... exprs)
Create a typed array projection for the given type and expressions |
|
static
|
bean(Class<T> type,
Expression<?>... exprs)
Create a Bean populating projection for the given type and expressions |
|
static
|
bean(Path<T> type,
Expression<?>... exprs)
Create a Bean populating projection for the given type and expressions |
|
static
|
constructor(Class<T> type,
Expression<?>... exprs)
Create a constructor invocation projection for the given type and expressions |
|
static
|
fields(Class<T> type,
Expression<?>... exprs)
Create a field access based Bean populating projection for the given type and expressions |
|
static
|
fields(Path<T> type,
Expression<?>... exprs)
Create a field access based Bean populating projection for the given type and expressions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> ArrayConstructorExpression<T> array(Class<T[]> type, Expression<T>... exprs)
T
- type
- type of the projectionexprs
- arguments for the projection
public static <T> QBean<T> bean(Class<T> type, Expression<?>... exprs)
T
- type
- type of the projectionexprs
- arguments for the projection
public static <T> QBean<T> bean(Path<T> type, Expression<?>... exprs)
T
- type
- type of the projectionexprs
- arguments for the projection
public static <T> ConstructorExpression<T> constructor(Class<T> type, Expression<?>... exprs)
T
- type
- type of the projectionexprs
- arguments for the projection
public static <T> QBean<T> fields(Class<T> type, Expression<?>... exprs)
T
- type
- type of the projectionexprs
- arguments for the projection
public static <T> QBean<T> fields(Path<T> type, Expression<?>... exprs)
T
- type
- type of the projectionexprs
- arguments for the projection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |