类 MybatisFlexAutoTableAdapter

java.lang.Object
com.tangzc.mybatisflex.autotable.MybatisFlexAutoTableAdapter
所有已实现的接口:
com.tangzc.autotable.core.AutoTableOrmFrameAdapter

public class MybatisFlexAutoTableAdapter extends Object implements com.tangzc.autotable.core.AutoTableOrmFrameAdapter
作者:
don
  • 构造器详细资料

    • MybatisFlexAutoTableAdapter

      public MybatisFlexAutoTableAdapter(com.mybatisflex.spring.boot.MybatisFlexProperties mybatisFlexProperties)
  • 方法详细资料

    • isIgnoreField

      public boolean isIgnoreField(Field field, Class<?> clazz)
      指定者:
      isIgnoreField 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • isPrimary

      public boolean isPrimary(Field field, Class<?> clazz)
      指定者:
      isPrimary 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • isAutoIncrement

      public boolean isAutoIncrement(Field field, Class<?> clazz)
      指定者:
      isAutoIncrement 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • customFieldTypeHandler

      public Class<?> customFieldTypeHandler(Class<?> clazz, Field field)
      指定者:
      customFieldTypeHandler 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • getEnumValues

      public List<String> getEnumValues(Class<?> enumClassType)
      指定者:
      getEnumValues 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • scannerAnnotations

      public List<Class<? extends Annotation>> scannerAnnotations()
      指定者:
      scannerAnnotations 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • getTableName

      public String getTableName(Class<?> clazz)
      指定者:
      getTableName 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • getRealColumnName

      public String getRealColumnName(Class<?> clazz, Field field)
      根据注解顺序和配置,获取字段对应的数据库字段名
      指定者:
      getRealColumnName 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
      参数:
      field -
      返回:
    • getTableComment

      public String getTableComment(Class<?> clazz)
      指定者:
      getTableComment 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • getTableSchema

      public String getTableSchema(Class<?> clazz)
      指定者:
      getTableSchema 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • getColumnComment

      public String getColumnComment(Field field, Class<?> clazz)
      指定者:
      getColumnComment 在接口中 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
    • smartConvert

      public String smartConvert(com.mybatisflex.annotation.Table table, String column)