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

#include <constants.h>

Static Public Attributes

static constexpr uint64_t INITIAL_BUFFER_SIZE = 16384
 
static constexpr uint64_t PARALLEL_BLOCK_SIZE = INITIAL_BUFFER_SIZE / 2
 
static constexpr const char * BOOL_CSV_PARSING_OPTIONS [] = {"HEADER", "PARALLEL"}
 
static constexpr bool DEFAULT_CSV_HAS_HEADER = false
 
static constexpr bool DEFAULT_CSV_PARALLEL = true
 
static constexpr const char * STRING_CSV_PARSING_OPTIONS [] = {"ESCAPE", "DELIM", "QUOTE"}
 
static constexpr char DEFAULT_CSV_ESCAPE_CHAR = '"'
 
static constexpr char DEFAULT_CSV_DELIMITER = ','
 
static constexpr char DEFAULT_CSV_QUOTE_CHAR = '"'
 
static constexpr char DEFAULT_CSV_LIST_BEGIN_CHAR = '['
 
static constexpr char DEFAULT_CSV_LIST_END_CHAR = ']'
 
static constexpr char DEFAULT_CSV_LINE_BREAK = '\n'
 
static constexpr const char * ROW_IDX_COLUMN_NAME = "ROW_IDX"
 
static constexpr uint64_t PANDAS_PARTITION_COUNT = 50 * DEFAULT_VECTOR_CAPACITY
 
static constexpr const char * INT_CSV_PARSING_OPTIONS [] = {"SKIP"}
 
static constexpr uint64_t DEFAULT_CSV_SKIP_NUM = 0
 

Member Data Documentation

◆ BOOL_CSV_PARSING_OPTIONS

const char* kuzu::common::CopyConstants::BOOL_CSV_PARSING_OPTIONS[] = {"HEADER", "PARALLEL"}
staticconstexpr

◆ DEFAULT_CSV_DELIMITER

char kuzu::common::CopyConstants::DEFAULT_CSV_DELIMITER = ','
staticconstexpr

◆ DEFAULT_CSV_ESCAPE_CHAR

char kuzu::common::CopyConstants::DEFAULT_CSV_ESCAPE_CHAR = '"'
staticconstexpr

◆ DEFAULT_CSV_HAS_HEADER

bool kuzu::common::CopyConstants::DEFAULT_CSV_HAS_HEADER = false
staticconstexpr

◆ DEFAULT_CSV_LINE_BREAK

char kuzu::common::CopyConstants::DEFAULT_CSV_LINE_BREAK = '\n'
staticconstexpr

◆ DEFAULT_CSV_LIST_BEGIN_CHAR

char kuzu::common::CopyConstants::DEFAULT_CSV_LIST_BEGIN_CHAR = '['
staticconstexpr

◆ DEFAULT_CSV_LIST_END_CHAR

char kuzu::common::CopyConstants::DEFAULT_CSV_LIST_END_CHAR = ']'
staticconstexpr

◆ DEFAULT_CSV_PARALLEL

bool kuzu::common::CopyConstants::DEFAULT_CSV_PARALLEL = true
staticconstexpr

◆ DEFAULT_CSV_QUOTE_CHAR

char kuzu::common::CopyConstants::DEFAULT_CSV_QUOTE_CHAR = '"'
staticconstexpr

◆ DEFAULT_CSV_SKIP_NUM

uint64_t kuzu::common::CopyConstants::DEFAULT_CSV_SKIP_NUM = 0
staticconstexpr

◆ INITIAL_BUFFER_SIZE

uint64_t kuzu::common::CopyConstants::INITIAL_BUFFER_SIZE = 16384
staticconstexpr

◆ INT_CSV_PARSING_OPTIONS

const char* kuzu::common::CopyConstants::INT_CSV_PARSING_OPTIONS[] = {"SKIP"}
staticconstexpr

◆ PANDAS_PARTITION_COUNT

uint64_t kuzu::common::CopyConstants::PANDAS_PARTITION_COUNT = 50 * DEFAULT_VECTOR_CAPACITY
staticconstexpr

◆ PARALLEL_BLOCK_SIZE

uint64_t kuzu::common::CopyConstants::PARALLEL_BLOCK_SIZE = INITIAL_BUFFER_SIZE / 2
staticconstexpr

◆ ROW_IDX_COLUMN_NAME

const char* kuzu::common::CopyConstants::ROW_IDX_COLUMN_NAME = "ROW_IDX"
staticconstexpr

◆ STRING_CSV_PARSING_OPTIONS

const char* kuzu::common::CopyConstants::STRING_CSV_PARSING_OPTIONS[] = {"ESCAPE", "DELIM", "QUOTE"}
staticconstexpr

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