java.lang.Object
com.gsitm.ustra.java.data.mybatis.pagination.dialect.Dialect
Direct Known Subclasses:
MultiRoutingDataSourceDialect

public class Dialect extends Object
  • Field Details

    • typeHandlerRegistry

      protected org.apache.ibatis.type.TypeHandlerRegistry typeHandlerRegistry
    • mappedStatement

      protected org.apache.ibatis.mapping.MappedStatement mappedStatement
    • pageBounds

      protected PageBounds pageBounds
    • parameterObject

      protected Object parameterObject
    • boundSql

      protected org.apache.ibatis.mapping.BoundSql boundSql
    • parameterMappings

      protected List<org.apache.ibatis.mapping.ParameterMapping> parameterMappings
    • pageParameters

      protected Map<String,Object> pageParameters
    • pageSQL

      protected String pageSQL
    • countSQL

      protected String countSQL
  • Constructor Details

    • Dialect

      public Dialect(org.apache.ibatis.mapping.MappedStatement mappedStatement, Object parameterObject, PageBounds pageBounds)
  • Method Details

    • init

      protected void init()
    • createSql

      protected void createSql()
    • getParameterMappings

      public List<org.apache.ibatis.mapping.ParameterMapping> getParameterMappings()
    • getParameterObject

      public Object getParameterObject()
    • getPageSQL

      public String getPageSQL()
    • setPageParameter

      public void setPageParameter(String name, Object value, Class<?> type)
    • getCountSQL

      public String getCountSQL()
    • getLimitString

      protected String getLimitString(String sql, int offset, int limit, List<Order> orders)
    • getCountString

      protected String getCountString(String sql)