|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.common.query.DsqlQuery
public class DsqlQuery
Representation of the DSQL query.
It is highly recommended for translating it define your own DefaultQueryVisitor and DefaultOperatorVisitor.
| Field Summary | |
|---|---|
protected Direction |
direction
Direction to determine the ascending or descending sorting |
protected List<Field> |
fields
Fields to be retrieved |
protected Expression |
filterExpression
Expression which contains the filter conditions |
protected Expression |
joinExpression
Expression for joining the different types |
protected int |
limit
|
protected int |
offset
|
protected List<Field> |
orderByFields
Fields for sorting the query |
protected List<Type> |
types
Type or types to be queried |
| Constructor Summary | |
|---|---|
DsqlQuery()
|
|
| Method Summary | |
|---|---|
void |
accept(QueryVisitor queryVisitor)
|
void |
addField(Field field)
|
void |
addOrderField(Field orderByField)
|
void |
addType(Type type)
|
Direction |
getDirection()
|
List<Field> |
getFields()
|
Expression |
getFilterExpression()
|
Expression |
getJoinExpression()
|
int |
getLimit()
|
int |
getOffset()
|
List<Field> |
getOrderByFields()
|
List<Type> |
getTypes()
|
boolean |
hasDirection()
|
void |
setDirection(Direction direction)
|
void |
setFilterExpression(Expression filterExpression)
|
void |
setJoinExpression(Expression joinExpression)
|
void |
setLimit(int limit)
|
void |
setOffset(int offset)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Type> types
protected List<Field> fields
protected List<Field> orderByFields
protected Direction direction
protected Expression filterExpression
protected Expression joinExpression
protected int limit
protected int offset
| Constructor Detail |
|---|
public DsqlQuery()
| Method Detail |
|---|
public List<Field> getFields()
getFields in interface Querypublic List<Field> getOrderByFields()
getOrderByFields in interface Querypublic Direction getDirection()
getDirection in interface Querypublic Expression getFilterExpression()
getFilterExpression in interface Querypublic List<Type> getTypes()
getTypes in interface Querypublic Expression getJoinExpression()
getJoinExpression in interface Querypublic int getLimit()
getLimit in interface Querypublic int getOffset()
getOffset in interface Querypublic void addType(Type type)
addType in interface Querypublic void addField(Field field)
addField in interface Querypublic void addOrderField(Field orderByField)
addOrderField in interface Querypublic void setDirection(Direction direction)
setDirection in interface Querypublic void setFilterExpression(Expression filterExpression)
setFilterExpression in interface Querypublic void setJoinExpression(Expression joinExpression)
setJoinExpression in interface Querypublic void setLimit(int limit)
setLimit in interface Querypublic void setOffset(int offset)
setOffset in interface Querypublic void accept(QueryVisitor queryVisitor)
accept in interface Querypublic boolean hasDirection()
hasDirection in interface Query
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||