Kùzu C++ API
Loading...
Searching...
No Matches
client_config.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6#include "path_semantic.h"
7
8namespace kuzu {
9namespace main {
10
12 // System home directory.
13 std::string homeDirectory;
14 // File search path.
15 std::string fileSearchPath;
16 // If using semi mask in join.
18 // If using zone map in scan.
20 // Number of threads for execution.
21 uint64_t numThreads;
22 // Timeout (milliseconds).
23 uint64_t timeoutInMS;
24 // Variable length maximum depth.
26 // If using progress bar.
28 // time before displaying progress bar
30 // Semantic for recursive pattern, can be either WALK, TRAIL, ACYCLIC
32 // Scale factor for recursive pattern cardinality estimation.
35};
36
38 // 0 means timeout is disabled by default.
39 static constexpr uint64_t TIMEOUT_IN_MS = 0;
40 static constexpr uint32_t VAR_LENGTH_MAX_DEPTH = 30;
41 static constexpr bool ENABLE_SEMI_MASK = true;
42 static constexpr bool ENABLE_ZONE_MAP = false;
43 static constexpr bool ENABLE_PROGRESS_BAR = false;
44 static constexpr uint64_t SHOW_PROGRESS_AFTER = 1000;
46 static constexpr uint32_t RECURSIVE_PATTERN_FACTOR = 1;
47 static constexpr bool DISABLE_MAP_KEY_CHECK = true;
48};
49
50} // namespace main
51} // namespace kuzu
PathSemantic
Definition path_semantic.h:9
Definition alter_type.h:5
Definition client_config.h:37
static constexpr bool ENABLE_PROGRESS_BAR
Definition client_config.h:43
static constexpr uint64_t TIMEOUT_IN_MS
Definition client_config.h:39
static constexpr uint32_t VAR_LENGTH_MAX_DEPTH
Definition client_config.h:40
static constexpr uint64_t SHOW_PROGRESS_AFTER
Definition client_config.h:44
static constexpr bool DISABLE_MAP_KEY_CHECK
Definition client_config.h:47
static constexpr bool ENABLE_ZONE_MAP
Definition client_config.h:42
static constexpr common::PathSemantic RECURSIVE_PATTERN_SEMANTIC
Definition client_config.h:45
static constexpr uint32_t RECURSIVE_PATTERN_FACTOR
Definition client_config.h:46
static constexpr bool ENABLE_SEMI_MASK
Definition client_config.h:41
Definition client_config.h:11
bool enableSemiMask
Definition client_config.h:17
bool disableMapKeyCheck
Definition client_config.h:34
std::string homeDirectory
Definition client_config.h:13
uint32_t recursivePatternCardinalityScaleFactor
Definition client_config.h:33
uint32_t varLengthMaxDepth
Definition client_config.h:25
bool enableZoneMap
Definition client_config.h:19
uint64_t numThreads
Definition client_config.h:21
uint64_t showProgressAfter
Definition client_config.h:29
std::string fileSearchPath
Definition client_config.h:15
bool enableProgressBar
Definition client_config.h:27
uint64_t timeoutInMS
Definition client_config.h:23
common::PathSemantic recursivePatternSemantic
Definition client_config.h:31