]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/table/table_properties_internal.h
1 // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
2 // This source code is licensed under the BSD-style license found in the
3 // LICENSE file in the root directory of this source tree. An additional grant
4 // of patent rights can be found in the PATENTS file in the same directory.
8 #include "rocksdb/status.h"
9 #include "rocksdb/iterator.h"
13 class InternalIterator
;
16 // Seek to the properties block.
17 // If it successfully seeks to the properties block, "is_found" will be
19 Status
SeekToPropertiesBlock(InternalIterator
* meta_iter
, bool* is_found
);
21 // Seek to the compression dictionary block.
22 // If it successfully seeks to the properties block, "is_found" will be
24 Status
SeekToCompressionDictBlock(InternalIterator
* meta_iter
, bool* is_found
);
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
);
30 } // namespace rocksdb