-
- All Implemented Interfaces:
public final class QueryStructure描述查询,更新,插入,删除的一个可序列化的结构
-
-
Field Summary
Fields Modifier and Type Field Description private QueryStructureActionactionprivate Updateupdateprivate Insertinsertprivate Booleandistinctprivate List<Field>fieldsprivate QueryStructureFromfromprivate List<WhereClause>whereprivate List<OrderByClause>orderByprivate Pair<Integer, Integer>limit
-
Constructor Summary
Constructors Constructor Description QueryStructure(QueryStructureAction action, Update update, Insert insert, Boolean distinct, List<Field> fields, QueryStructureFrom from, List<WhereClause> where, List<OrderByClause> orderBy, Pair<Integer, Integer> limit)
-
Method Summary
Modifier and Type Method Description final QueryStructureActiongetAction()final UnitsetAction(QueryStructureAction action)final UpdategetUpdate()final UnitsetUpdate(Update update)final InsertgetInsert()final UnitsetInsert(Insert insert)final BooleangetDistinct()final UnitsetDistinct(Boolean distinct)final List<Field>getFields()final UnitsetFields(List<Field> fields)final QueryStructureFromgetFrom()final UnitsetFrom(QueryStructureFrom from)final List<WhereClause>getWhere()final UnitsetWhere(List<WhereClause> where)final List<OrderByClause>getOrderBy()final UnitsetOrderBy(List<OrderByClause> orderBy)final Pair<Integer, Integer>getLimit()final UnitsetLimit(Pair<Integer, Integer> limit)-
-
Constructor Detail
-
QueryStructure
QueryStructure(QueryStructureAction action, Update update, Insert insert, Boolean distinct, List<Field> fields, QueryStructureFrom from, List<WhereClause> where, List<OrderByClause> orderBy, Pair<Integer, Integer> limit)
-
-
Method Detail
-
getAction
final QueryStructureAction getAction()
-
setAction
final Unit setAction(QueryStructureAction action)
-
getDistinct
final Boolean getDistinct()
-
setDistinct
final Unit setDistinct(Boolean distinct)
-
getFrom
final QueryStructureFrom getFrom()
-
setFrom
final Unit setFrom(QueryStructureFrom from)
-
getWhere
final List<WhereClause> getWhere()
-
setWhere
final Unit setWhere(List<WhereClause> where)
-
getOrderBy
final List<OrderByClause> getOrderBy()
-
setOrderBy
final Unit setOrderBy(List<OrderByClause> orderBy)
-
-
-
-