Kùzu C++ API
|
Namespaces | |
namespace | numeric_utils |
namespace | string_format_detail |
Concepts | |
concept | IntegerTypes |
concept | NumericTypes |
concept | ComparableTypes |
concept | HashablePrimitive |
concept | IndexHashable |
concept | HashableNonNestedTypes |
concept | HashableNestedTypes |
concept | HashableTypes |
Typedefs | |
template<typename T > | |
using | case_insensitive_map_t |
using | table_id_t = uint64_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 |
typedef std::unique_ptr< ProgressBarDisplay >(* | progress_bar_display_create_func_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 | property_id_t = uint32_t |
using | column_id_t = property_id_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 | transaction_t = uint64_t |
using | executor_id_t = uint64_t |
using | executor_info = std::unordered_map<executor_id_t, uint64_t> |
using | logical_type_vec_t = std::vector<LogicalType> |
Enumerations | |
enum class | AlterType : uint8_t { RENAME_TABLE = 0 , ADD_PROPERTY = 10 , DROP_PROPERTY = 11 , RENAME_PROPERTY = 12 , COMMENT = 201 } |
enum class | ConflictAction : uint8_t { ON_CONFLICT_THROW = 0 , ON_CONFLICT_DO_NOTHING = 1 } |
enum | PageSizeClass : uint8_t { PAGE_4KB = 0 , PAGE_256KB = 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 } |
enum class | PathSemantic : uint8_t { WALK = 0 , TRAIL = 1 , ACYCLIC = 2 } |
enum class | FileType : uint8_t { UNKNOWN = 0 , CSV = 1 , PARQUET = 2 , NPY = 3 , TURTLE = 4 , NQUADS = 5 , NTRIPLES = 6 } |
enum class | RelMultiplicity : uint8_t { MANY , ONE } |
enum class | StatementType : uint8_t { QUERY = 0 , CREATE_TABLE = 1 , DROP = 2 , ALTER = 3 , COPY_TO = 19 , COPY_FROM = 20 , STANDALONE_CALL = 21 , EXPLAIN = 22 , CREATE_MACRO = 23 , 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 | TableType : uint8_t { UNKNOWN = 0 , NODE = 1 , REL = 2 , RDF = 3 , REL_GROUP = 4 , FOREIGN = 5 } |
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 , RDF_VARIANT = 57 , 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 , STRING = 20 , LIST = 22 , ARRAY = 23 , STRUCT = 24 , POINTER = 25 } |
enum class | FileVersionType : uint8_t { ORIGINAL = 0 , WAL_VERSION = 1 } |
enum class | ZoneMapCheckResult : uint8_t { ALWAYS_SCAN = 0 , SKIP_SCAN = 1 } |
Functions | |
void | kuAssertFailureInternal (const char *condition_name, const char *file, int linenr) |
template<typename FROM , typename TO > | |
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<> | |
KUZU_API std::string | RdfVariant::getValue< std::string > (const Value *rdfVariant) |
Specialization for string. | |
template<typename... Args> | |
std::string | stringFormat (std::string_view format, Args... args) |
using kuzu::common::block_idx_t = uint64_t |
using kuzu::common::case_insensitive_map_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::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 |
typedef std::unique_ptr< ProgressBarDisplay >(* kuzu::common::progress_bar_display_create_func_t) () |
using kuzu::common::property_id_t = uint32_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 = uint64_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 |
|
strong |
|
strong |
enum kuzu::common::PageSizeClass : uint8_t |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
TO kuzu::common::ku_dynamic_cast | ( | FROM | old | ) |
|
inline |
|
inline |
Specialization for string.
rdfVariant | the rdf variant. |
|
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 |
|
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 |
|
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 |