class LideaMethodDAO {

    public List<LideaMethodBO> scan(LideaMethodReq req) {

        Scan scan = new Scan();
        scan.setCaching(50);
        scan.addFamily(Const.LIDEA_LOG_FEMILY);
        scan.setFilter(new PrefixFilter(BytesUtils.toBytes(MD5Util.encrypt(req.getAppName() + req.getServiceName()))));

        return hbaseTemplate.find(Const.LIDEA_METHOD_TABLE, scan, new LideaMethodResultsExtractor());
    }

}