Kùzu C++ API
|
Namespaces | |
namespace | string_format_detail |
Concepts | |
concept | IntegerTypes |
concept | FloatingPointTypes |
concept | NumericTypes |
concept | ComparableTypes |
concept | HashablePrimitive |
concept | IndexHashable |
concept | HashableNonNestedTypes |
concept | HashableNestedTypes |
concept | HashableTypes |
Typedefs | |
template<typename T > | |
using | case_insensitive_map_t |
using | case_insensitve_set_t |
using | sel_t = uint64_t |
using | hash_t = uint64_t |
using | page_idx_t = uint32_t |
using | frame_idx_t = page_idx_t |
using | page_offset_t = uint32_t |
using | file_idx_t = uint32_t |
using | page_group_idx_t = uint32_t |
using | frame_group_idx_t = page_group_idx_t |
using | column_id_t = uint32_t |
using | idx_t = uint32_t |
using | block_idx_t = uint64_t |
using | struct_field_idx_t = uint8_t |
using | union_field_idx_t = struct_field_idx_t |
using | row_idx_t = uint64_t |
using | node_group_idx_t = uint64_t |
using | partition_idx_t = uint64_t |
using | length_t = uint64_t |
using | list_size_t = uint32_t |
using | sequence_id_t = uint64_t |
using | oid_t = uint64_t |
using | transaction_t = uint64_t |
using | executor_id_t = uint64_t |
using | executor_info = std::unordered_map<executor_id_t, uint64_t> |
using | table_id_t = oid_t |
using | table_id_vector_t = std::vector<table_id_t> |
using | table_id_set_t = std::unordered_set<table_id_t> |
template<typename T > | |
using | table_id_map_t = std::unordered_map<table_id_t, T> |
using | offset_t = uint64_t |
using | nodeID_t = internalID_t |
using | relID_t = internalID_t |
using | cardinality_t = uint64_t |
using | logical_type_vec_t = std::vector<LogicalType> |
Enumerations | |
enum | PageSizeClass : uint8_t { REGULAR_PAGE = 0 , TEMP_PAGE = 1 } |
enum class | FStateType : uint8_t { FLAT = 0 , UNFLAT = 1 } |
enum class | ExpressionType : uint8_t { OR = 0 , XOR = 1 , AND = 2 , NOT = 3 , EQUALS = 10 , NOT_EQUALS = 11 , GREATER_THAN = 12 , GREATER_THAN_EQUALS = 13 , LESS_THAN = 14 , LESS_THAN_EQUALS = 15 , IS_NULL = 50 , IS_NOT_NULL = 51 , PROPERTY = 60 , LITERAL = 70 , STAR = 80 , VARIABLE = 90 , PATH = 91 , PATTERN = 92 , PARAMETER = 100 , FUNCTION = 110 , AGGREGATE_FUNCTION = 130 , SUBQUERY = 190 , CASE_ELSE = 200 , GRAPH = 210 , LAMBDA = 220 , INVALID = 255 } |
enum class | PathSemantic : uint8_t { WALK = 0 , TRAIL = 1 , ACYCLIC = 2 } |
enum class | FileType : uint8_t { UNKNOWN = 0 , CSV = 1 , PARQUET = 2 , NPY = 3 } |
enum class | StatementType : uint8_t { QUERY = 0 , CREATE_TABLE = 1 , DROP = 2 , ALTER = 3 , COPY_TO = 19 , COPY_FROM = 20 , STANDALONE_CALL = 21 , STANDALONE_CALL_FUNCTION = 22 , EXPLAIN = 23 , CREATE_MACRO = 24 , TRANSACTION = 30 , EXTENSION = 31 , EXPORT_DATABASE = 32 , IMPORT_DATABASE = 33 , ATTACH_DATABASE = 34 , DETACH_DATABASE = 35 , USE_DATABASE = 36 , CREATE_SEQUENCE = 37 , CREATE_TYPE = 39 } |
enum class | LogicalTypeID : uint8_t { ANY = 0 , NODE = 10 , REL = 11 , RECURSIVE_REL = 12 , SERIAL = 13 , BOOL = 22 , INT64 = 23 , INT32 = 24 , INT16 = 25 , INT8 = 26 , UINT64 = 27 , UINT32 = 28 , UINT16 = 29 , UINT8 = 30 , INT128 = 31 , DOUBLE = 32 , FLOAT = 33 , DATE = 34 , TIMESTAMP = 35 , TIMESTAMP_SEC = 36 , TIMESTAMP_MS = 37 , TIMESTAMP_NS = 38 , TIMESTAMP_TZ = 39 , INTERVAL = 40 , DECIMAL = 41 , INTERNAL_ID = 42 , STRING = 50 , BLOB = 51 , LIST = 52 , ARRAY = 53 , STRUCT = 54 , MAP = 55 , UNION = 56 , POINTER = 58 , UUID = 59 } |
enum class | PhysicalTypeID : uint8_t { ANY = 0 , BOOL = 1 , INT64 = 2 , INT32 = 3 , INT16 = 4 , INT8 = 5 , UINT64 = 6 , UINT32 = 7 , UINT16 = 8 , UINT8 = 9 , INT128 = 10 , DOUBLE = 11 , FLOAT = 12 , INTERVAL = 13 , INTERNAL_ID = 14 , ALP_EXCEPTION_FLOAT = 15 , ALP_EXCEPTION_DOUBLE = 16 , STRING = 20 , LIST = 22 , ARRAY = 23 , STRUCT = 24 , POINTER = 25 } |
enum class | TypeCategory : uint8_t { INTERNAL = 0 , UDT = 1 } |
enum class | FileVersionType : uint8_t { ORIGINAL = 0 , WAL_VERSION = 1 } |
Functions | |
template<typename T , size_t N1, size_t N2> | |
constexpr std::array< T, N1+N2 > | arrayConcat (const std::array< T, N1 > &arr1, const std::array< T, N2 > &arr2) |
void | kuAssertFailureInternal (const char *condition_name, const char *file, int linenr) |
template<typename TO , typename FROM > | |
TO | ku_dynamic_cast (FROM *old) |
template<typename TO , typename FROM > | |
TO | ku_dynamic_cast (FROM &old) |
date_t | operator+ (int64_t i, const date_t date) |
KUZU_API int128_t | operator+ (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator- (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator* (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator/ (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator% (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator^ (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator& (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator~ (const int128_t &val) |
KUZU_API int128_t | operator| (const int128_t &lhs, const int128_t &rhs) |
KUZU_API int128_t | operator<< (const int128_t &lhs, int amount) |
KUZU_API int128_t | operator>> (const int128_t &lhs, int amount) |
KUZU_API bool | operator== (const int128_t &lhs, const int128_t &rhs) |
KUZU_API bool | operator!= (const int128_t &lhs, const int128_t &rhs) |
KUZU_API bool | operator> (const int128_t &lhs, const int128_t &rhs) |
KUZU_API bool | operator>= (const int128_t &lhs, const int128_t &rhs) |
KUZU_API bool | operator< (const int128_t &lhs, const int128_t &rhs) |
KUZU_API bool | operator<= (const int128_t &lhs, const int128_t &rhs) |
template<typename... Args> | |
std::string | stringFormat (std::string_view format, Args... args) |
using kuzu::common::block_idx_t = uint64_t |
using kuzu::common::cardinality_t = uint64_t |
using kuzu::common::case_insensitive_map_t |
using kuzu::common::column_id_t = uint32_t |
using kuzu::common::executor_id_t = uint64_t |
using kuzu::common::executor_info = std::unordered_map<executor_id_t, uint64_t> |
using kuzu::common::file_idx_t = uint32_t |
using kuzu::common::frame_idx_t = page_idx_t |
using kuzu::common::hash_t = uint64_t |
using kuzu::common::idx_t = uint32_t |
using kuzu::common::length_t = uint64_t |
using kuzu::common::list_size_t = uint32_t |
using kuzu::common::logical_type_vec_t = std::vector<LogicalType> |
using kuzu::common::node_group_idx_t = uint64_t |
using kuzu::common::nodeID_t = internalID_t |
using kuzu::common::offset_t = uint64_t |
using kuzu::common::oid_t = uint64_t |
using kuzu::common::page_group_idx_t = uint32_t |
using kuzu::common::page_idx_t = uint32_t |
using kuzu::common::page_offset_t = uint32_t |
using kuzu::common::partition_idx_t = uint64_t |
using kuzu::common::relID_t = internalID_t |
using kuzu::common::row_idx_t = uint64_t |
using kuzu::common::sel_t = uint64_t |
using kuzu::common::sequence_id_t = uint64_t |
using kuzu::common::struct_field_idx_t = uint8_t |
using kuzu::common::table_id_map_t = std::unordered_map<table_id_t, T> |
using kuzu::common::table_id_set_t = std::unordered_set<table_id_t> |
using kuzu::common::table_id_t = oid_t |
using kuzu::common::table_id_vector_t = std::vector<table_id_t> |
using kuzu::common::transaction_t = uint64_t |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
enum kuzu::common::PageSizeClass : uint8_t |
|
strong |
|
strong |
|
strong |
|
strong |
|
constexpr |
TO kuzu::common::ku_dynamic_cast | ( | FROM & | old | ) |
TO kuzu::common::ku_dynamic_cast | ( | FROM * | old | ) |
|
inline |
|
inline |
Formats args
according to format
. Accepts {} for formatting the argument and {{}} for a literal {}. Formatting is done with std::ostream::operator<<.
enum KUZU_API kuzu::common::CENTURY |
|
constexpr |
|
strong |
enum KUZU_API kuzu::common::DAY |
enum KUZU_API kuzu::common::DECADE |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
enum KUZU_API kuzu::common::HOUR |
struct KUZU_API kuzu::common::int128_t |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
extern |
enum KUZU_API kuzu::common::MICROSECOND |
enum KUZU_API kuzu::common::MILLENNIUM |
enum KUZU_API kuzu::common::MILLISECOND |
enum KUZU_API kuzu::common::MINUTE |
enum KUZU_API kuzu::common::MONTH |
|
constexpr |
|
constexpr |
const uint64_t kuzu::common::NULL_HIGH_MASKS[65] |
const uint64_t kuzu::common::NULL_LOWER_MASKS[65] |
enum KUZU_API kuzu::common::QUARTER |
|
constexpr |
enum KUZU_API kuzu::common::SECOND |
|
constexpr |
|
constexpr |
enum KUZU_API kuzu::common::WEEK |