public class GenericInternalQueryBuilder extends ConditionGroup implements InternalQueryBuilder
| Constructor and Description |
|---|
GenericInternalQueryBuilder(GroupType type) |
| Modifier and Type | Method and Description |
|---|---|
static void |
buildPath(PathItem item,
StringBuilder builder) |
static void |
buildPath(PathItem item,
StringBuilder builder,
String separator) |
void |
clear()
Clear all object used for build query and the object can be reused for
build another query.
|
List<Having> |
getHavings() |
List<Order> |
getOrders() |
List<Projection> |
getProjections() |
void |
having(PathItem item,
ProjectionType projectionType,
ConditionType conditionType,
Object value)
Create Add a new having item
|
void |
order(PathItem item,
ProjectionType projectionType,
OrderType type)
Add an order to query.
|
void |
projection(PathItem item,
ProjectionType type)
Add a projection to query with an operator.
|
condition, getConditions, getType, newGroupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcondition, newGrouppublic GenericInternalQueryBuilder(GroupType type)
public static void buildPath(PathItem item, StringBuilder builder)
public static void buildPath(PathItem item, StringBuilder builder, String separator)
public void order(PathItem item, ProjectionType projectionType, OrderType type)
InternalQueryBuilderorder in interface InternalQueryBuilderitem - the order to add.projectionType - the gruping function in the order.type - the type of order.public void projection(PathItem item, ProjectionType type)
InternalQueryBuilderprojection in interface InternalQueryBuilderitem - the projection object to add.type - the type of projection to add.public void having(PathItem item, ProjectionType projectionType, ConditionType conditionType, Object value)
InternalQueryBuilderhaving in interface InternalQueryBuilderitem - having operation targetprojectionType - the type of having projection.conditionType - the type of having condition.value - the condition value.public List<Projection> getProjections()
public void clear()
InternalQueryBuilderclear in interface ConditionElementclear in interface InternalQueryBuilderclear in class ConditionGroupCopyright © 2013 Object Query. All Rights Reserved.