Class CommonBuilder<T extends CommonBuilder<T>>

java.lang.Object
org.mybatis.dynamic.sql.common.CommonBuilder<T>
Type Parameters:
T - type of the implementing builder
Direct Known Subclasses:
DeleteModel.Builder, UpdateModel.Builder

public abstract class CommonBuilder<T extends CommonBuilder<T>> extends Object
Builder class shared between the delete and update model builders.
  • Constructor Details

    • CommonBuilder

      public CommonBuilder()
  • Method Details

    • table

      public SqlTable table()
    • tableAlias

      public String tableAlias()
    • whereModel

      public EmbeddedWhereModel whereModel()
    • limit

      public Long limit()
    • orderByModel

      public OrderByModel orderByModel()
    • statementConfiguration

      public StatementConfiguration statementConfiguration()
    • withTable

      public T withTable(SqlTable table)
    • withTableAlias

      public T withTableAlias(String tableAlias)
    • withWhereModel

      public T withWhereModel(EmbeddedWhereModel whereModel)
    • withLimit

      public T withLimit(Long limit)
    • withOrderByModel

      public T withOrderByModel(OrderByModel orderByModel)
    • withStatementConfiguration

      public T withStatementConfiguration(StatementConfiguration statementConfiguration)
    • getThis

      protected abstract T getThis()