https://github.com/facebook/rocksdb
Revision 1f5954147bd89ae7d60eb1d74e95b4eefc668fb8 authored by sdong on 27 February 2016, 01:13:39 UTC, committed by sdong on 29 February 2016, 22:01:31 UTC
Summary: Add Iterator::GetProperty(), a way for users to communicate with iterator, and turn Iterator::IsKeyPinned() with it. As a follow-up, I'll ask a property as the version number attached to the iterator Test Plan: Rerun existing tests and add a negative test case. Reviewers: yhchiang, andrewkr, kradhakrishnan, anthony, IslamAbdelRahman Reviewed By: IslamAbdelRahman Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D54783
1 parent 6778941
Tip revision: 1f5954147bd89ae7d60eb1d74e95b4eefc668fb8 authored by sdong on 27 February 2016, 01:13:39 UTC
Introduce Iterator::GetProperty() and replace Iterator::IsKeyPinned()
Introduce Iterator::GetProperty() and replace Iterator::IsKeyPinned()
Tip revision: 1f59541
File | Mode | Size |
---|---|---|
adaptive_table_factory.cc | -rw-r--r-- | 4.5 KB |
adaptive_table_factory.h | -rw-r--r-- | 1.8 KB |
block.cc | -rw-r--r-- | 11.5 KB |
block.h | -rw-r--r-- | 6.8 KB |
block_based_filter_block.cc | -rw-r--r-- | 7.9 KB |
block_based_filter_block.h | -rw-r--r-- | 4.3 KB |
block_based_filter_block_test.cc | -rw-r--r-- | 7.9 KB |
block_based_table_builder.cc | -rw-r--r-- | 33.3 KB |
block_based_table_builder.h | -rw-r--r-- | 4.3 KB |
block_based_table_factory.cc | -rw-r--r-- | 7.7 KB |
block_based_table_factory.h | -rw-r--r-- | 2.5 KB |
block_based_table_reader.cc | -rw-r--r-- | 59.1 KB |
block_based_table_reader.h | -rw-r--r-- | 9.5 KB |
block_builder.cc | -rw-r--r-- | 4.5 KB |
block_builder.h | -rw-r--r-- | 2.1 KB |
block_hash_index.cc | -rw-r--r-- | 5.1 KB |
block_hash_index.h | -rw-r--r-- | 3.0 KB |
block_hash_index_test.cc | -rw-r--r-- | 3.9 KB |
block_prefix_index.cc | -rw-r--r-- | 7.8 KB |
block_prefix_index.h | -rw-r--r-- | 2.2 KB |
block_test.cc | -rw-r--r-- | 7.4 KB |
bloom_block.cc | -rw-r--r-- | 738 bytes |
bloom_block.h | -rw-r--r-- | 1.1 KB |
cuckoo_table_builder.cc | -rw-r--r-- | 19.0 KB |
cuckoo_table_builder.h | -rw-r--r-- | 4.5 KB |
cuckoo_table_builder_test.cc | -rw-r--r-- | 25.3 KB |
cuckoo_table_factory.cc | -rw-r--r-- | 2.5 KB |
cuckoo_table_factory.h | -rw-r--r-- | 2.7 KB |
cuckoo_table_reader.cc | -rw-r--r-- | 13.2 KB |
cuckoo_table_reader.h | -rw-r--r-- | 2.8 KB |
cuckoo_table_reader_test.cc | -rw-r--r-- | 19.1 KB |
filter_block.h | -rw-r--r-- | 3.1 KB |
flush_block_policy.cc | -rw-r--r-- | 2.6 KB |
format.cc | -rw-r--r-- | 15.5 KB |
format.h | -rw-r--r-- | 8.4 KB |
full_filter_block.cc | -rw-r--r-- | 3.2 KB |
full_filter_block.h | -rw-r--r-- | 4.1 KB |
full_filter_block_test.cc | -rw-r--r-- | 5.6 KB |
get_context.cc | -rw-r--r-- | 6.0 KB |
get_context.h | -rw-r--r-- | 2.5 KB |
internal_iterator.h | -rw-r--r-- | 3.5 KB |
iter_heap.h | -rw-r--r-- | 1.2 KB |
iterator.cc | -rw-r--r-- | 3.9 KB |
iterator_wrapper.h | -rw-r--r-- | 4.5 KB |
merger.cc | -rw-r--r-- | 10.9 KB |
merger.h | -rw-r--r-- | 2.0 KB |
merger_test.cc | -rw-r--r-- | 4.3 KB |
meta_blocks.cc | -rw-r--r-- | 11.2 KB |
meta_blocks.h | -rw-r--r-- | 4.8 KB |
mock_table.cc | -rw-r--r-- | 4.3 KB |
mock_table.h | -rw-r--r-- | 5.6 KB |
plain_table_builder.cc | -rw-r--r-- | 9.0 KB |
plain_table_builder.h | -rw-r--r-- | 4.5 KB |
plain_table_factory.cc | -rw-r--r-- | 3.6 KB |
plain_table_factory.h | -rw-r--r-- | 6.9 KB |
plain_table_index.cc | -rw-r--r-- | 7.3 KB |
plain_table_index.h | -rw-r--r-- | 7.1 KB |
plain_table_key_coding.cc | -rw-r--r-- | 17.3 KB |
plain_table_key_coding.h | -rw-r--r-- | 7.4 KB |
plain_table_reader.cc | -rw-r--r-- | 23.0 KB |
plain_table_reader.h | -rw-r--r-- | 8.0 KB |
scoped_arena_iterator.h | -rw-r--r-- | 983 bytes |
sst_file_writer.cc | -rw-r--r-- | 5.9 KB |
table_builder.h | -rw-r--r-- | 4.2 KB |
table_properties.cc | -rw-r--r-- | 4.5 KB |
table_properties_internal.h | -rw-r--r-- | 641 bytes |
table_reader.h | -rw-r--r-- | 4.0 KB |
table_reader_bench.cc | -rw-r--r-- | 11.9 KB |
table_test.cc | -rw-r--r-- | 84.5 KB |
two_level_iterator.cc | -rw-r--r-- | 6.6 KB |
two_level_iterator.h | -rw-r--r-- | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...