public class GenericObjectQuery<T> extends QueryConditionImpl implements ObjectQuery<T>
| Constructor and Description |
|---|
GenericObjectQuery(Class<T> clazz) |
GenericObjectQuery(InternalQueryBuilder builder,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
box(boolean b)
Box a boolean.
|
Byte |
box(byte b)
Box a byte.
|
Character |
box(char c)
Box a char.
|
Double |
box(double d)
Box a double.
|
Float |
box(float f)
Box a float.
|
Integer |
box(int i)
Box an int.
|
Long |
box(long l)
Box an long.
|
Short |
box(short s)
Box an short.
|
void |
clear() |
InternalQueryBuilder |
getBuilder() |
Class<T> |
getTargetClass() |
HavingCondition |
having(Object projection,
ProjectionType type)
Declare an having condition on projection.
|
void |
order(Object order)
Add an order condition to query.
|
void |
order(Object order,
OrderType type)
Add an order to query.
|
void |
order(Object order,
ProjectionType projectionType,
OrderType type)
Add an order to query.
|
void |
prj(Object projection)
Add a projection to query.
|
void |
prj(Object projection,
ProjectionType type)
Add a projection to query with an operator.
|
Object |
proxy(Class<?> clazz,
PathItem parent,
String name) |
T |
target()
Retrieve the instance to build query.
|
and, between, condition, contains, eq, in, like, likeNc, max, maxEq, min, minEq, notContains, notEq, notIn, notLike, notLikeNc, orpublic GenericObjectQuery(InternalQueryBuilder builder, Class<T> clazz)
public T target()
ObjectQuerytarget in interface ObjectQuery<T>public void prj(Object projection)
ObjectQueryprj in interface ObjectQuery<T>projection - the projection object to add.public void prj(Object projection, ProjectionType type)
ObjectQueryprj in interface ObjectQuery<T>projection - the projection object to add.type - the type of projection to add.public void order(Object order)
ObjectQueryorder in interface ObjectQuery<T>order - the order to add.public void order(Object order, OrderType type)
ObjectQueryorder in interface ObjectQuery<T>order - the order to add.type - the type of order.public void order(Object order, ProjectionType projectionType, OrderType type)
ObjectQueryorder in interface ObjectQuery<T>order - the order to add.projectionType - the tipe of projection for grouping actions in order.type - the type of order.public Boolean box(boolean b)
ObjectQuerybox in interface ObjectQuery<T>b - to boxpublic Byte box(byte b)
ObjectQuerybox in interface ObjectQuery<T>b - to box.public Character box(char c)
ObjectQuerybox in interface ObjectQuery<T>c - to box.public Double box(double d)
ObjectQuerybox in interface ObjectQuery<T>d - to box.public Float box(float f)
ObjectQuerybox in interface ObjectQuery<T>f - to box.public Integer box(int i)
ObjectQuerybox in interface ObjectQuery<T>i - to box.public Long box(long l)
ObjectQuerybox in interface ObjectQuery<T>l - to box.public Short box(short s)
ObjectQuerybox in interface ObjectQuery<T>s - to box.public InternalQueryBuilder getBuilder()
public HavingCondition having(Object projection, ProjectionType type)
ObjectQueryhaving in interface ObjectQuery<T>projection - target of condition.type - grouping operationpublic void clear()
Copyright © 2013 Object Query. All Rights Reserved.