Class QueryImpl

java.lang.Object
cool.scx.data.query.QueryImpl
All Implemented Interfaces:
Query

public final class QueryImpl extends Object implements Query
QueryImpl
Version:
0.0.1
Author:
scx567888
  • Constructor Details

    • QueryImpl

      public QueryImpl()
    • QueryImpl

      public QueryImpl(Query oldQuery)
  • Method Details

    • where

      public QueryImpl where(Where where)
      Description copied from interface: Query
      设置 过滤条件
      Specified by:
      where in interface Query
    • orderBys

      public QueryImpl orderBys(OrderBy... orderBys)
      Description copied from interface: Query
      设置 排序列表
      Specified by:
      orderBys in interface Query
    • offset

      public QueryImpl offset(long offset)
      Description copied from interface: Query
      设置 偏移量
      Specified by:
      offset in interface Query
    • limit

      public QueryImpl limit(long limit)
      Description copied from interface: Query
      设置 limit
      Specified by:
      limit in interface Query
    • getWhere

      public Where getWhere()
      Description copied from interface: Query
      获取 过滤条件
      Specified by:
      getWhere in interface Query
    • getOrderBys

      public OrderBy[] getOrderBys()
      Description copied from interface: Query
      获取 排序列表
      Specified by:
      getOrderBys in interface Query
    • getOffset

      public Long getOffset()
      Description copied from interface: Query
      获取 偏移量
      Specified by:
      getOffset in interface Query
    • getLimit

      public Long getLimit()
      Description copied from interface: Query
      获取 limit
      Specified by:
      getLimit in interface Query
    • clearWhere

      public QueryImpl clearWhere()
      Description copied from interface: Query
      清除 过滤条件
      Specified by:
      clearWhere in interface Query
    • clearOrderBys

      public QueryImpl clearOrderBys()
      Description copied from interface: Query
      清除 排序列表
      Specified by:
      clearOrderBys in interface Query
    • clearOffset

      public QueryImpl clearOffset()
      Description copied from interface: Query
      清除 偏移量
      Specified by:
      clearOffset in interface Query
    • clearLimit

      public QueryImpl clearLimit()
      Description copied from interface: Query
      清除 limit
      Specified by:
      clearLimit in interface Query
    • orderBy

      public QueryImpl orderBy(OrderBy... orderBys)
      Description copied from interface: Query
      追加 排序
      Specified by:
      orderBy in interface Query
    • asc

      public QueryImpl asc(String selector, BuildControl... controls)
      Description copied from interface: Query
      追加 正序
      Specified by:
      asc in interface Query
    • desc

      public QueryImpl desc(String selector, BuildControl... controls)
      Description copied from interface: Query
      追加 倒序
      Specified by:
      desc in interface Query