1 // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
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).
10 #include "rocksdb/slice.h"
12 namespace ROCKSDB_NAMESPACE
{
14 // Define all public custom types here.
16 using ColumnFamilyId
= uint32_t;
18 // Represents a sequence number in a WAL file.
19 using SequenceNumber
= uint64_t;
21 const SequenceNumber kMinUnCommittedSeq
= 1; // 0 is always committed
23 enum class TableFileCreationReason
{
30 enum class BlobFileCreationReason
{
36 // The types of files RocksDB uses in a DB directory. (Available for
45 kInfoLogFile
, // Either the current one, or an old one
52 // User-oriented representation of internal key types.
53 // Ordering of this enum entries should not change.
61 kEntryDeleteWithTimestamp
,
62 kEntryWideColumnEntity
,
66 } // namespace ROCKSDB_NAMESPACE