public static HbaseCell parseCheck(HTableMetaConfig metaConfig, String tableName, Watcher watcher, String check,
            JSONObject jsonObj, boolean operationByQuery) {
        byte[] bRowkey = null;
        if (!operationByQuery) {
            String rowkey = jsonObj.getString("rowkey");
            if (Strings.isBlank(rowkey)) {
                watcher.stopWatchWithError("rowkey不能为空。");
                return null;
            }
            bRowkey = metaConfig.getRowkey(rowkey);
        }

        if (Strings.isEmpty(check)) {
            watcher.stopWatchWithError("check不能为空。");
            return null;
        }

        int equalPos = check.indexOf('=');
        if (equalPos <= 0) {
            watcher.stopWatchWithError("ERR1: check 格式必须是: [family.]qualifier=value/null。");
            return null;
        }
        String familyQualifier = check.substring(0, equalPos).trim();
        Pair<String, String> pair = metaConfig.spitFamilyAndQualifer(familyQualifier);
        String famName = pair.getFirst();
        String qualifierName = pair.getSecond();
        if (Strings.isEmpty(famName) || Strings.isEmpty(qualifierName)) {
            watcher.stopWatchWithError("ERR2: check 格式必须是: [family.]qualifier=value/null。");
            return null;
        }

        String strValue = check.substring(equalPos + 1).trim();
        if (Strings.isEmpty(strValue)) {
            watcher.stopWatchWithError("ERR3: check 格式必须是: [family.]qualifier=value/null。");
            return null;
        }
        byte[] bValue = null;
        if (!"null".equals(strValue)) {
            strValue = JsonEscaper.unescape(JsonEscaper.removeQuotation(strValue));
            bValue = metaConfig.getQualifierValue(famName, qualifierName, strValue);
        }

        HbaseCell hbaseCell = new HbaseCell();
        hbaseCell.setFamily(famName);
        hbaseCell.setQualifier(metaConfig.getQualifier(famName, qualifierName));
        hbaseCell.setRowkey(bRowkey);
        hbaseCell.setValue(bValue);

        return hbaseCell;
    }