- generate(SessionImplementor, Object) - 类 中的方法com.gemantic.dal.id.util.IdGenerator
-
- get(Object, Class, Serializable) - 接口 中的方法com.gemantic.dal.dao.Dao
-
从DB或者CACHE中装载一个对象,需要指定一个account_id(用户ID)以方便策略选择从那个库或者CACHE中装载数据,如果输入是null就从默认的库或CACHE中转载
注意:检查装载的数据中的account_id和指定的account_id是否一致。
- get(Class, Serializable) - 接口 中的方法com.gemantic.dal.dao.Dao
-
对于保存在单库的数据,如数据字典,采用如下方式读取
- get(Class, Serializable, String) - 接口 中的方法com.gemantic.dal.dao.Dao
-
对于保存在单库的数据,如数据字典,采用如下方式读取
- get(Object, Class, Serializable) - 接口 中的方法com.gemantic.dal.dao.DBAgent
-
- get(Cache, String[]) - 类 中的静态方法com.gemantic.dal.dao.helper.MultiCacheGet
-
- get(Object, Class, List<SqlInfo>) - 类 中的静态方法com.gemantic.dal.dao.helper.MultiDBGet
-
- get(Object, Class, Serializable) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
缓存 --》最大值 --》不存在的值 --》数据库 读取逻辑: 先读取缓存中的数据,不存在的则从数据库加载,并更新缓存
- get(Class, Serializable) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- get(Class, Serializable, String) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- get(Object, Class, Serializable) - 类 中的方法com.gemantic.dal.dao.impl.DBAgentHibernateImpl
-
- get(Object, Class, Serializable) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- get(Class, Serializable) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- get(Class, Serializable, String) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- get(String, String) - 类 中的静态方法com.gemantic.dal.dao.util.CacheHelper
-
- get(LsCacheInfoHelper) - 类 中的静态方法com.gemantic.dal.dao.util.CacheHelper
-
- get(Object) - 类 中的方法com.gemantic.dal.dao.util.DalLRUMap
-
取得数据
- getAggregateSql(String) - 类 中的静态方法com.gemantic.dal.config.helper.SqlStringHelper
-
给出Aggregate SQL,就是把 Order by 字段 也放在 Select 字段中的SQL
- getAggrParams(List<Object[]>) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getChangedLsHelpers() - 类 中的方法com.gemantic.dal.dao.model.UpdateInfo
-
- getClassCache(Class) - 类 中的静态方法com.gemantic.dal.dao.util.CacheHelper
-
- getClasz() - 类 中的方法com.gemantic.dal.config.model.dao.DbStrategyItem
-
- getColumnName() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getColumnName() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getColumnName() - 类 中的方法com.gemantic.dal.dao.model.ScalarInfo
-
- getColumnType() - 类 中的方法com.gemantic.dal.dao.model.ScalarInfo
-
- getCountDaoGroupByClass(Class) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过对象找到对象配置了几个数据源(组)
- getCountDaoGroupByListName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过List名字找到对象配置了几个数据源(组)
- getCountDaoGroupByMapName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过Maping名字找到对象配置了几个数据源(组)
- getCountSql(String) - 类 中的静态方法com.gemantic.dal.config.helper.SqlStringHelper
-
给出 统计总数的 SQL 从Sqlect语句中。
- getCrossDBSectionSql(String, Object[], Object[]) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getCrossMaxCnt() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getCrossOrderByColumn() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getCrossPerDBCount(String) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getDaoConfigFile() - 类 中的静态方法com.gemantic.dal.config.DaoConfig
-
- getDaoConfigFile() - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
- getDaoConfigFile() - 类 中的静态方法com.gemantic.dal.dao.impl.DBAgentHibernateImpl
-
- getDataSource(String) - 类 中的方法com.gemantic.dal.config.GroupConfig
-
- getDataSource(String) - 类 中的静态方法com.gemantic.dal.config.helper.GroupHelper
-
通过一个Datasource的名字找到Datasource
- getDataSource() - 类 中的静态方法com.gemantic.dal.datasource.ContextHolder
-
- getDataSourceItemMap() - 类 中的方法com.gemantic.dal.config.GroupConfig
-
- getDataSourceMap() - 类 中的静态方法com.gemantic.dal.config.helper.GroupHelper
-
给出系统中配置的Datasource
- getDbStrategyItem() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getDbStrategyItemByClass(Class) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过持久对象的Class找到对象的DB策略配置
- getDbStrategyItemByListName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过ListName找到Db的策略配置
- getDbStrategyItemByMapName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过mapName找到Db的策略配置
- getDbStrategyItemByObjectName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过持久对象的名字找到对象的DB策略配置
- getDefaultDbStrategyItem() - 类 中的方法com.gemantic.dal.config.DaoConfig
-
- getDefaultDbStrategyItem() - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出缺省的DbStrategyItem
- getDeleteInfos(Object, Object, List<LsCacheInfoHelper>) - 类 中的方法com.gemantic.dal.dao.cachehandler.impl.AbstractListHandler
-
- getDeleteInfos(Object, Object, List<LsCacheInfoHelper>) - 接口 中的方法com.gemantic.dal.dao.cachehandler.ListHandler
-
和对象删除相关的两个方法
- getDeleteInfos(Object, Object) - 类 中的方法com.gemantic.dal.dao.ListHandlerCenter
-
- getDelProperty() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getDelPropertyMethod(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
- getDelPropertyMethod() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getDelSql(String) - 类 中的静态方法com.gemantic.dal.config.helper.SqlStringHelper
-
给出 删除的 SQL 从Select语句中
- getDelValue(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
- getDelValue() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getDelValueObject() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getDriverClassName() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getDs() - 类 中的方法com.gemantic.dal.config.model.dao.IdCenterDsItem
-
- getEntityList(Object, Class, SqlInfo, int) - 接口 中的方法com.gemantic.dal.dao.DBAgent
-
- getEntityList(Object, Class, SqlInfo, int) - 类 中的方法com.gemantic.dal.dao.impl.DBAgentHibernateImpl
-
根据对象的id list,得到对象List
- getEntitySql() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getEntityUnionSql(List, String) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getErrorNum() - 异常错误 中的方法com.gemantic.dal.dao.exception.DaoException
-
- getGroup() - 类 中的方法com.gemantic.dal.config.model.dao.PatternItem
-
- getGroupItem(String) - 类 中的方法com.gemantic.dal.config.GroupConfig
-
- getGroupItem(String) - 类 中的静态方法com.gemantic.dal.config.helper.GroupHelper
-
给出一个组的配置
- getHibernateCfg() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getIDCenterDataSourceName() - 类 中的静态方法com.gemantic.dal.id.util.IdCenterHelper
-
- getIdCenterDsItem() - 类 中的方法com.gemantic.dal.config.DaoConfig
-
- getIdCenterDsItem() - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
- getIdCenterDsName() - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
- getIdClumnFromEntity(Class) - 类 中的静态方法com.gemantic.dal.dao.util.AnnotationUtil
-
从方法和字段上的注解搜索id对应的数据库的列名
- getIdList(Object, String, Object, Integer, Integer, boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
查询指定param(key)的对象列表,需要指定account_id(用户ID)以方便策略选择从哪个库或者CACHE中选择数据,如果输入是null就从默认的库或者CACHE中选择。
- getIdList(String, Object, Integer, Integer, boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
对于保存在单库的数据,如数据字典,采用如下方式查询
list的名称
- getIdList(Object, String, Object, boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
查询指定param(key)的对象列表,需要指定account_id(用户ID)以方便策略选择从哪个库或者CACHE中选择数据,如果输入是null就从默认的库或者CACHE中选择。
- getIdList(String, Object, boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getIdList(Object, String, Object[], Integer, Integer, boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
查询指定param(key)的对象列表的长度。
- getIdList(String, Object[], Integer, Integer, boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
查询指定param(key)的对象列表的长度。
- getIdList(Object, String, Object[], boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
查询指定param(key)的对象列表的长度。
- getIdList(String, Object[], boolean) - 接口 中的方法com.gemantic.dal.dao.Dao
-
查询指定param(key)的对象列表的长度。
- getIdList(Object, String, Object[], Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(Object, String, Object[], boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(String, Object[], boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(Object, String, Object, boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(String, Object, boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(String, Object[], Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(Object, String, Object, Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(String, Object, Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getIdList(Object, String, Object, Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList(String, Object, Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList(Object, String, Object, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList(String, Object, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList(Object, String, Object[], Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList(String, Object[], Integer, Integer, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList(Object, String, Object[], boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList(String, Object[], boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getIdList() - 类 中的方法com.gemantic.dal.dao.model.SectionInfo
-
- getIdListKey(Long) - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getIdMethod(Class) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出对象的ID方法
- getIdMethod() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getInfoHelper() - 类 中的方法com.gemantic.dal.dao.model.SectionInfo
-
- getInSql(List<Object[]>, String, List<Type>) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getInstance() - 类 中的静态方法com.gemantic.dal.config.DaoConfig
-
- getInstance() - 类 中的静态方法com.gemantic.dal.config.GroupConfig
-
- getInstance() - 类 中的静态方法com.gemantic.dal.dao.helper.VisitHelper
-
- getInstance() - 类 中的静态方法com.gemantic.dal.dao.impl.DBAgentHibernateImpl
-
- getInstance() - 类 中的静态方法com.gemantic.dal.dao.ListHandlerCenter
-
- getInstance() - 类 中的静态方法com.gemantic.dal.dao.ListLoaderCenter
-
- getInstance() - 类 中的静态方法com.gemantic.dal.id.util.SequenceService
-
- getInstance() - 类 中的静态方法com.gemantic.dal.route.RoutingService
-
- getInt(String, int) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getInt(String, int, int) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getInt(String, int, int, int) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getKey() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getKey() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getKey() - 类 中的方法com.gemantic.dal.dao.model.MapInfo
-
- getKeyByParams() - 类 中的方法com.gemantic.dal.dao.model.MapInfo
-
- getKeyMethod() - 类 中的方法com.gemantic.dal.config.model.dao.ConfigItem
-
- getKeyMethod() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getKeyMethod() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getKeyMethod() - 接口 中的方法com.gemantic.dal.config.model.method.ItemMethod
-
- getKeyProperty() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getKeyProperty() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getLastLong(byte[]) - 类 中的静态方法com.gemantic.dal.dao.util.ListUtil
-
- getLatestId() - 类 中的方法com.gemantic.dal.dao.model.SectionInfo
-
- getLatestSecIndex() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
得到最新一页应该从数据库中那个位置加载的快捷方式
- getLatestSecSize() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
得到List,在缓存中最新一页所存放的数量,最新一页的容量可能不可能为0
- getList(Object, Class, List) - 接口 中的方法com.gemantic.dal.dao.Dao
-
通过给出指定持久化对象标识的列表查询持久化对象,需要指定一个account_id(用户ID)以方便策略选择从那个库或者CACHE中查询数据,如果输入是null就从默认的库和CACHE中查询
注意:在实现改接口是要保证返回的持久化对象确实是指定账号的。
- getList(Class, List) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getList(Class, List, String) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getList(Object, Class, List) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getList(Class, List) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getList(Class, List, String) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getList(Object, Class, List) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getList(Class, List) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getList(Class, List, String) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getListCache(String) - 类 中的静态方法com.gemantic.dal.dao.util.CacheHelper
-
- getListCntKey() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getListCountKey() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getListCountSql(String, Object[]) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getListCountSql(LsCacheInfoHelper) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getListenerClass() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getListInfo() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
- getListInfo(Object, LsCacheInfoHelper, int, boolean) - 接口 中的方法com.gemantic.dal.dao.ListLoader
-
- getListInfo(Object, LsCacheInfoHelper, int, boolean) - 类 中的方法com.gemantic.dal.dao.listloader.impl.CommonListLoader
-
- getListInfo(Object, LsCacheInfoHelper, int, boolean) - 类 中的方法com.gemantic.dal.dao.listloader.impl.CrossAggrListLoader
-
- getListInfo(Object, LsCacheInfoHelper, int, boolean) - 类 中的方法com.gemantic.dal.dao.ListLoaderCenter
-
- getListInfo(LsCacheInfoHelper) - 类 中的静态方法com.gemantic.dal.dao.util.CacheHelper
-
得到缓存中的ListInfo
- getListItem(String) - 类 中的方法com.gemantic.dal.config.DaoConfig
-
- getListItem(String) - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getListItemByListName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过一个ListName找到List的配置文件
- getListItemKeyMethod(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出List对应的KeyProperty方法;
- getListItemsByObjectName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
找出一个对象相关联的List配置列表
- getListItemValueClass(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出List中valueProperty对应的Class方法;
- getListItemValueColumnName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出List中valueProperty对应的字段名字;
- getListItemValueMethod(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出List对应的valueProperty方法;
- getListLoadInfo(Long, boolean) - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
得到应该从那个缓存分段的,那个位置开始加载
这里其实有很巧妙的思想 ,需要细细品味。
- getListMap() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getListSql(String, Object[], boolean) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getListSql(LsCacheInfoHelper, boolean) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getListType(String) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getListVisitInfoKey() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getListVisitInfoKey() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getListWithNULLOBJ(Object, Class, List) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getListWithNULLOBJ(Class, List) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getListWithNULLOBJ(Object, Class, List) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getListWithNULLOBJ(Class, List) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getListWithNULLOBJ(Object, Class, List) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getListWithNULLOBJ(Class, List) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getLoadObjectSql(String) - 类 中的静态方法com.gemantic.dal.config.helper.SqlStringHelper
-
- getLong(String, long) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getLong(String, long, long) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getLong(String, long, long, long) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getLsHelper() - 类 中的方法com.gemantic.dal.dao.model.SectionInfo
-
- getLsInfoList(Object) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getMapAggreSqlInfos(String, List<Object[]>) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getMapInfoList(Object) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getMapItem(String) - 类 中的方法com.gemantic.dal.config.DaoConfig
-
- getMapItem(String) - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getMapItemByMapName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过一个ListName找到List的配置文件
- getMapItemKeyMethod(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出List对应的KeyProperty方法;
- getMapItemsByObjectName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
找出一个对象相关联的List配置列表
- getMapItemValueClass(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出Map中valueProperty对应的Class方法;
- getMapItemValueColumnName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出Map中valueProperty对应的Class方法;
- getMapItemValueMethod(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出List对应的valueProperty方法;
- getMapList(List, String, List<Object[]>) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getMapList(List, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
应用场景,得到好友在某个游戏中的排行榜
- getMapList(List, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMapMap() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getMapping(Object, String, Object[]) - 接口 中的方法com.gemantic.dal.dao.Dao
-
通过一个持久化对象的属性值找一个持久化对象。
- getMapping(String, Object[]) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getMapping(Object, String, Object) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getMapping(String, Object) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getMapping(Object, String, Object[]) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
读取逻辑: 读取逻辑同get(....)方法相同
- getMapping(String, Object[]) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getMapping(Object, String, Object) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getMapping(String, Object) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getMapping(Object, String, Object[]) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMapping(String, Object[]) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMapping(Object, String, Object) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMapping(String, Object) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMappings(Object, String, List<Object[]>) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getMappings(List, String, List<Object[]>) - 接口 中的方法com.gemantic.dal.dao.FriendDao
-
- getMappings(Object, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getMappings(Object, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMappings(List, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.FriendDaoImpl
-
- getMappingsMap(Object, String, List<Object[]>) - 接口 中的方法com.gemantic.dal.dao.Dao
-
- getMappingsMap(Object, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getMappingsMap(Object, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMappingSqlInfo(String, Object[], boolean) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getMaps(Object, String, List<Object[]>) - 接口 中的方法com.gemantic.dal.dao.DBAgent
-
- getMaps(Object, String, List<Object[]>) - 类 中的方法com.gemantic.dal.dao.impl.DBAgentHibernateImpl
-
基本类型的Map查询,针对只返回一个Column的情况
- getMaster() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getMaster() - 类 中的方法com.gemantic.dal.config.model.group.GroupItem
-
- getMasterDataSource(String) - 类 中的方法com.gemantic.dal.config.GroupConfig
-
- getMasterDataSource(String) - 类 中的静态方法com.gemantic.dal.config.helper.GroupHelper
-
给出Master数据库名的Datasource
- getMaxActive() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getMaxIdle() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getMaxIdOfClass(Class) - 接口 中的方法com.gemantic.dal.dao.Dao
-
根据类的名称获取数据库中该对象的id的最大值
支持多库
原理是:从每个分库中查出ID最大值,然后返回其中最大的一个
- getMaxIdOfClass(Class) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getMaxIdOfClass(Class) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getMaxMins() - 类 中的方法com.gemantic.dal.dao.model.ListInfo
-
- getMaxSectionNo() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
得到List 在缓存中的最大Page No
- getMaxWait() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getMessage() - 异常错误 中的方法com.gemantic.dal.dao.exception.DaoException
-
- getMinMax() - 类 中的方法com.gemantic.dal.dao.model.SectionInfo
-
- getMinMaxOfCross(Long) - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
跨库聚合情况下,每个section 所对应的min,max值
- getName() - 类 中的方法com.gemantic.dal.config.model.dao.DbStrategyItem
-
- getName() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getName() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getName() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getName() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getName() - 类 中的方法com.gemantic.dal.config.model.group.GroupItem
-
- getNewLsMap() - 类 中的方法com.gemantic.dal.dao.model.UpdateInfo
-
- getNewMaxSectionNo() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
- getObjectCache(Object) - 类 中的静态方法com.gemantic.dal.dao.util.CacheHelper
-
- getObjectId(Object) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getObjectItem(String) - 类 中的方法com.gemantic.dal.config.DaoConfig
-
- getObjectItemByObjectName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
给出持久化对象对应的配置
- getObjectList(Object, String, SqlInfo, Long, Long, int, boolean, boolean) - 接口 中的方法com.gemantic.dal.dao.DBAgent
-
- getObjectList(Object, String, SqlInfo, Long, Long, int, boolean, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBAgentHibernateImpl
-
- getObjectName() - 类 中的方法com.gemantic.dal.config.model.dao.DbStrategyItem
-
- getObjectName() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getObjectName() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getObjectNameByListName(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过一个ListName找到List的配置文件
- getObjectStrategyPropert(Object) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getObjectValueOfList(Object, LsCacheInfoHelper) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getOldObjListSections() - 类 中的方法com.gemantic.dal.dao.model.UpdateInfo
-
- getOneDSFromEachGroupOfObject(Class, int) - 类 中的方法com.gemantic.dal.route.strategy.DefaultStrategy
-
- getOneDSFromEachGroupOfObject(Class, int) - 接口 中的方法com.gemantic.dal.route.strategy.IStrategy
-
按照对象的策略里面的配置的数据库集群:
根据读写策略来获取没给集群里面的一个数据库
- getOrderbyFields(String) - 类 中的静态方法com.gemantic.dal.config.helper.SqlStringHelper
-
给出SQL的Orderby 字段
- getOrderbyFields() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getOrderByKey() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getOrderByKey() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getOrderByMethod() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getOrderByParams() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getOrderByParams() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getOrderByParams(ListItem, Object) - 类 中的静态方法com.gemantic.dal.dao.util.ObjectUtil
-
- getOrderByProperty() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getOrderedCrossList(Object, String, SqlInfo, Long, Long, int, boolean) - 接口 中的方法com.gemantic.dal.dao.DBAgent
-
- getOrderedCrossList(Object, String, SqlInfo, Long, Long, int, boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBAgentHibernateImpl
-
用于将跨库查询得到的结果排序
- getOrderedList(List<List>, boolean) - 类 中的静态方法com.gemantic.dal.dao.helper.ListOrderHelper
-
- getOrderedValue(int) - 类 中的方法com.gemantic.dal.dao.util.MinHeap
-
- getParamKey() - 类 中的方法com.gemantic.dal.dao.model.SqlInfo
-
- getParams() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getParams() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getParams() - 类 中的方法com.gemantic.dal.dao.model.MapInfo
-
- getParams() - 类 中的方法com.gemantic.dal.dao.model.SqlInfo
-
- getPassword() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getPath() - 类 中的方法com.gemantic.dal.config.model.dao.ConfigItem
-
- getPatternItemList() - 类 中的方法com.gemantic.dal.config.model.dao.DbStrategyItem
-
- getPatternItemMap() - 类 中的方法com.gemantic.dal.config.model.dao.DbStrategyItem
-
- getQueue(String) - 类 中的方法com.gemantic.dal.id.util.SequenceService
-
得到和某个sequence对应的 queue
- getReadDsFromEachGroupForObject(Class) - 类 中的方法com.gemantic.dal.route.RoutingService
-
1 根据对象获取策略
2 从对象的对应策略下每一个数据库集群中的获取一个读库
- getRealMapping(Object, String, Object[], boolean) - 类 中的方法com.gemantic.dal.dao.impl.CompositeDaoImpl
-
- getRealMapping(Object, String, Object[], boolean) - 类 中的方法com.gemantic.dal.dao.impl.DBDaoImpl
-
- getRegion() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getRegion() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getRegion() - 类 中的方法com.gemantic.dal.dao.model.MapInfo
-
- getReverseSql() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getReverseSqlCross() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- gets(String, List) - 类 中的静态方法com.gemantic.dal.dao.util.CacheHelper
-
- getSalve() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getSavedInfos(Object, Object, List<LsCacheInfoHelper>) - 类 中的方法com.gemantic.dal.dao.cachehandler.impl.AbstractListHandler
-
- getSavedInfos(Object, Object, List<LsCacheInfoHelper>) - 接口 中的方法com.gemantic.dal.dao.cachehandler.ListHandler
-
和对象保存相关的两个方法
- getSavedInfos(Object, Object) - 类 中的方法com.gemantic.dal.dao.ListHandlerCenter
-
保存 对象在save之前,缓存中的状况,因此仅处理某个 Object 配置了缓存的 List
- getSavleDataSources(String) - 类 中的静态方法com.gemantic.dal.config.helper.GroupHelper
-
给出给出Savle的Datasource列表
- getScalarList() - 类 中的方法com.gemantic.dal.dao.model.SqlInfo
-
- getSectionIdList(LsCacheInfoHelper, ListInfoHelper, Object, Long, int, boolean) - 接口 中的方法com.gemantic.dal.dao.ListLoader
-
- getSectionIdList(LsCacheInfoHelper, ListInfoHelper, Object, Long, int, boolean) - 类 中的方法com.gemantic.dal.dao.listloader.impl.CommonListLoader
-
心得 :该方法目前在 4个地方 被调用,分别是
1,2 removeIdFromList,getUpdatedSection --->对应update/delete的操作
3.AbstractListHandler.getSavedInfos(.....)
- getSectionIdList(LsCacheInfoHelper, ListInfoHelper, Object, Long, int, boolean) - 类 中的方法com.gemantic.dal.dao.listloader.impl.CrossAggrListLoader
-
- getSectionIdList(LsCacheInfoHelper, ListInfoHelper, Object, Long, int, boolean) - 类 中的方法com.gemantic.dal.dao.ListLoaderCenter
-
- getSectionIndex(Long) - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
得到List所对应的缓存中的某一段缓存,应该从数据库中那个位置开始加载
- getSectionNo() - 类 中的方法com.gemantic.dal.dao.model.SectionInfo
-
- getSections() - 类 中的方法com.gemantic.dal.dao.model.ListInfo
-
- getSectionSize(Long) - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
- getSectionsSize() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
得到用户访问过的缓存分页的 数量,
- getSeqIds(String) - 类 中的方法com.gemantic.dal.id.dao.SequenceDao
-
- getSeqParamName() - 类 中的静态方法com.gemantic.dal.id.util.IdCenterHelper
-
- getSeqSpan(String) - 类 中的方法com.gemantic.dal.id.dao.SequenceDao
-
- getSessionFactory() - 类 中的方法com.gemantic.dal.config.DaoConfig
-
- getSessionFactory() - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
- getSize() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
返回当前List的容量
- getSize() - 类 中的方法com.gemantic.dal.dao.model.ListInfo
-
- getSlave() - 类 中的方法com.gemantic.dal.config.model.group.GroupItem
-
- getSlaveDataSources(String) - 类 中的方法com.gemantic.dal.config.GroupConfig
-
给出Salve数据库名的Datasource
- getSql() - 类 中的方法com.gemantic.dal.dao.model.SqlInfo
-
- getSqlAggregateItem() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqlcountitem() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqlcountitem() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getSqlCross() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqlCrossCount() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqlCrossSecion() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqldelitem() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqlitem() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqlitem() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getSqlType() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getSqlType() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getStrategyColumn() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getStrategyProperty() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getStrategyPropertyMethod(String) - 类 中的静态方法com.gemantic.dal.config.helper.DaoHelper
-
通过对象找到对象对应的策略依据属性的方法
- getStrategyPropertyMethod() - 类 中的方法com.gemantic.dal.config.model.dao.ObjectItem
-
- getString(String) - 类 中的静态方法com.gemantic.dal.dao.model.Messages
-
- getString(String, String) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getString(String, String[], String) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getString(String, String[], String, boolean) - 类 中的静态方法com.gemantic.dal.dao.util.ParamUtil
-
- getTableName() - 类 中的静态方法com.gemantic.dal.id.util.IdCenterHelper
-
- getTableNameFromEntity(Class) - 类 中的静态方法com.gemantic.dal.dao.util.AnnotationUtil
-
根据类的Class获取实体对应数据库的表名字
- getType() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getType() - 类 中的方法com.gemantic.dal.dao.helper.LsCacheInfoHelper
-
- getType() - 类 中的方法com.gemantic.dal.dao.model.LsCacheInfo
-
- getUnionSql(List<Object[]>, String, List<Type>) - 类 中的静态方法com.gemantic.dal.dao.util.SqlUtil
-
- getUpdatedSection(Object, Object, LsCacheInfoHelper) - 接口 中的方法com.gemantic.dal.dao.ListLoader
-
- getUpdatedSection(Object, Object, LsCacheInfoHelper) - 类 中的方法com.gemantic.dal.dao.listloader.impl.CommonListLoader
-
- getUpdatedSection(Object, Object, LsCacheInfoHelper) - 类 中的方法com.gemantic.dal.dao.listloader.impl.CrossAggrListLoader
-
- getUpdatedSection(Object, Object, LsCacheInfoHelper) - 类 中的方法com.gemantic.dal.dao.ListLoaderCenter
-
- getUpdateInfos(Object, Object, Object, Map<String, LsCacheInfoHelper>, Map<String, LsCacheInfoHelper>) - 类 中的方法com.gemantic.dal.dao.cachehandler.impl.AbstractListHandler
-
参考 CommonListHandler --->getUpdateInfos 的说明,仅适合于非 主/从数据库分离的情况
查找因对象更新,导致的数据将发生变化的与对象相关的List,此处仅考虑对象的KeyProperty 和 orderByProperty 两个属性
场景一.
- getUpdateInfos(Object, Object, Object, Map<String, LsCacheInfoHelper>, Map<String, LsCacheInfoHelper>) - 类 中的方法com.gemantic.dal.dao.cachehandler.impl.CommonListHandler
-
核心 : 在DAL的这个模块中,依据的理念是---以人为本,系统中的某个List一定是某个人的
1 .同一个List,在同一时间只能由一个人修改, 此时如果缓存中没有这个List的ListInfo对象,则其他用户不能加载
2.
- getUpdateInfos(Object, Object, Object, Map<String, LsCacheInfoHelper>, Map<String, LsCacheInfoHelper>) - 接口 中的方法com.gemantic.dal.dao.cachehandler.ListHandler
-
和对象更新相关的两个方法
- getUpdateInfos(Object, Object, Object) - 类 中的方法com.gemantic.dal.dao.ListHandlerCenter
-
- getUrl() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getUsername() - 类 中的方法com.gemantic.dal.config.model.group.DataSourceItem
-
- getValue() - 类 中的方法com.gemantic.dal.config.model.dao.PatternItem
-
- getValue() - 类 中的方法com.gemantic.dal.dao.model.MapInfo
-
- getValueMethod() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getValueMethod() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getValueProperty() - 类 中的方法com.gemantic.dal.config.model.dao.ListItem
-
- getValueProperty() - 类 中的方法com.gemantic.dal.config.model.dao.MapItem
-
- getVisitedSections() - 类 中的方法com.gemantic.dal.dao.helper.ListInfoHelper
-
返回用户访问过的缓存分段信息
- getWeigh() - 类 中的方法com.gemantic.dal.config.model.group.GroupItem
-
- GroupConfig - com.gemantic.dal.config中的类
-
- GroupHelper - com.gemantic.dal.config.helper中的类
-
- GroupHelper() - 类 的构造器com.gemantic.dal.config.helper.GroupHelper
-
- GroupItem - com.gemantic.dal.config.model.group中的类
-
- GroupItem() - 类 的构造器com.gemantic.dal.config.model.group.GroupItem
-