Kùzu C++ API
Loading...
Searching...
No Matches
db_file_id.h
Go to the documentation of this file.
1#pragma once
2
3#include "internal_id_t.h"
4
5namespace kuzu {
6namespace storage {
7
8enum class DBFileType : uint8_t {
9 NODE_INDEX = 0,
10 DATA = 1,
11};
12
13// DBFileID start with 1 byte type followed with additional bytes needed by node hash index
14// (isOverflow and tableID).
26
27} // namespace storage
28} // namespace kuzu
constexpr table_id_t INVALID_TABLE_ID
Definition internal_id_t.h:19
uint64_t table_id_t
Definition internal_id_t.h:14
DBFileType
Definition db_file_id.h:8
Definition alter_type.h:5
Definition db_file_id.h:15
static DBFileID newDataFileID()
bool isOverflow
Definition db_file_id.h:17
bool operator==(const DBFileID &rhs) const =default
static DBFileID newPKIndexFileID(common::table_id_t tableID)
DBFileType dbFileType
Definition db_file_id.h:16
common::table_id_t tableID
Definition db_file_id.h:18