test_class.declarator: lideaLogDAO
test_class.modifier: @Resource
      private
test_class.original_string: @Resource
      private LideaLogDAO lideaLogDAO;
test_class.type: LideaLogDAO
test_class.var_name: lideaLogDAO
test_class.file: mmc-lidea-web/src/test/java/com/mmc/flink/lidea/dao/LideaLogDAOTest.java
test_class.identifier: LideaLogDAOTest
test_case.body: @Test
      public void testPut() {
  
          // 测试插入一条记录
          LideaLogBO bo = new LideaLogBO();
          bo.setTime(TimeUtil.dateToString(LocalDateTime.now()));
          bo.setAppName("cabinet-base-server");
          bo.setServiceName("com.fcbox.edms.terminal.api.CabinetServiceFacade");
          bo.setMethodName("getCabinetInfo");
          bo.setCount(RandomUtil.getRandomNumberInRange(1, 100));
          bo.setAvg(RandomUtil.getRandomNumberInRange(100, 999));
          bo.setException(RandomUtil.getRandomNumberInRange(1, 100));
          bo.setTraceIds(UUID.randomUUID().toString().replace("-", ""));
  
          lideaLogDAO.put(bo);
  
          System.out.println("==========================================================================================");
          System.out.println(JSON.toJSONString(bo));
      }
test_case.class_method_signature: LideaLogDAOTest.testPut()
test_case.full_signature: @Test public void testPut()
test_case.identifier: testPut
test_case.invocations: setTime dateToString now setAppName setServiceName setMethodName setCount getRandomNumberInRange setAvg getRandomNumberInRange setException getRandomNumberInRange setTraceIds replace toString randomUUID put println println toJSONString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPut()
focal_class.declarator: hbaseTemplate
focal_class.modifier: @Resource
      private
focal_class.original_string: @Resource
      private HbaseTemplate hbaseTemplate;
focal_class.type: HbaseTemplate
focal_class.var_name: hbaseTemplate
focal_class.file: mmc-lidea-web/src/main/java/com/mmc/flink/lidea/dao/LideaLogDAO.java
focal_class.identifier: LideaLogDAO
focal_class.class_method_signature: LideaLogDAO.put(LideaLogBO bo)
focal_class.full_signature: public void put(LideaLogBO bo)
focal_class.identifier: put
focal_class.modifiers: public
focal_class.parameters: (LideaLogBO bo)
focal_class.return: void
focal_class.signature: void put(LideaLogBO bo)
focal_class.class_method_signature: LideaLogDAO.scan(LideaLogReq req)
focal_class.full_signature: public LideaLogResp scan(LideaLogReq req)
focal_class.identifier: scan
focal_class.modifiers: public
focal_class.parameters: (LideaLogReq req)
focal_class.return: LideaLogResp
focal_class.signature: LideaLogResp scan(LideaLogReq req)
focal_class.class_method_signature: LideaLogDAO.createScan(LideaLogReq bo)
focal_class.full_signature: private Scan createScan(LideaLogReq bo)
focal_class.identifier: createScan
focal_class.modifiers: private
focal_class.parameters: (LideaLogReq bo)
focal_class.return: Scan
focal_class.signature: Scan createScan(LideaLogReq bo)
focal_class.class_method_signature: LideaLogDAO.get(LideaLogReq req)
focal_class.full_signature: public LideaLogResp get(LideaLogReq req)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (LideaLogReq req)
focal_class.return: LideaLogResp
focal_class.signature: LideaLogResp get(LideaLogReq req)
focal_method.body: public void put(LideaLogBO bo) {
  
          Put put = LideaLogEntry.of(bo);
  
          hbaseTemplate.execute(Const.LIDEA_LOG_TABLE, (htable) -> {
  
              htable.put(put);
              return null;
          });
  
      }
focal_method.class_method_signature: LideaLogDAO.put(LideaLogBO bo)
focal_method.full_signature: public void put(LideaLogBO bo)
focal_method.identifier: put
focal_method.invocations: of execute put
focal_method.modifiers: public
focal_method.parameters: (LideaLogBO bo)
focal_method.return: void
focal_method.signature: void put(LideaLogBO bo)