- g(Company) - 类 中的方法com.lab.dao.BDao
-
- getAddress() - 类 中的方法com.lab.model.Company
-
- getAge() - 类 中的方法com.lab.model.Company
-
- getAllModelField() - 类 中的静态方法com.github.youyinnn.youdbutils.dao.model.ModelTableMessage
-
返回一个map 里面保存了所有model和其所有model字段组成的列表的键值对
- getAllModelNameSet() - 类 中的静态方法com.github.youyinnn.youdbutils.dao.model.ModelTableMessage
-
返回所有的Model名字组成的set集合
- getAllModelTableFieldMapping() - 类 中的静态方法com.github.youyinnn.youdbutils.dao.model.ModelTableMessage
-
返回一个map 里面保存了所有的model名和其对应的FieldMapping对象组成的键值对
- getAllTableField() - 类 中的静态方法com.github.youyinnn.youdbutils.dao.model.ModelTableMessage
-
返回一个map 里面保存了所有table和其所有model字段组成的列表的键值对
- getbDao() - 类 中的方法com.lab.service.BService
-
- getbService() - 类 中的方法com.lab.service.AService
-
- getClassName() - 类 中的方法com.github.youyinnn.youdbutils.ioc.ServiceIocBean
-
- getConn(String) - 类 中的静态方法com.lab.helloworld.MySQLiteUtils
-
- getConn(String, boolean) - 类 中的静态方法com.lab.helloworld.MySQLiteUtils
-
- getCService() - 类 中的方法com.lab.service.BService
-
- getCurrentDataSourceConn() - 类 中的方法com.github.youyinnn.youdbutils.druid.YouDruid
-
- getDao(Class) - 类 中的静态方法com.github.youyinnn.youdbutils.dao.YouDaoContainer
-
- getDeclaredFields(Object, Class) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.ReflectionUtils
-
获取对象中有对应注解的所有field
- getDeleteSql(String, String, Set<String>) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
获取一个用于删除的语句 只接收条件set 条件使用指定的separateMark连接
- getFieldMapping(String) - 类 中的静态方法com.github.youyinnn.youdbutils.dao.model.ModelTableMessage
-
获取对应Model类的FieldMapping对象
- getFieldValue(Object, String) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.ReflectionUtils
-
直接读取对象的属性值, 忽略 private/protected 修饰符, 也不经过 getter
- getId() - 类 中的方法com.lab.model.Company
-
- getInsertSql(String, Set<String>) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
获取一个用于插入记录的语句 只接收要更新的字段名 其中insertFieldSet不能为空
- getList(String) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
Gets list.
- getList(String) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getListForAll(ArrayList<String>) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
获取这个model类的所有记录
- getListForAll(ArrayList<String>) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getListWhere(HashMap<String, Object>, ArrayList<String>, String) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
获取这个model的符合字段值条件的记录 条件之间使用separateMark连接
- getListWhere(HashMap<String, Object>, ArrayList<String>, String) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getListWhereLike(HashMap<String, Object>, ArrayList<String>, String) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
获取这个model的模糊符合字段值条件的记录 条件之间使用separateMark连接
- getListWhereLike(HashMap<String, Object>, ArrayList<String>, String) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getLog4j2Filter() - 类 中的方法com.github.youyinnn.youdbutils.druid.filter.YouLog4j2Filter
-
获取一个正常的Log4j2Filter 即开关值取默认值
- getModel(String) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
Gets model.
- getModel(String, ArrayList<String>) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
Gets model.
- getModel(HashMap<String, Object>, ArrayList<String>, String) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
获取单个Model对象
- getModel(String) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getModel(String, ArrayList<String>) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getModel(HashMap<String, Object>, ArrayList<String>, String) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getModelClass() - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getModelFieldList(String) - 类 中的静态方法com.github.youyinnn.youdbutils.dao.model.ModelTableMessage
-
获取某个model对应的字段list
- getModelFieldValue(String, HashMap<String, Object>, String) - 接口 中的方法com.github.youyinnn.youdbutils.dao.interfaces.ModelHandler
-
获取单个记录的某个值
- getModelFieldValue(String, HashMap<String, Object>, String) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getModelResultFactory() - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelHandler
-
- getName() - 类 中的方法com.lab.model.Company
-
- getNoneffectiveUpdateFlag() - 类 中的静态方法com.github.youyinnn.youdbutils.druid.ThreadLocalPropContainer
-
- getProxyObject(Class) - 类 中的静态方法com.github.youyinnn.youdbutils.ioc.proxy.TransactionProxyGenerator
-
- getResultModel(ResultSet) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelResultFactory
-
- getResultModelList(ResultSet) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.ModelResultFactory
-
- getRollbackFlag() - 类 中的静态方法com.github.youyinnn.youdbutils.druid.ThreadLocalPropContainer
-
- getSalary() - 类 中的方法com.lab.model.Company
-
- getScope() - 类 中的方法com.github.youyinnn.youdbutils.ioc.ServiceIocBean
-
- getSelectAllSql(String, ArrayList<String>) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
获取一个查询所有记录的语句 也即不带条件
exp:
1 当queryFieldList为空的时候
SELECT * FROM tableName
2 当不为空的时候
SELECT field1, field2, ... , fieldn
FROM tableName
- getSelectFromSubStr(StringBuffer, ArrayList<String>) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
检查queryFieldList是否为空 来构造tableName之前的Sql语句
- getSelectFromWhereLikeSql(String, HashMap<String, Object>, String, ArrayList<String>) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
获取一个带模糊查询的语句 条件值全一律用%包着 条件全部使用选定的separateMark连接
exp:
1 当separate为AND、queryFieldList为空的时候
SELECT *
FROM tableName
WHERE key1 LIKE '%value1%' AND key2 LIKE '%value2%' ...
- getSelectFromWhereSql(String, Set<String>, String, ArrayList<String>) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
获取一个带条件查询的语句 条件全部使用选定的separate连接
exp:
1 当separate为AND、queryFieldList为空的时候
SELECT *
FROM tableName
WHERE conditionKey1 = ?
- getServiceClass() - 类 中的方法com.github.youyinnn.youdbutils.ioc.ServiceIocBean
-
- getSingleton() - 类 中的方法com.github.youyinnn.youdbutils.ioc.ServiceIocBean
-
- getStatFilter() - 类 中的方法com.github.youyinnn.youdbutils.druid.filter.YouStatFilter
-
Gets stat filter.
- getTableField(String) - 类 中的方法com.github.youyinnn.youdbutils.dao.model.FieldMapping
-
返回modelField映射的tableField
- getThreadConnection() - 类 中的静态方法com.github.youyinnn.youdbutils.druid.ThreadLocalPropContainer
-
- getUpdateSetWhereSql(String, Set<String>, String, Set<String>) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
获取一个用于更新的语句 可以接收新值的key和查询条件的key 条件全部使用选定的separateMark连接
exp:
1 UPDATE tableName
SET updateField1 = ?
- getWhereLikeSubStr(HashMap<String, Object>, String) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
生成模糊条件子串 条件使用指定的separateMark连接
- getWhereSubStr(Set<String>, String) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.SqlStringUtils
-
生成条件子串 这个子串使用?
- getYouArrayList(String...) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.YouCollectionsUtils
-
快速构建一个用于选择查询列的list或者用于填充占位符的List
- getYouHashMap(Object...) - 类 中的静态方法com.github.youyinnn.youdbutils.utils.YouCollectionsUtils
-
快速构建一个用于查询的条件和条件之组成的map
使用限制在方法中的错误提示已经写得很清楚了
- getYouService(Class) - 类 中的静态方法com.github.youyinnn.youdbutils.ioc.YouServiceIocContainer
-
Gets you service.