public class GlobalJdbcQueryImpl extends AbstractJdbcQuery implements IGlobalQuery
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
dbCluster, entityMetaManager, primaryCache, secondCache, txManager| Constructor and Description |
|---|
GlobalJdbcQueryImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
findByPk(EntityPK pk,
Class<T> clazz,
boolean useCache,
EnumDBMasterSlave masterSlave) |
<T> List<T> |
findByPkList(List<EntityPK> pkList,
Class<T> clazz,
List<DefaultQueryImpl.OrderBy> order,
boolean useCache,
EnumDBMasterSlave masterSlave) |
<T> List<T> |
findByQuery(IQuery<T> query,
Class<T> clazz,
boolean useCache,
EnumDBMasterSlave masterSlave) |
List<Map<String,Object>> |
findBySql(SQL sql,
String clusterName,
EnumDBMasterSlave masterSlave) |
Number |
getCount(Class<?> clazz,
boolean useCache,
EnumDBMasterSlave masterSlave) |
<T> Number |
getCountByQuery(IQuery<T> query,
Class<T> clazz,
boolean useCache,
EnumDBMasterSlave masterSlave) |
selectByPksWithCache, selectByQuery, selectBySql, selectCountByQuery, selectCountWithCache, selectPksByQueryfillParam, getDBCluster, getPrimaryCache, getSecondCache, getTransactionManager, isCacheAvailable, isCacheAvailable, isSecondCacheAvailable, isSecondCacheAvailable, setDBCluster, setPrimaryCache, setSecondCache, setTransactionManagerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDBCluster, getPrimaryCache, getSecondCache, getTransactionManager, setDBCluster, setPrimaryCache, setSecondCache, setTransactionManagerpublic Number getCount(Class<?> clazz, boolean useCache, EnumDBMasterSlave masterSlave)
getCount in interface IGlobalQuerypublic <T> Number getCountByQuery(IQuery<T> query, Class<T> clazz, boolean useCache, EnumDBMasterSlave masterSlave)
getCountByQuery in interface IGlobalQuerypublic <T> T findByPk(EntityPK pk, Class<T> clazz, boolean useCache, EnumDBMasterSlave masterSlave)
findByPk in interface IGlobalQuerypublic <T> List<T> findByPkList(List<EntityPK> pkList, Class<T> clazz, List<DefaultQueryImpl.OrderBy> order, boolean useCache, EnumDBMasterSlave masterSlave)
findByPkList in interface IGlobalQuerypublic <T> List<T> findByQuery(IQuery<T> query, Class<T> clazz, boolean useCache, EnumDBMasterSlave masterSlave)
findByQuery in interface IGlobalQuerypublic List<Map<String,Object>> findBySql(SQL sql, String clusterName, EnumDBMasterSlave masterSlave)
findBySql in interface IGlobalQueryCopyright © 2015. All rights reserved.