@Test public void testPut() { LideaAppBO bo = new LideaAppBO(); bo.appName = "cabinet-base-server"; bo.time = TimeUtil.dateToString(LocalDateTime.now()); bo = lideaAppDAO.put(bo); System.out.println("=========================================================================================="); System.out.println(JSON.toJSONString(bo)); }
public LideaAppBO put(LideaAppBO bo) { Put put = LideaAppEntry.of(bo); return hbaseTemplate.execute(Const.LIDEA_APP_TABLE, (htable) -> { htable.put(put); return bo; }); }
LideaAppDAO { public LideaAppBO put(LideaAppBO bo) { Put put = LideaAppEntry.of(bo); return hbaseTemplate.execute(Const.LIDEA_APP_TABLE, (htable) -> { htable.put(put); return bo; }); } }
LideaAppDAO { public LideaAppBO put(LideaAppBO bo) { Put put = LideaAppEntry.of(bo); return hbaseTemplate.execute(Const.LIDEA_APP_TABLE, (htable) -> { htable.put(put); return bo; }); }  }
LideaAppDAO { public LideaAppBO put(LideaAppBO bo) { Put put = LideaAppEntry.of(bo); return hbaseTemplate.execute(Const.LIDEA_APP_TABLE, (htable) -> { htable.put(put); return bo; }); }  LideaAppBO put(LideaAppBO bo); List<LideaAppBO> scan(); }
LideaAppDAO { public LideaAppBO put(LideaAppBO bo) { Put put = LideaAppEntry.of(bo); return hbaseTemplate.execute(Const.LIDEA_APP_TABLE, (htable) -> { htable.put(put); return bo; }); }  LideaAppBO put(LideaAppBO bo); List<LideaAppBO> scan();  }