rocksdb/utilities/write_batch_with_index
Aaron Gao f517d9dd09 Add SeekForPrev() to Iterator
Summary:
Add new Iterator API, `SeekForPrev`: find the last key that <= target key
support prefix_extractor
support prefix_same_as_start
support upper_bound
not supported in iterators without Prev()

Also add tests in db_iter_test and db_iterator_test

Pass all tests
Cheers!

Test Plan: make all check -j64

Reviewers: andrewkr, yiwu, IslamAbdelRahman, sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D64149
2016-09-27 18:20:57 -07:00
..
write_batch_with_index.cc Add SeekForPrev() to Iterator 2016-09-27 18:20:57 -07:00
write_batch_with_index_internal.cc WriteBatch support for range deletion 2016-08-16 08:16:04 -07:00
write_batch_with_index_internal.h Modification of WriteBatch to support two phase commit 2016-05-10 14:06:07 -07:00
write_batch_with_index_test.cc Add SeekForPrev() to Iterator 2016-09-27 18:20:57 -07:00