Kùzu C++ API
Loading...
Searching...
No Matches
residency_state.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6#include "assert.h"
7
8namespace kuzu {
9namespace storage {
10
11enum class ResidencyState : uint8_t { IN_MEMORY = 0, ON_DISK = 1 };
12
14 static std::string toString(ResidencyState residencyState) {
15 switch (residencyState) {
17 return "IN_MEMORY";
18 }
20 return "ON_DISK";
21 }
22 default: {
24 }
25 }
26 }
27};
28
29} // namespace storage
30} // namespace kuzu
#define KU_UNREACHABLE
Definition assert.h:28
ResidencyState
Definition residency_state.h:11
Definition alter_type.h:5
Definition residency_state.h:13
static std::string toString(ResidencyState residencyState)
Definition residency_state.h:14