@Test public void testScan() { List<LideaAppBO> list = lideaAppDAO.scan(); System.out.println("=========================================================================================="); System.out.println(JSON.toJSONString(list)); }
public List<LideaAppBO> scan() { Scan scan = new Scan(); scan.setCaching(30); scan.addFamily(Const.LIDEA_LOG_FEMILY); return hbaseTemplate.find(Const.LIDEA_APP_TABLE, scan, new LideaAppResultsExtractor()); }
LideaAppDAO { public List<LideaAppBO> scan() { Scan scan = new Scan(); scan.setCaching(30); scan.addFamily(Const.LIDEA_LOG_FEMILY); return hbaseTemplate.find(Const.LIDEA_APP_TABLE, scan, new LideaAppResultsExtractor()); } }
LideaAppDAO { public List<LideaAppBO> scan() { Scan scan = new Scan(); scan.setCaching(30); scan.addFamily(Const.LIDEA_LOG_FEMILY); return hbaseTemplate.find(Const.LIDEA_APP_TABLE, scan, new LideaAppResultsExtractor()); }  }
LideaAppDAO { public List<LideaAppBO> scan() { Scan scan = new Scan(); scan.setCaching(30); scan.addFamily(Const.LIDEA_LOG_FEMILY); return hbaseTemplate.find(Const.LIDEA_APP_TABLE, scan, new LideaAppResultsExtractor()); }  LideaAppBO put(LideaAppBO bo); List<LideaAppBO> scan(); }
LideaAppDAO { public List<LideaAppBO> scan() { Scan scan = new Scan(); scan.setCaching(30); scan.addFamily(Const.LIDEA_LOG_FEMILY); return hbaseTemplate.find(Const.LIDEA_APP_TABLE, scan, new LideaAppResultsExtractor()); }  LideaAppBO put(LideaAppBO bo); List<LideaAppBO> scan();  }