test_class.declarator: lideaMethodDAO
test_class.modifier: @Resource
      private
test_class.original_string: @Resource
      private LideaMethodDAO lideaMethodDAO;
test_class.type: LideaMethodDAO
test_class.var_name: lideaMethodDAO
test_class.file: mmc-lidea-web/src/test/java/com/mmc/flink/lidea/dao/LideaMethodDAOTest.java
test_class.identifier: LideaMethodDAOTest
test_case.body: @Test
      public void testGet() {
  
          LideaMethodReq req = new LideaMethodReq();
  
          req.setAppName("cabinet-base-server");
          req.setServiceName("com.fcbox.edms.terminal.api.CabinetServiceFacade");
          req.setMethodName("getCabinetInfo");
  
  
          LideaMethodResp resp = lideaMethodDAO.get(req);
          System.out.println("==========================================================================================");
          System.out.println(JSON.toJSONString(resp));
  
      }
test_case.class_method_signature: LideaMethodDAOTest.testGet()
test_case.full_signature: @Test public void testGet()
test_case.identifier: testGet
test_case.invocations: setAppName setServiceName setMethodName get println println toJSONString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGet()
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/LideaMethodDAO.java
focal_class.identifier: LideaMethodDAO
focal_class.class_method_signature: LideaMethodDAO.put(LideaMethodBO bo)
focal_class.full_signature: public LideaMethodBO put(LideaMethodBO bo)
focal_class.identifier: put
focal_class.modifiers: public
focal_class.parameters: (LideaMethodBO bo)
focal_class.return: LideaMethodBO
focal_class.signature: LideaMethodBO put(LideaMethodBO bo)
focal_class.class_method_signature: LideaMethodDAO.scan(LideaMethodReq req)
focal_class.full_signature: public List<LideaMethodBO> scan(LideaMethodReq req)
focal_class.identifier: scan
focal_class.modifiers: public
focal_class.parameters: (LideaMethodReq req)
focal_class.return: List<LideaMethodBO>
focal_class.signature: List<LideaMethodBO> scan(LideaMethodReq req)
focal_class.class_method_signature: LideaMethodDAO.get(LideaMethodReq req)
focal_class.full_signature: public LideaMethodResp get(LideaMethodReq req)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (LideaMethodReq req)
focal_class.return: LideaMethodResp
focal_class.signature: LideaMethodResp get(LideaMethodReq req)
focal_method.body: public LideaMethodResp get(LideaMethodReq req) {
  
          log.info("req : {}", JSON.toJSONString(req));
  
          LideaMethodResp resp = new LideaMethodResp();
          resp.setAppName(req.getAppName());
          resp.setServiceName(req.getServiceName());
          resp.setMethodName(req.getMethodName());
  
          List<LideaMethodBO> data = hbaseTemplate.execute(Const.LIDEA_METHOD_TABLE, (table) -> {
  
              LideaMethodBO bo = new LideaMethodBO();
              bo.setAppName(req.getAppName());
              bo.setServiceName(req.getServiceName());
              bo.setMethodName(req.getMethodName());
              byte[] rowKey = LideaMethodEntry.makeRowKey(bo);
  
              Get get = new Get(rowKey);
  
              Result result = table.get(get);
  
              LideaMethodBO lideaMethodBO = LideaMethodEntry.map(result);
  
              return Collections.singletonList(lideaMethodBO);
          });
  
          resp.setData(data);
  
          return resp;
      }
focal_method.class_method_signature: LideaMethodDAO.get(LideaMethodReq req)
focal_method.full_signature: public LideaMethodResp get(LideaMethodReq req)
focal_method.identifier: get
focal_method.invocations: info toJSONString setAppName getAppName setServiceName getServiceName setMethodName getMethodName execute setAppName getAppName setServiceName getServiceName setMethodName getMethodName makeRowKey get map singletonList setData
focal_method.modifiers: public
focal_method.parameters: (LideaMethodReq req)
focal_method.return: LideaMethodResp
focal_method.signature: LideaMethodResp get(LideaMethodReq req)