]> git.proxmox.com Git - ceph.git/blame - ceph/src/rocksdb/table/table_properties_internal.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / table / table_properties_internal.h
CommitLineData
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
f67539c2 11namespace ROCKSDB_NAMESPACE {
7c673cae 12
7c673cae
FG
13class 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.
18Status 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
23Status 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
27Status SeekToRangeDelBlock(InternalIterator* meta_iter, bool* is_found,
28 BlockHandle* block_handle);
29
f67539c2 30} // namespace ROCKSDB_NAMESPACE