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 // 0 means timeout is disabled by default.
13 static constexpr uint64_t TIMEOUT_IN_MS = 0;
14 static constexpr uint32_t VAR_LENGTH_MAX_DEPTH = 30;
15 static constexpr bool ENABLE_SEMI_MASK = true;
16 static constexpr bool ENABLE_ZONE_MAP = true;
17 static constexpr bool ENABLE_GDS = true;
18 static constexpr bool ENABLE_PROGRESS_BAR = false;
19 static constexpr uint64_t SHOW_PROGRESS_AFTER = 1000;
21 static constexpr uint32_t RECURSIVE_PATTERN_FACTOR = 100;
22 static constexpr bool DISABLE_MAP_KEY_CHECK = true;
23 static constexpr uint64_t WARNING_LIMIT = 8 * 1024;
24};
25
27 // System home directory.
28 std::string homeDirectory;
29 // File search path.
30 std::string fileSearchPath;
31 // If using semi mask in join.
33 // If using zone map in scan.
35 // If compiling recursive pattern as GDS.
37 // Number of threads for execution.
38 uint64_t numThreads = 1;
39 // Timeout (milliseconds).
41 // Variable length maximum depth.
43 // If using progress bar.
45 // time before displaying progress bar
47 // Semantic for recursive pattern, can be either WALK, TRAIL, ACYCLIC
49 // Scale factor for recursive pattern cardinality estimation.
51 // maximum number of cached warnings
54};
55
56} // namespace main
57} // namespace kuzu
PathSemantic
Definition path_semantic.h:9
Definition array_utils.h:7
Definition client_config.h:11
static constexpr bool ENABLE_PROGRESS_BAR
Definition client_config.h:18
static constexpr uint64_t TIMEOUT_IN_MS
Definition client_config.h:13
static constexpr uint32_t VAR_LENGTH_MAX_DEPTH
Definition client_config.h:14
static constexpr uint64_t SHOW_PROGRESS_AFTER
Definition client_config.h:19
static constexpr bool ENABLE_GDS
Definition client_config.h:17
static constexpr bool DISABLE_MAP_KEY_CHECK
Definition client_config.h:22
static constexpr uint64_t WARNING_LIMIT
Definition client_config.h:23
static constexpr bool ENABLE_ZONE_MAP
Definition client_config.h:16
static constexpr common::PathSemantic RECURSIVE_PATTERN_SEMANTIC
Definition client_config.h:20
static constexpr uint32_t RECURSIVE_PATTERN_FACTOR
Definition client_config.h:21
static constexpr bool ENABLE_SEMI_MASK
Definition client_config.h:15
Definition client_config.h:26
bool enableSemiMask
Definition client_config.h:32
bool disableMapKeyCheck
Definition client_config.h:53
std::string homeDirectory
Definition client_config.h:28
uint32_t recursivePatternCardinalityScaleFactor
Definition client_config.h:50
uint64_t warningLimit
Definition client_config.h:52
bool enableGDS
Definition client_config.h:36
uint32_t varLengthMaxDepth
Definition client_config.h:42
bool enableZoneMap
Definition client_config.h:34
uint64_t numThreads
Definition client_config.h:38
uint64_t showProgressAfter
Definition client_config.h:46
std::string fileSearchPath
Definition client_config.h:30
bool enableProgressBar
Definition client_config.h:44
uint64_t timeoutInMS
Definition client_config.h:40
common::PathSemantic recursivePatternSemantic
Definition client_config.h:48