]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved. |
11fdf7f2 TL |
2 | // This source code is licensed under both the GPLv2 (found in the |
3 | // COPYING file in the root directory) and Apache 2.0 License | |
4 | // (found in the LICENSE.Apache file in the root directory). | |
7c673cae FG |
5 | |
6 | #pragma once | |
7 | ||
8 | #include "rocksdb/status.h" | |
9 | #include "rocksdb/iterator.h" | |
10 | ||
11 | namespace rocksdb { | |
12 | ||
7c673cae FG |
13 | class BlockHandle; |
14 | ||
15 | // Seek to the properties block. | |
16 | // If it successfully seeks to the properties block, "is_found" will be | |
17 | // set to true. | |
18 | Status SeekToPropertiesBlock(InternalIterator* meta_iter, bool* is_found); | |
19 | ||
20 | // Seek to the compression dictionary block. | |
21 | // If it successfully seeks to the properties block, "is_found" will be | |
22 | // set to true. | |
11fdf7f2 TL |
23 | Status SeekToCompressionDictBlock(InternalIterator* meta_iter, bool* is_found, |
24 | BlockHandle* block_handle); | |
7c673cae FG |
25 | |
26 | // TODO(andrewkr) should not put all meta block in table_properties.h/cc | |
27 | Status SeekToRangeDelBlock(InternalIterator* meta_iter, bool* is_found, | |
28 | BlockHandle* block_handle); | |
29 | ||
30 | } // namespace rocksdb |