public interface InternalQueryBuilder extends InternalConditionBuilder
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all object used for build query and the object can be reused for
build another query.
|
void |
having(PathItem item,
ProjectionType projectionType,
ConditionType conditionType,
Object value)
Create Add a new having item
|
void |
having(SelectQuery<?> item,
ProjectionType projectionType,
ConditionType conditionType,
Object value)
Create Add a new having item
|
void |
init(QueryType type)
Initialize the current builder for the specified query type.
|
void |
order(PathItem item,
ProjectionType projectionType,
OrderType type)
Add an order to query.
|
void |
order(SelectQuery<?> order,
ProjectionType projectionType,
OrderType type)
Add an sub query order to query.
|
void |
projection(PathItem item,
ProjectionType type)
Add a projection to query with an operator.
|
void |
projection(SelectQuery<?> projection,
ProjectionType type)
Add a sub Query projection to query with an operator.
|
void |
set(PathItem target,
Object value)
Create and add a new set Item.
|
condition, newGroup
void init(QueryType type)
type
- the type of the query.void projection(PathItem item, ProjectionType type)
item
- the projection object to add.type
- the type of projection to add.void projection(SelectQuery<?> projection, ProjectionType type)
item
- the sub Query projection object to add.type
- the type of projection to add.void order(SelectQuery<?> order, ProjectionType projectionType, OrderType type)
item
- the order to add.projectionType
- the gruping function in the order.type
- the type of order.void order(PathItem item, ProjectionType projectionType, OrderType type)
item
- the order to add.projectionType
- the gruping function in the order.type
- the type of order.void having(PathItem item, ProjectionType projectionType, ConditionType conditionType, Object value)
item
- having operation targetprojectionType
- the type of having projection.conditionType
- the type of having condition.value
- the condition value.void having(SelectQuery<?> item, ProjectionType projectionType, ConditionType conditionType, Object value)
item
- having operation targetprojectionType
- the type of having projection.conditionType
- the type of having condition.value
- the condition value.void set(PathItem target, Object value)
target
- of the set operation.value
- the value of the operation.void clear()
Copyright © 2014 Object Query. All rights reserved.