public SchemaValidator register(RedisCommand redisCommand,
            LogicalTypeRoot[] requiredLogicalTypes) {
        schemaMap.putIfAbsent(redisCommand, requiredLogicalTypes);
        return this;
    }
Register schema validator

@param redisCommand The redis command
@param requiredLogicalTypes The requiredLogicalTypes
@return Schema validator
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/redis/src/main/java/org/apache/inlong/sort/redis/table/SchemaValidator.java