presto-redis/src/main/java/io/prestosql/plugin/redis/RedisRecordSetProvider.java/RedisRecordSetProvider/getRecordSet
class RedisRecordSetProvider:    @Override
    public RecordSet getRecordSet(ConnectorTransactionHandle transaction, ConnectorSession session, ConnectorSplit split, ConnectorTableHandle table, List<? extends ColumnHandle> columns)
    {
        RedisSplit redisSplit = convertSplit(split);

        List<RedisColumnHandle> redisColumns = columns.stream()
                .map(RedisHandleResolver::convertColumnHandle)
                .collect(ImmutableList.toImmutableList());

        RowDecoder keyDecoder = decoderFactory.create(
                redisSplit.getKeyDataFormat(),
                emptyMap(),
                redisColumns.stream()
                        .filter(col -> !col.isInternal())
                        .filter(RedisColumnHandle::isKeyDecoder)
                        .collect(toImmutableSet()));

        RowDecoder valueDecoder = decoderFactory.create(
                redisSplit.getValueDataFormat(),
                emptyMap(),
                redisColumns.stream()
                        .filter(col -> !col.isInternal())
                        .filter(col -> !col.isKeyDecoder())
                        .collect(toImmutableSet()));

        return new RedisRecordSet(redisSplit, jedisManager, redisColumns, keyDecoder, valueDecoder);
    }