presto-main/src/main/java/io/prestosql/execution/buffer/PagesSerdeFactory.java/PagesSerdeFactory/createPagesSerdeInternal
class PagesSerdeFactory:    private PagesSerde createPagesSerdeInternal(Optional<SpillCipher> spillCipher)
    {
        if (compressionEnabled) {
            return new PagesSerde(blockEncodingSerde, Optional.of(new Lz4Compressor()), Optional.of(new Lz4Decompressor()), spillCipher);
        }

        return new PagesSerde(blockEncodingSerde, Optional.empty(), Optional.empty(), spillCipher);
    }