Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::StorageConstants Struct Reference

#include <constants.h>

Static Public Attributes

static constexpr char OVERFLOW_FILE_SUFFIX [] = ".ovf"
 
static constexpr char WAL_FILE_SUFFIX [] = ".wal"
 
static constexpr char SHADOWING_SUFFIX [] = ".shadow"
 
static constexpr char INDEX_FILE_SUFFIX [] = ".hindex"
 
static constexpr char CATALOG_FILE_NAME [] = "catalog.kz"
 
static constexpr char CATALOG_FILE_NAME_FOR_WAL [] = "catalog.shadow"
 
static constexpr char DATA_FILE_NAME [] = "data.kz"
 
static constexpr char METADATA_FILE_NAME [] = "metadata.kz"
 
static constexpr char METADATA_FILE_NAME_FOR_WAL [] = "metadata.shadow"
 
static constexpr char LOCK_FILE_NAME [] = ".lock"
 
static constexpr uint64_t PAGE_GROUP_SIZE_LOG2 = 10
 
static constexpr uint64_t PAGE_GROUP_SIZE = static_cast<uint64_t>(1) << PAGE_GROUP_SIZE_LOG2
 
static constexpr uint64_t PAGE_IDX_IN_GROUP_MASK
 
static constexpr uint64_t NODE_GROUP_SIZE_LOG2 = 17
 
static constexpr uint64_t NODE_GROUP_SIZE = static_cast<uint64_t>(1) << NODE_GROUP_SIZE_LOG2
 
static constexpr uint64_t NUM_VECTORS_PER_NODE_GROUP
 
static constexpr double PACKED_CSR_DENSITY = 0.8
 
static constexpr double LEAF_LOW_CSR_DENSITY = 0.1
 
static constexpr double LEAF_HIGH_CSR_DENSITY = 1.0
 
static constexpr uint64_t CSR_LEAF_REGION_SIZE_LOG2 = 10
 
static constexpr uint64_t CSR_LEAF_REGION_SIZE
 
static constexpr uint64_t MAX_NUM_ROWS_IN_TABLE = static_cast<uint64_t>(1) << 62
 

Member Data Documentation

◆ CATALOG_FILE_NAME

char kuzu::common::StorageConstants::CATALOG_FILE_NAME[] = "catalog.kz"
staticconstexpr

◆ CATALOG_FILE_NAME_FOR_WAL

char kuzu::common::StorageConstants::CATALOG_FILE_NAME_FOR_WAL[] = "catalog.shadow"
staticconstexpr

◆ CSR_LEAF_REGION_SIZE

uint64_t kuzu::common::StorageConstants::CSR_LEAF_REGION_SIZE
staticconstexpr
Initial value:
= static_cast<uint64_t>(1)
static constexpr uint64_t CSR_LEAF_REGION_SIZE_LOG2
Definition constants.h:111

◆ CSR_LEAF_REGION_SIZE_LOG2

uint64_t kuzu::common::StorageConstants::CSR_LEAF_REGION_SIZE_LOG2 = 10
staticconstexpr

◆ DATA_FILE_NAME

char kuzu::common::StorageConstants::DATA_FILE_NAME[] = "data.kz"
staticconstexpr

◆ INDEX_FILE_SUFFIX

char kuzu::common::StorageConstants::INDEX_FILE_SUFFIX[] = ".hindex"
staticconstexpr

◆ LEAF_HIGH_CSR_DENSITY

double kuzu::common::StorageConstants::LEAF_HIGH_CSR_DENSITY = 1.0
staticconstexpr

◆ LEAF_LOW_CSR_DENSITY

double kuzu::common::StorageConstants::LEAF_LOW_CSR_DENSITY = 0.1
staticconstexpr

◆ LOCK_FILE_NAME

char kuzu::common::StorageConstants::LOCK_FILE_NAME[] = ".lock"
staticconstexpr

◆ MAX_NUM_ROWS_IN_TABLE

uint64_t kuzu::common::StorageConstants::MAX_NUM_ROWS_IN_TABLE = static_cast<uint64_t>(1) << 62
staticconstexpr

◆ METADATA_FILE_NAME

char kuzu::common::StorageConstants::METADATA_FILE_NAME[] = "metadata.kz"
staticconstexpr

◆ METADATA_FILE_NAME_FOR_WAL

char kuzu::common::StorageConstants::METADATA_FILE_NAME_FOR_WAL[] = "metadata.shadow"
staticconstexpr

◆ NODE_GROUP_SIZE

uint64_t kuzu::common::StorageConstants::NODE_GROUP_SIZE = static_cast<uint64_t>(1) << NODE_GROUP_SIZE_LOG2
staticconstexpr

◆ NODE_GROUP_SIZE_LOG2

uint64_t kuzu::common::StorageConstants::NODE_GROUP_SIZE_LOG2 = 17
staticconstexpr

◆ NUM_VECTORS_PER_NODE_GROUP

uint64_t kuzu::common::StorageConstants::NUM_VECTORS_PER_NODE_GROUP
staticconstexpr
Initial value:
=
constexpr uint64_t DEFAULT_VECTOR_CAPACITY
Definition constants.h:12
static constexpr uint64_t NODE_GROUP_SIZE
Definition constants.h:103

◆ OVERFLOW_FILE_SUFFIX

char kuzu::common::StorageConstants::OVERFLOW_FILE_SUFFIX[] = ".ovf"
staticconstexpr

◆ PACKED_CSR_DENSITY

double kuzu::common::StorageConstants::PACKED_CSR_DENSITY = 0.8
staticconstexpr

◆ PAGE_GROUP_SIZE

uint64_t kuzu::common::StorageConstants::PAGE_GROUP_SIZE = static_cast<uint64_t>(1) << PAGE_GROUP_SIZE_LOG2
staticconstexpr

◆ PAGE_GROUP_SIZE_LOG2

uint64_t kuzu::common::StorageConstants::PAGE_GROUP_SIZE_LOG2 = 10
staticconstexpr

◆ PAGE_IDX_IN_GROUP_MASK

uint64_t kuzu::common::StorageConstants::PAGE_IDX_IN_GROUP_MASK
staticconstexpr
Initial value:
=
(static_cast<uint64_t>(1) << PAGE_GROUP_SIZE_LOG2) - 1
static constexpr uint64_t PAGE_GROUP_SIZE_LOG2
Definition constants.h:97

◆ SHADOWING_SUFFIX

char kuzu::common::StorageConstants::SHADOWING_SUFFIX[] = ".shadow"
staticconstexpr

◆ WAL_FILE_SUFFIX

char kuzu::common::StorageConstants::WAL_FILE_SUFFIX[] = ".wal"
staticconstexpr

The documentation for this struct was generated from the following file: