所有已知子接口:
ConfigInfoBetaMapper, ConfigInfoGrayMapper, ConfigInfoMapper, ConfigInfoTagMapper, ConfigMigrateMapper, ConfigTagsRelationMapper, GroupCapacityMapper, HistoryConfigInfoMapper, TenantCapacityMapper, TenantInfoMapper
所有已知实现类:
AbstractMapper, AbstractMapperByDerby, AbstractMapperByMysql, ConfigInfoBetaMapperByDerby, ConfigInfoBetaMapperByMySql, ConfigInfoGrayMapperByDerby, ConfigInfoGrayMapperByMySql, ConfigInfoMapperByDerby, ConfigInfoMapperByMySql, ConfigInfoTagMapperByDerby, ConfigInfoTagMapperByMySql, ConfigInfoTagsRelationMapperByDerby, ConfigMigrateMapperByDerby, ConfigMigrateMapperByMysql, ConfigTagsRelationMapperByMySql, GroupCapacityMapperByDerby, GroupCapacityMapperByMysql, HistoryConfigInfoMapperByDerby, HistoryConfigInfoMapperByMySql, TenantCapacityMapperByDerby, TenantCapacityMapperByMySql, TenantInfoMapperByDerby, TenantInfoMapperByMySql

public interface Mapper
The parent class of the all mappers.
作者:
hyx
  • 方法详细资料

    • select

      String select(List<String> columns, List<String> where)
      The select method contains columns and where params.
      参数:
      columns - The columns
      where - The where params
      返回:
      The sql of select
    • insert

      String insert(List<String> columns)
      The insert method contains columns.
      参数:
      columns - The columns
      返回:
      The sql of insert
    • update

      String update(List<String> columns, List<String> where)
      The update method contains columns and where params.
      参数:
      columns - The columns
      where - The where params
      返回:
      The sql of update
    • delete

      String delete(List<String> params)
      The delete method contains.
      参数:
      params - The params
      返回:
      The sql of delete
    • count

      String count(List<String> where)
      The count method contains where params.
      参数:
      where - The where params
      返回:
      The sql of count
    • getTableName

      String getTableName()
      Get the name of table.
      返回:
      The name of table.
    • getDataSource

      String getDataSource()
      Get the datasource name.
      返回:
      The name of datasource.
    • getPrimaryKeyGeneratedKeys

      String[] getPrimaryKeyGeneratedKeys()
      Get config_info table primary keys name. The old default value: Statement.RETURN_GENERATED_KEYS The new default value: new String[]{"id"}
      返回:
      an array of column names indicating the columns
    • getFunction

      String getFunction(String functionName)
      Get function by functionName.
      参数:
      functionName - functionName
      返回:
      function