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 @Nullable SqlTable table()
    • tableAlias

      public @Nullable String tableAlias()
    • whereModel

      public @Nullable EmbeddedWhereModel whereModel()
    • limit

      public @Nullable Long limit()
    • orderByModel

      public @Nullable OrderByModel orderByModel()
    • statementConfiguration

      public @Nullable StatementConfiguration statementConfiguration()
    • withTable

      public T withTable(SqlTable table)
    • withTableAlias

      public T withTableAlias(@Nullable String tableAlias)
    • withWhereModel

      public T withWhereModel(@Nullable EmbeddedWhereModel whereModel)
    • withLimit

      public T withLimit(@Nullable Long limit)
    • withOrderByModel

      public T withOrderByModel(@Nullable OrderByModel orderByModel)
    • withStatementConfiguration

      public T withStatementConfiguration(StatementConfiguration statementConfiguration)
    • getThis

      protected abstract T getThis()