public String buildCacheKey(Map<String, Object> refData) {
        TableUtils.addConstant(refData, sideTableInfo);
        StringBuilder keyBuilder = new StringBuilder(sideTableInfo.getTableName());
        List<String> primaryKeys = sideTableInfo.getPrimaryKeys();
        for(String primaryKey : primaryKeys){
            if(!refData.containsKey(primaryKey)){
                return null;
            }
            keyBuilder.append("_").append(refData.get(primaryKey));
        }
        return keyBuilder.toString();
    }
redis fill row data
Date: 2018/12/4
Company: www.dtstack.com
@author xuchao
redis5/redis5-side/redis-side-core/src/main/java/com/dtstack/flink/sql/side/redis/table/RedisSideReqRow.java