class LideaLogDAO {

    public LideaLogResp scan(LideaLogReq req) {

        Scan scan = createScan(req);

        ResultsExtractor<List<LideaLogBO>> extractor = new LideaLogResultsExtractor();
        List<LideaLogBO> list = hbaseTemplate.find(Const.LIDEA_LOG_TABLE, scan, extractor);

        LideaLogResp resp = new LideaLogResp();
        resp.setData(list);
        resp.setAppName(req.getAppName());
        resp.setServiceName(req.getServiceName());
        resp.setMethodName(req.getMethodName());

        return resp;
    }

}