示例#1
0
 /** 根据时间范围检索日志 */
 @Override
 public List<Log> getByTime(String uid, String min, String max) {
   ResultScanner rs = mHbaseOperationImpl.queryLog(uid, min, max);
   return mListMapping.logListMapping(rs);
 }
示例#2
0
 /** 日志分页 */
 @Override
 public List<Log> logPage(String uid, String row, int num) {
   ResultScanner rs = mHbaseOperationImpl.logPage(uid, row, num);
   return mListMapping.logListMapping(rs);
 }
示例#3
0
 /** 检索某用户的所有日志 */
 @Override
 public List<Log> getByUid(String uid) {
   ResultScanner rs = mHbaseOperationImpl.queryByColumn("cloud_log", "attr", "uid", uid);
   return mListMapping.logListMapping(rs);
 }