tolbertam / sstable-tools

Tools for parsing, creating and doing other fun stuff with sstables
Apache License 2.0
162 stars 31 forks source link

optimize paging by reusing scanner #38

Open tolbertam opened 8 years ago

tolbertam commented 8 years ago

The paging logic in cqlsh reopens the SSTable(s) on each page. This is wasteful and we could just keep track of where we left off in UnfilteredPartitionIterator and the current RowIterator.