mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-07 07:23:15 +00:00
" The generating reader is a reader which converts a functor returning mutation fragments to a mutation reader. We currently have 2 generating reader implementations: one operating with a v1 functor and one with a v2 one. This patch-set converts the v1 functor based one to a v2 reader, by adapting the v1 functor to a v2 functor and reusing the v2 reader implementation. Tests are also added to both variants. Tests: unit(dev) " * 'generating-reader-v2/v1' of https://github.com/denesb/scylla: test/boost: mutation_reader_test: add tests for generating reader test: export squash_mutations() into lib/mutation_source_test.hh readers: add next partition adaptor readers: implement generating_reader from v1 generator via adaptor readers: upgrade_to_v2(): reimplement in terms of upgrading_consumer readers: add upgrading_consumer readers: generating_reader: use noncopyable_function<> readers: merge generating.hh into generating_v2.hh readers/generating.hh: return v2 reader from make_generating_reader()