From 2902f5edc1b1f2f8a591522692a4297ce6beeb0a Mon Sep 17 00:00:00 2001 From: CI User Date: Tue, 1 Apr 2025 19:43:56 +0000 Subject: [PATCH] Update API documentations --- c/annotated.html | 4 +- c/classes.html | 4 +- c/files.html | 4 +- c/functions.html | 4 +- c/functions_vars.html | 4 +- c/globals.html | 4 +- c/globals_defs.html | 4 +- c/globals_enum.html | 4 +- c/globals_eval.html | 4 +- c/globals_func.html | 4 +- c/globals_k.html | 4 +- c/index.html | 6 +- c/kuzu_8h.html | 20 +- c/kuzu_8h_source.html | 12 +- c/struct_arrow_array.html | 4 +- c/struct_arrow_schema.html | 4 +- c/structkuzu__connection.html | 4 +- c/structkuzu__database.html | 4 +- c/structkuzu__date__t.html | 4 +- c/structkuzu__flat__tuple.html | 4 +- c/structkuzu__int128__t.html | 4 +- c/structkuzu__internal__id__t.html | 4 +- c/structkuzu__interval__t.html | 4 +- c/structkuzu__logical__type.html | 4 +- c/structkuzu__prepared__statement.html | 4 +- c/structkuzu__query__result.html | 4 +- c/structkuzu__query__summary.html | 4 +- c/structkuzu__system__config.html | 4 +- c/structkuzu__timestamp__ms__t.html | 4 +- c/structkuzu__timestamp__ns__t.html | 4 +- c/structkuzu__timestamp__sec__t.html | 4 +- c/structkuzu__timestamp__t.html | 4 +- c/structkuzu__timestamp__tz__t.html | 4 +- c/structkuzu__value.html | 4 +- cpp/annotated.html | 202 ++- cpp/annotated_dup.js | 30 +- cpp/api_8h.html | 4 +- cpp/api_8h_source.html | 4 +- cpp/array__utils_8h.html | 4 +- cpp/array__utils_8h_source.html | 4 +- cpp/arrow_8h.html | 4 +- cpp/arrow_8h_source.html | 4 +- cpp/assert_8h.html | 4 +- cpp/assert_8h_source.html | 4 +- cpp/auxiliary__buffer_8h.html | 4 +- cpp/auxiliary__buffer_8h_source.html | 8 +- cpp/binary__function__executor_8h.html | 6 +- cpp/binary__function__executor_8h.js | 1 + cpp/binary__function__executor_8h_source.html | 713 ++++---- cpp/bind__input_8h.html | 4 +- cpp/bind__input_8h_source.html | 76 +- cpp/binder_8h.html | 4 +- cpp/binder_8h_source.html | 4 +- cpp/blob_8h.html | 4 +- cpp/blob_8h_source.html | 4 +- cpp/case__insensitive__map_8h.html | 4 +- cpp/case__insensitive__map_8h_source.html | 4 +- cpp/cast_8h.html | 4 +- cpp/cast_8h_source.html | 4 +- cpp/cast__function__bind__data_8h.html | 4 +- cpp/cast__function__bind__data_8h_source.html | 6 +- cpp/catalog_8h.html | 4 +- cpp/catalog_8h_source.html | 4 +- cpp/classes.html | 18 +- ...kuzu_1_1binder_1_1_expression-members.html | 4 +- cpp/classkuzu_1_1binder_1_1_expression.html | 4 +- ...1_1common_1_1_array_type_info-members.html | 4 +- ...asskuzu_1_1common_1_1_array_type_info.html | 4 +- ...arrow_column_auxiliary_buffer-members.html | 4 +- ...mon_1_1_arrow_column_auxiliary_buffer.html | 4 +- ..._1common_1_1_auxiliary_buffer-members.html | 4 +- ...sskuzu_1_1common_1_1_auxiliary_buffer.html | 4 +- ..._1_1_auxiliary_buffer_factory-members.html | 4 +- ..._1common_1_1_auxiliary_buffer_factory.html | 4 +- ..._1common_1_1_binder_exception-members.html | 4 +- ...sskuzu_1_1common_1_1_binder_exception.html | 4 +- ...1common_1_1_catalog_exception-members.html | 4 +- ...skuzu_1_1common_1_1_catalog_exception.html | 4 +- ...kuzu_1_1common_1_1_data_chunk-members.html | 4 +- cpp/classkuzu_1_1common_1_1_data_chunk.html | 4 +- ..._1common_1_1_data_chunk_state-members.html | 4 +- ...sskuzu_1_1common_1_1_data_chunk_state.html | 4 +- cpp/classkuzu_1_1common_1_1_date-members.html | 4 +- cpp/classkuzu_1_1common_1_1_date.html | 4 +- ...1common_1_1_decimal_type_info-members.html | 4 +- ...skuzu_1_1common_1_1_decimal_type_info.html | 4 +- ...skuzu_1_1common_1_1_exception-members.html | 4 +- cpp/classkuzu_1_1common_1_1_exception.html | 4 +- ...1_1common_1_1_extra_type_info-members.html | 4 +- ...asskuzu_1_1common_1_1_extra_type_info.html | 4 +- ...on_1_1_in_mem_overflow_buffer-members.html | 4 +- ..._1_1common_1_1_in_mem_overflow_buffer.html | 4 +- ...skuzu_1_1common_1_1_int128__t-members.html | 4 +- cpp/classkuzu_1_1common_1_1_int128__t.html | 4 +- ...common_1_1_internal_exception-members.html | 4 +- ...kuzu_1_1common_1_1_internal_exception.html | 4 +- ...sskuzu_1_1common_1_1_interval-members.html | 4 +- cpp/classkuzu_1_1common_1_1_interval.html | 4 +- ...mon_1_1_list_auxiliary_buffer-members.html | 4 +- ...u_1_1common_1_1_list_auxiliary_buffer.html | 4 +- ..._1_1common_1_1_list_type_info-members.html | 4 +- ...lasskuzu_1_1common_1_1_list_type_info.html | 4 +- ...uzu_1_1common_1_1_list_vector-members.html | 6 +- cpp/classkuzu_1_1common_1_1_list_vector.html | 24 +- ...zu_1_1common_1_1_logical_type-members.html | 4 +- cpp/classkuzu_1_1common_1_1_logical_type.html | 4 +- ...kuzu_1_1common_1_1_map_vector-members.html | 4 +- cpp/classkuzu_1_1common_1_1_map_vector.html | 4 +- ...kuzu_1_1common_1_1_nested_val-members.html | 4 +- cpp/classkuzu_1_1common_1_1_nested_val.html | 4 +- ...mmon_1_1_node_offset_mask_map-members.html | 127 ++ ...zu_1_1common_1_1_node_offset_mask_map.html | 473 ++++++ ...kuzu_1_1common_1_1_node_offset_mask_map.js | 16 + ...sskuzu_1_1common_1_1_node_val-members.html | 4 +- cpp/classkuzu_1_1common_1_1_node_val.html | 4 +- ...skuzu_1_1common_1_1_null_mask-members.html | 6 +- cpp/classkuzu_1_1common_1_1_null_mask.html | 17 +- ...1common_1_1_recursive_rel_val-members.html | 4 +- ...skuzu_1_1common_1_1_recursive_rel_val.html | 4 +- ...asskuzu_1_1common_1_1_rel_val-members.html | 4 +- cpp/classkuzu_1_1common_1_1_rel_val.html | 4 +- ..._1common_1_1_selection_vector-members.html | 38 +- ...sskuzu_1_1common_1_1_selection_vector.html | 210 +-- ...lasskuzu_1_1common_1_1_selection_vector.js | 9 +- ...asskuzu_1_1common_1_1_selection_vector.png | Bin 0 -> 722 bytes ..._1_1common_1_1_selection_view-members.html | 129 ++ ...lasskuzu_1_1common_1_1_selection_view.html | 570 +++++++ cpp/classkuzu_1_1common_1_1_selection_view.js | 20 + ...classkuzu_1_1common_1_1_selection_view.png | Bin 0 -> 727 bytes ...skuzu_1_1common_1_1_semi_mask-members.html | 125 ++ cpp/classkuzu_1_1common_1_1_semi_mask.html | 431 +++++ cpp/classkuzu_1_1common_1_1_semi_mask.js | 14 + ...n_1_1_string_auxiliary_buffer-members.html | 4 +- ...1_1common_1_1_string_auxiliary_buffer.html | 4 +- ...u_1_1common_1_1_string_vector-members.html | 4 +- ...classkuzu_1_1common_1_1_string_vector.html | 4 +- ...n_1_1_struct_auxiliary_buffer-members.html | 4 +- ...1_1common_1_1_struct_auxiliary_buffer.html | 4 +- ...zu_1_1common_1_1_struct_field-members.html | 4 +- cpp/classkuzu_1_1common_1_1_struct_field.html | 4 +- ..._1common_1_1_struct_type_info-members.html | 4 +- ...sskuzu_1_1common_1_1_struct_type_info.html | 4 +- ...u_1_1common_1_1_struct_vector-members.html | 4 +- ...classkuzu_1_1common_1_1_struct_vector.html | 4 +- cpp/classkuzu_1_1common_1_1_time-members.html | 4 +- cpp/classkuzu_1_1common_1_1_time.html | 4 +- ...classkuzu_1_1common_1_1_timer-members.html | 4 +- cpp/classkuzu_1_1common_1_1_timer.html | 4 +- ...skuzu_1_1common_1_1_timestamp-members.html | 4 +- cpp/classkuzu_1_1common_1_1_timestamp.html | 4 +- ...kuzu_1_1common_1_1_type_utils-members.html | 4 +- cpp/classkuzu_1_1common_1_1_type_utils.html | 4 +- ...1_1common_1_1_u_d_t_type_info-members.html | 4 +- ...asskuzu_1_1common_1_1_u_d_t_type_info.html | 4 +- ...zu_1_1common_1_1_union_vector-members.html | 6 +- cpp/classkuzu_1_1common_1_1_union_vector.html | 19 +- ...classkuzu_1_1common_1_1_value-members.html | 4 +- cpp/classkuzu_1_1common_1_1_value.html | 4 +- ...zu_1_1common_1_1_value_vector-members.html | 16 +- cpp/classkuzu_1_1common_1_1_value_vector.html | 61 +- cpp/classkuzu_1_1common_1_1_value_vector.js | 2 + ...zu_1_1main_1_1_client_context-members.html | 32 +- cpp/classkuzu_1_1main_1_1_client_context.html | 47 +- cpp/classkuzu_1_1main_1_1_client_context.js | 2 + ...sskuzu_1_1main_1_1_connection-members.html | 4 +- cpp/classkuzu_1_1main_1_1_connection.html | 16 +- ...lasskuzu_1_1main_1_1_database-members.html | 4 +- cpp/classkuzu_1_1main_1_1_database.html | 10 +- ..._1main_1_1_prepared_statement-members.html | 6 +- ...sskuzu_1_1main_1_1_prepared_statement.html | 52 +- ...lasskuzu_1_1main_1_1_prepared_statement.js | 4 +- ...kuzu_1_1main_1_1_query_result-members.html | 6 +- cpp/classkuzu_1_1main_1_1_query_result.html | 14 +- cpp/classkuzu_1_1main_1_1_query_result.js | 2 +- ...uzu_1_1main_1_1_query_summary-members.html | 4 +- cpp/classkuzu_1_1main_1_1_query_summary.html | 4 +- ...zu_1_1main_1_1_storage_driver-members.html | 8 +- cpp/classkuzu_1_1main_1_1_storage_driver.html | 24 +- cpp/classkuzu_1_1main_1_1_storage_driver.js | 4 +- ...skuzu_1_1parser_1_1_statement-members.html | 4 +- cpp/classkuzu_1_1parser_1_1_statement.html | 4 +- ...u_1_1processor_1_1_flat_tuple-members.html | 4 +- ...classkuzu_1_1processor_1_1_flat_tuple.html | 4 +- ...ocessor_1_1_physical_operator-members.html | 4 +- ...zu_1_1processor_1_1_physical_operator.html | 4 +- ...r_1_1_physical_operator_utils-members.html | 4 +- ...processor_1_1_physical_operator_utils.html | 4 +- ...u_1_1processor_1_1_result_set-members.html | 4 +- ...classkuzu_1_1processor_1_1_result_set.html | 4 +- ...processor_1_1_warning_context-members.html | 4 +- ...kuzu_1_1processor_1_1_warning_context.html | 4 +- ...tion_1_1_local_cache_manager-members.html} | 16 +- ..._1transaction_1_1_local_cache_manager.html | 225 +++ ..._1_1transaction_1_1_local_cache_manager.js | 7 + ...ction_1_1_local_cache_object-members.html} | 16 +- ...1_1transaction_1_1_local_cache_object.html | 237 +++ ...u_1_1transaction_1_1_local_cache_object.js | 7 + ..._1transaction_1_1_transaction-members.html | 55 +- ...sskuzu_1_1transaction_1_1_transaction.html | 179 +- ...lasskuzu_1_1transaction_1_1_transaction.js | 15 +- ...ction_1_1_transaction_context-members.html | 4 +- ..._1transaction_1_1_transaction_context.html | 4 +- cpp/client__config_8h.html | 4 +- cpp/client__config_8h_source.html | 105 +- cpp/client__context_8h.html | 4 +- cpp/client__context_8h_source.html | 366 +++-- ...ptkuzu_1_1common_1_1_comparable_types.html | 8 +- ...zu_1_1common_1_1_floating_point_types.html | 6 +- ...u_1_1common_1_1_hashable_nested_types.html | 6 +- ...1common_1_1_hashable_non_nested_types.html | 6 +- ...kuzu_1_1common_1_1_hashable_primitive.html | 6 +- ...ceptkuzu_1_1common_1_1_hashable_types.html | 10 +- ...ceptkuzu_1_1common_1_1_index_hashable.html | 6 +- ...nceptkuzu_1_1common_1_1_integer_types.html | 12 +- ...nceptkuzu_1_1common_1_1_numeric_types.html | 8 +- ...u_1_1common_1_1_signed_integer_types.html} | 22 +- ...ceptkuzu_1_1processor_1_1_data_source.html | 4 +- cpp/concepts.html | 27 +- cpp/concepts.js | 1 + cpp/connection_8h.html | 6 +- cpp/connection_8h_source.html | 18 +- cpp/const__function__executor_8h.html | 4 +- cpp/const__function__executor_8h_source.html | 17 +- cpp/constants_8h.html | 4 +- cpp/constants_8h_source.html | 540 +++---- cpp/copy__constructors_8h.html | 4 +- cpp/copy__constructors_8h_source.html | 4 +- cpp/copy__from__error_8h.html | 4 +- cpp/copy__from__error_8h_source.html | 6 +- cpp/csv__reader__config_8h.html | 4 +- cpp/csv__reader__config_8h_source.html | 6 +- cpp/data__chunk_8h.html | 4 +- cpp/data__chunk_8h_source.html | 6 +- cpp/data__chunk__state_8h.html | 4 +- cpp/data__chunk__state_8h_source.html | 6 +- cpp/data__pos_8h.html | 4 +- cpp/data__pos_8h_source.html | 4 +- cpp/database_8h.html | 8 +- cpp/database_8h_source.html | 8 +- cpp/date__t_8h.html | 4 +- cpp/date__t_8h_source.html | 4 +- cpp/db__config_8h.html | 4 +- cpp/db__config_8h_source.html | 6 +- cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html | 6 +- cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.js | 1 + cpp/doxygen_crawl.html | 392 +++-- cpp/dtime__t_8h.html | 4 +- cpp/dtime__t_8h_source.html | 4 +- cpp/exception_8h.html | 4 +- cpp/exception_8h_source.html | 4 +- cpp/expression_8h.html | 5 +- cpp/expression_8h_source.html | 375 ++--- cpp/expression__type_8h.html | 5 +- cpp/expression__type_8h_source.html | 184 +-- cpp/file__scan__info_8h.html | 4 +- cpp/file__scan__info_8h_source.html | 4 +- cpp/files.html | 81 +- cpp/flat__tuple_8h.html | 4 +- cpp/flat__tuple_8h_source.html | 4 +- cpp/function_8h.html | 4 +- cpp/function_8h_source.html | 149 +- cpp/functions.html | 6 +- cpp/functions_b.html | 17 +- cpp/functions_c.html | 22 +- cpp/functions_d.html | 10 +- cpp/functions_e.html | 46 +- ...ction-members.html => functions_enum.html} | 19 +- cpp/functions_f.html | 9 +- cpp/functions_func.html | 6 +- cpp/functions_func_b.html | 15 +- cpp/functions_func_c.html | 15 +- cpp/functions_func_d.html | 9 +- cpp/functions_func_e.html | 40 +- cpp/functions_func_f.html | 9 +- cpp/functions_func_g.html | 35 +- cpp/functions_func_h.html | 7 +- cpp/functions_func_i.html | 15 +- cpp/functions_func_k.html | 4 +- cpp/functions_func_l.html | 7 +- cpp/functions_func_m.html | 6 +- cpp/functions_func_n.html | 9 +- cpp/functions_func_o.html | 10 +- cpp/functions_func_p.html | 12 +- cpp/functions_func_q.html | 4 +- cpp/functions_func_r.html | 9 +- cpp/functions_func_s.html | 28 +- cpp/functions_func_t.html | 23 +- cpp/functions_func_u.html | 18 +- cpp/functions_func_v.html | 5 +- cpp/functions_func_w.html | 4 +- cpp/functions_func_x.html | 4 +- cpp/functions_func_y.html | 4 +- cpp/functions_func_~.html | 8 +- cpp/functions_g.html | 35 +- cpp/functions_h.html | 7 +- cpp/functions_i.html | 19 +- cpp/functions_j.html | 4 +- cpp/functions_k.html | 4 +- cpp/functions_l.html | 7 +- cpp/functions_m.html | 7 +- cpp/functions_n.html | 14 +- cpp/functions_o.html | 12 +- cpp/functions_p.html | 12 +- cpp/functions_q.html | 6 +- cpp/functions_r.html | 11 +- cpp/functions_rela.html | 8 +- cpp/functions_s.html | 37 +- cpp/functions_t.html | 26 +- cpp/functions_type.html | 4 +- cpp/functions_u.html | 18 +- cpp/functions_v.html | 6 +- cpp/functions_vars.html | 4 +- cpp/functions_vars_b.html | 6 +- cpp/functions_vars_c.html | 11 +- cpp/functions_vars_d.html | 5 +- cpp/functions_vars_e.html | 9 +- cpp/functions_vars_f.html | 4 +- cpp/functions_vars_g.html | 4 +- cpp/functions_vars_h.html | 4 +- cpp/functions_vars_i.html | 7 +- cpp/functions_vars_l.html | 4 +- cpp/functions_vars_m.html | 5 +- cpp/functions_vars_n.html | 9 +- cpp/functions_vars_o.html | 6 +- cpp/functions_vars_p.html | 4 +- cpp/functions_vars_q.html | 6 +- cpp/functions_vars_r.html | 6 +- cpp/functions_vars_s.html | 12 +- cpp/functions_vars_t.html | 4 +- cpp/functions_vars_u.html | 4 +- cpp/functions_vars_v.html | 5 +- cpp/functions_vars_w.html | 4 +- cpp/functions_vars_y.html | 4 +- cpp/functions_w.html | 4 +- cpp/functions_x.html | 4 +- cpp/functions_y.html | 4 +- cpp/functions_~.html | 8 +- cpp/globals.html | 4 +- cpp/globals_defs.html | 4 +- cpp/hierarchy.html | 370 +++-- cpp/hierarchy.js | 33 +- cpp/in__mem__overflow__buffer_8h.html | 4 +- cpp/in__mem__overflow__buffer_8h_source.html | 4 +- cpp/index.html | 6 +- cpp/int128__t_8h.html | 4 +- cpp/int128__t_8h_source.html | 4 +- cpp/internal_8h.html | 4 +- cpp/internal_8h_source.html | 4 +- cpp/interval__t_8h.html | 4 +- cpp/interval__t_8h_source.html | 4 +- cpp/ku__list_8h.html | 4 +- cpp/ku__list_8h_source.html | 8 +- cpp/ku__string_8h.html | 4 +- cpp/ku__string_8h_source.html | 4 +- cpp/kuzu_8h.html | 4 +- cpp/kuzu_8h_source.html | 4 +- cpp/kuzu__fwd_8h.html | 4 +- cpp/kuzu__fwd_8h_source.html | 6 +- cpp/mask_8h.html | 135 ++ cpp/mask_8h.js | 6 + cpp/mask_8h_source.html | 265 +++ cpp/menudata.js | 1 + cpp/namespacearrow.html | 4 +- cpp/namespacekuzu.html | 4 +- cpp/namespacekuzu_1_1benchmark.html | 4 +- cpp/namespacekuzu_1_1binder.html | 8 +- cpp/namespacekuzu_1_1catalog.html | 4 +- cpp/namespacekuzu_1_1common.html | 14 +- cpp/namespacekuzu_1_1common.js | 5 + ...u_1_1common_1_1string__format__detail.html | 4 +- cpp/namespacekuzu_1_1extension.html | 4 +- cpp/namespacekuzu_1_1function.html | 195 +-- cpp/namespacekuzu_1_1function.js | 40 +- cpp/namespacekuzu_1_1graph.html | 4 +- cpp/namespacekuzu_1_1main.html | 10 +- cpp/namespacekuzu_1_1parser.html | 4 +- cpp/namespacekuzu_1_1planner.html | 4 +- cpp/namespacekuzu_1_1processor.html | 57 +- cpp/namespacekuzu_1_1processor.js | 4 +- cpp/namespacekuzu_1_1regex.html | 4 +- cpp/namespacekuzu_1_1storage.html | 4 +- cpp/namespacekuzu_1_1testing.html | 4 +- cpp/namespacekuzu_1_1transaction.html | 8 +- cpp/namespacekuzu_1_1transaction.js | 2 + cpp/namespacemembers.html | 20 +- cpp/namespacemembers_enum.html | 4 +- cpp/namespacemembers_eval.html | 4 +- cpp/namespacemembers_func.html | 4 +- cpp/namespacemembers_type.html | 20 +- cpp/namespacemembers_vars.html | 4 +- cpp/namespaces.html | 4 +- cpp/navtreedata.js | 27 +- cpp/navtreeindex1.js | 218 +-- cpp/navtreeindex10.js | 388 ++--- cpp/navtreeindex11.js | 500 +++--- cpp/navtreeindex12.js | 196 +-- cpp/navtreeindex13.js | 203 ++- cpp/navtreeindex2.js | 500 +++--- cpp/navtreeindex3.js | 500 +++--- cpp/navtreeindex4.js | 236 +-- cpp/navtreeindex5.js | 214 +-- cpp/navtreeindex6.js | 242 +-- cpp/navtreeindex7.js | 500 +++--- cpp/navtreeindex8.js | 338 ++-- cpp/navtreeindex9.js | 260 +-- cpp/nested_8h.html | 4 +- cpp/nested_8h_source.html | 4 +- cpp/node_8h.html | 4 +- cpp/node_8h_source.html | 4 +- cpp/null__mask_8h.html | 4 +- cpp/null__mask_8h_source.html | 47 +- cpp/operator__print__info_8h.html | 4 +- cpp/operator__print__info_8h_source.html | 4 +- cpp/path__semantic_8h.html | 4 +- cpp/path__semantic_8h_source.html | 4 +- cpp/physical__operator_8h.html | 53 +- cpp/physical__operator_8h.js | 4 +- cpp/physical__operator_8h_source.html | 421 +++-- cpp/pointer__function__executor_8h.html | 4 +- ...pointer__function__executor_8h_source.html | 24 +- cpp/prepared__statement_8h.html | 4 +- cpp/prepared__statement_8h_source.html | 72 +- cpp/query__result_8h.html | 4 +- cpp/query__result_8h_source.html | 56 +- cpp/query__summary_8h.html | 4 +- cpp/query__summary_8h_source.html | 4 +- cpp/recursive__rel_8h.html | 4 +- cpp/recursive__rel_8h_source.html | 4 +- cpp/rel_8h.html | 4 +- cpp/rel_8h_source.html | 4 +- cpp/result__set_8h.html | 4 +- cpp/result__set_8h_source.html | 4 +- cpp/result__set__descriptor_8h.html | 4 +- cpp/result__set__descriptor_8h_source.html | 21 +- cpp/scalar__function_8h.html | 12 +- cpp/scalar__function_8h.js | 4 +- cpp/scalar__function_8h_source.html | 595 +++---- cpp/scan__replacement_8h.html | 4 +- cpp/scan__replacement_8h_source.html | 6 +- cpp/search/all_0.js | 104 +- cpp/search/all_1.js | 73 +- cpp/search/all_10.js | 2 +- cpp/search/all_11.js | 123 +- cpp/search/all_12.js | 273 ++-- cpp/search/all_13.js | 209 +-- cpp/search/all_14.js | 14 +- cpp/search/all_15.js | 30 +- cpp/search/all_19.js | 28 +- cpp/search/all_2.js | 133 +- cpp/search/all_3.js | 146 +- cpp/search/all_4.js | 154 +- cpp/search/all_5.js | 65 +- cpp/search/all_6.js | 422 ++--- cpp/search/all_7.js | 31 +- cpp/search/all_8.js | 223 +-- cpp/search/all_b.js | 20 +- cpp/search/all_c.js | 100 +- cpp/search/all_d.js | 68 +- cpp/search/all_e.js | 107 +- cpp/search/all_f.js | 78 +- cpp/search/classes_1.js | 18 +- cpp/search/classes_10.js | 40 +- cpp/search/classes_11.js | 16 +- cpp/search/classes_2.js | 23 +- cpp/search/classes_3.js | 8 +- cpp/search/classes_9.js | 6 +- cpp/search/classes_b.js | 5 +- cpp/search/concepts_6.js | 4 + cpp/search/enums_5.js | 3 +- cpp/search/enumvalues_10.js | 7 +- cpp/search/enumvalues_3.js | 3 +- cpp/search/enumvalues_6.js | 7 +- cpp/search/enumvalues_c.js | 11 +- cpp/search/enumvalues_f.js | 2 +- cpp/search/files_10.js | 6 +- cpp/search/files_11.js | 4 +- cpp/search/files_12.js | 2 +- cpp/search/files_13.js | 4 + cpp/search/files_8.js | 4 +- cpp/search/files_9.js | 4 +- cpp/search/files_a.js | 5 +- cpp/search/files_b.js | 6 +- cpp/search/files_c.js | 6 +- cpp/search/files_d.js | 12 +- cpp/search/files_e.js | 16 +- cpp/search/files_f.js | 11 +- cpp/search/functions_0.js | 34 +- cpp/search/functions_1.js | 21 +- cpp/search/functions_10.js | 65 +- cpp/search/functions_11.js | 148 +- cpp/search/functions_12.js | 73 +- cpp/search/functions_13.js | 14 +- cpp/search/functions_14.js | 11 +- cpp/search/functions_18.js | 28 +- cpp/search/functions_2.js | 85 +- cpp/search/functions_3.js | 25 +- cpp/search/functions_4.js | 56 +- cpp/search/functions_5.js | 31 +- cpp/search/functions_6.js | 387 ++--- cpp/search/functions_7.js | 15 +- cpp/search/functions_8.js | 121 +- cpp/search/functions_a.js | 5 +- cpp/search/functions_b.js | 12 +- cpp/search/functions_c.js | 13 +- cpp/search/functions_d.js | 6 +- cpp/search/functions_e.js | 24 +- cpp/search/related_4.js | 3 +- cpp/search/related_d.js | 7 +- cpp/search/searchdata.js | 4 +- cpp/search/typedefs_d.js | 4 +- cpp/search/typedefs_e.js | 26 +- cpp/search/variables_1.js | 2 +- cpp/search/variables_10.js | 2 +- cpp/search/variables_11.js | 62 +- cpp/search/variables_14.js | 3 +- cpp/search/variables_2.js | 25 +- cpp/search/variables_3.js | 77 +- cpp/search/variables_4.js | 25 +- cpp/search/variables_8.js | 77 +- cpp/search/variables_b.js | 65 +- cpp/search/variables_c.js | 15 +- cpp/search/variables_d.js | 10 +- cpp/search/variables_f.js | 2 +- cpp/sel__vector_8h.html | 6 +- cpp/sel__vector_8h.js | 1 + cpp/sel__vector_8h_source.html | 350 ++-- cpp/statement_8h.html | 4 +- cpp/statement_8h_source.html | 4 +- cpp/statement__type_8h.html | 4 +- cpp/statement__type_8h_source.html | 4 +- cpp/storage__driver_8h.html | 4 +- cpp/storage__driver_8h_source.html | 29 +- cpp/storage__version__info_8h.html | 4 +- cpp/storage__version__info_8h_source.html | 18 +- cpp/string__format_8h.html | 4 +- cpp/string__format_8h_source.html | 4 +- cpp/struct_arrow_array-members.html | 4 +- cpp/struct_arrow_array.html | 4 +- cpp/struct_arrow_array_wrapper-members.html | 4 +- cpp/struct_arrow_array_wrapper.html | 4 +- cpp/struct_arrow_schema-members.html | 4 +- cpp/struct_arrow_schema.html | 4 +- cpp/struct_arrow_schema_wrapper-members.html | 4 +- cpp/struct_arrow_schema_wrapper.html | 4 +- ...structkuzu_1_1_o_p_print_info-members.html | 4 +- cpp/structkuzu_1_1_o_p_print_info.html | 4 +- ...inder_1_1_expression_equality-members.html | 4 +- ...uzu_1_1binder_1_1_expression_equality.html | 4 +- ...1binder_1_1_expression_hasher-members.html | 4 +- ...tkuzu_1_1binder_1_1_expression_hasher.html | 4 +- ...kuzu_1_1common_1_1_array_type-members.html | 4 +- cpp/structkuzu_1_1common_1_1_array_type.html | 4 +- ...structkuzu_1_1common_1_1_blob-members.html | 4 +- cpp/structkuzu_1_1common_1_1_blob.html | 4 +- ...uzu_1_1common_1_1_blob_vector-members.html | 4 +- cpp/structkuzu_1_1common_1_1_blob_vector.html | 4 +- ...zu_1_1common_1_1_buffer_block-members.html | 4 +- ...structkuzu_1_1common_1_1_buffer_block.html | 4 +- ...mon_1_1_buffer_pool_constants-members.html | 9 +- ...u_1_1common_1_1_buffer_pool_constants.html | 28 +- ...zu_1_1common_1_1_c_s_v_option-members.html | 4 +- ...structkuzu_1_1common_1_1_c_s_v_option.html | 4 +- ...ommon_1_1_c_s_v_reader_config-members.html | 4 +- ...uzu_1_1common_1_1_c_s_v_reader_config.html | 4 +- ...e_insensitive_string_equality-members.html | 4 +- ..._1_1_case_insensitive_string_equality.html | 4 +- ...ensitive_string_hash_function-members.html | 4 +- ...case_insensitive_string_hash_function.html | 4 +- ..._1_1common_1_1_copy_constants-members.html | 4 +- ...ructkuzu_1_1common_1_1_copy_constants.html | 20 +- ...zu_1_1common_1_1_decimal_type-members.html | 4 +- ...structkuzu_1_1common_1_1_decimal_type.html | 4 +- ...on_1_1_export_c_s_v_constants-members.html | 4 +- ..._1_1common_1_1_export_c_s_v_constants.html | 4 +- ...mmon_1_1_expression_type_util-members.html | 6 +- ...zu_1_1common_1_1_expression_type_util.html | 14 +- ..._1_1common_1_1_file_scan_info-members.html | 4 +- ...ructkuzu_1_1common_1_1_file_scan_info.html | 4 +- ..._1_1common_1_1_file_type_info-members.html | 4 +- ...ructkuzu_1_1common_1_1_file_type_info.html | 4 +- ...1_1common_1_1_file_type_utils-members.html | 4 +- ...uctkuzu_1_1common_1_1_file_type_utils.html | 4 +- ...mmon_1_1_hash_index_constants-members.html | 6 +- ...zu_1_1common_1_1_hash_index_constants.html | 52 +- ...mmon_1_1_hex_format_constants-members.html | 4 +- ...zu_1_1common_1_1_hex_format_constants.html | 4 +- ..._1common_1_1_internal_keyword-members.html | 4 +- ...ctkuzu_1_1common_1_1_internal_keyword.html | 4 +- ...tkuzu_1_1common_1_1_list_type-members.html | 4 +- cpp/structkuzu_1_1common_1_1_list_type.html | 4 +- ...common_1_1_logical_type_utils-members.html | 4 +- ...kuzu_1_1common_1_1_logical_type_utils.html | 4 +- ...ctkuzu_1_1common_1_1_map_type-members.html | 4 +- cpp/structkuzu_1_1common_1_1_map_type.html | 4 +- ...common_1_1_order_by_constants-members.html | 4 +- ...kuzu_1_1common_1_1_order_by_constants.html | 4 +- ...1common_1_1_parquet_constants-members.html | 4 +- ...tkuzu_1_1common_1_1_parquet_constants.html | 4 +- ...ommon_1_1_path_semantic_utils-members.html | 4 +- ...uzu_1_1common_1_1_path_semantic_utils.html | 4 +- ...ommon_1_1_physical_type_utils-members.html | 4 +- ...uzu_1_1common_1_1_physical_type_utils.html | 4 +- ...u_1_1common_1_1_planner_knobs-members.html | 4 +- ...tructkuzu_1_1common_1_1_planner_knobs.html | 4 +- ...common_1_1_port_d_b_constants-members.html | 4 +- ...kuzu_1_1common_1_1_port_d_b_constants.html | 4 +- ...1_1common_1_1_semi_mask_util-members.html} | 13 +- ...uctkuzu_1_1common_1_1_semi_mask_util.html} | 57 +- ...1common_1_1_storage_constants-members.html | 6 +- ...tkuzu_1_1common_1_1_storage_constants.html | 57 +- ...uzu_1_1common_1_1_struct_type-members.html | 4 +- cpp/structkuzu_1_1common_1_1_struct_type.html | 4 +- ...on_1_1_table_option_constants-members.html | 4 +- ..._1_1common_1_1_table_option_constants.html | 4 +- ...uctkuzu_1_1common_1_1_u_u_i_d-members.html | 4 +- cpp/structkuzu_1_1common_1_1_u_u_i_d.html | 4 +- ...kuzu_1_1common_1_1_union_type-members.html | 4 +- cpp/structkuzu_1_1common_1_1_union_type.html | 4 +- ...1common_1_1_warning_constants-members.html | 4 +- ...tkuzu_1_1common_1_1_warning_constants.html | 8 +- ...ructkuzu_1_1common_1_1blob__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1blob__t.html | 4 +- ...ructkuzu_1_1common_1_1date__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1date__t.html | 4 +- ...uctkuzu_1_1common_1_1dtime__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1dtime__t.html | 4 +- ...ctkuzu_1_1common_1_1int128__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1int128__t.html | 4 +- ..._1_1common_1_1internal_i_d__t-members.html | 4 +- ...ructkuzu_1_1common_1_1internal_i_d__t.html | 4 +- ...kuzu_1_1common_1_1interval__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1interval__t.html | 4 +- ...kuzu_1_1common_1_1ku__list__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1ku__list__t.html | 4 +- ...zu_1_1common_1_1ku__string__t-members.html | 4 +- ...structkuzu_1_1common_1_1ku__string__t.html | 4 +- ...kuzu_1_1common_1_1ku__uuid__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1ku__uuid__t.html | 4 +- ...u_1_1common_1_1list__entry__t-members.html | 8 +- ...tructkuzu_1_1common_1_1list__entry__t.html | 24 +- cpp/structkuzu_1_1common_1_1list__entry__t.js | 4 +- ...zu_1_1common_1_1map__entry__t-members.html | 4 +- ...structkuzu_1_1common_1_1map__entry__t.html | 4 +- ...1common_1_1overflow__value__t-members.html | 4 +- ...tkuzu_1_1common_1_1overflow__value__t.html | 4 +- ...uctkuzu_1_1common_1_1overload-members.html | 4 +- cpp/structkuzu_1_1common_1_1overload.html | 4 +- ...1_1common_1_1struct__entry__t-members.html | 4 +- ...uctkuzu_1_1common_1_1struct__entry__t.html | 4 +- ...1_1common_1_1timestamp__ms__t-members.html | 4 +- ...uctkuzu_1_1common_1_1timestamp__ms__t.html | 4 +- ...1_1common_1_1timestamp__ns__t-members.html | 4 +- ...uctkuzu_1_1common_1_1timestamp__ns__t.html | 4 +- ..._1common_1_1timestamp__sec__t-members.html | 4 +- ...ctkuzu_1_1common_1_1timestamp__sec__t.html | 4 +- ...uzu_1_1common_1_1timestamp__t-members.html | 4 +- cpp/structkuzu_1_1common_1_1timestamp__t.html | 4 +- ...1_1common_1_1timestamp__tz__t-members.html | 4 +- ...uctkuzu_1_1common_1_1timestamp__tz__t.html | 4 +- ..._1_1common_1_1union__entry__t-members.html | 4 +- ...ructkuzu_1_1common_1_1union__entry__t.html | 4 +- ...uzu_1_1function_1_1_b_m_info_function.html | 181 --- ...y_comparison_function_wrapper-members.html | 4 +- ..._1_binary_comparison_function_wrapper.html | 4 +- ..._1_1_binary_function_executor-members.html | 34 +- ...function_1_1_binary_function_executor.html | 479 ++---- ...ary_comparison_select_wrapper-members.html | 6 +- ..._1_1_binary_comparison_select_wrapper.html | 21 +- ...tor_1_1_binary_select_wrapper-members.html | 6 +- ...on_executor_1_1_binary_select_wrapper.html | 21 +- ...n_1_1_binary_function_wrapper-members.html | 4 +- ...1function_1_1_binary_function_wrapper.html | 4 +- ...list_extract_function_wrapper-members.html | 4 +- ..._binary_list_extract_function_wrapper.html | 4 +- ..._list_struct_function_wrapper-members.html | 4 +- ...1_binary_list_struct_function_wrapper.html | 4 +- ...map_creation_function_wrapper-members.html | 4 +- ..._binary_map_creation_function_wrapper.html | 4 +- ...elect_with_bind_data_wrapper-members.html} | 13 +- ...binary_select_with_bind_data_wrapper.html} | 82 +- ...inary_string_function_wrapper-members.html | 4 +- ...on_1_1_binary_string_function_wrapper.html | 4 +- ...ion_1_1_binary_u_d_f_executor-members.html | 4 +- ...1_1function_1_1_binary_u_d_f_executor.html | 4 +- ...binary_u_d_f_function_wrapper-members.html | 4 +- ...ion_1_1_binary_u_d_f_function_wrapper.html | 4 +- ...n_1_1_cast_function_bind_data-members.html | 4 +- ...1function_1_1_cast_function_bind_data.html | 4 +- ...1function_1_1_clear_warnings_function.html | 181 --- ...n_1_1_const_function_executor-members.html | 6 +- ...1function_1_1_const_function_executor.html | 20 +- ...ion_1_1_create_project_graph_function.html | 181 --- ...function_1_1_current_setting_function.html | 181 --- ...1_drop_project_graph_function-members.html | 116 -- ...ction_1_1_drop_project_graph_function.html | 181 --- ...ra_scan_table_func_bind_input-members.html | 4 +- ..._1_1_extra_scan_table_func_bind_input.html | 4 +- ...1_extra_table_func_bind_input-members.html | 4 +- ...ction_1_1_extra_table_func_bind_input.html | 4 +- ...kuzu_1_1function_1_1_function-members.html | 17 +- cpp/structkuzu_1_1function_1_1_function.html | 28 +- cpp/structkuzu_1_1function_1_1_function.js | 1 + ...nction_1_1_function_bind_data-members.html | 4 +- ...zu_1_1function_1_1_function_bind_data.html | 4 +- ...1_1_pointer_function_executor-members.html | 6 +- ...unction_1_1_pointer_function_executor.html | 19 +- ...on_1_1_scalar_bind_func_input-members.html | 4 +- ..._1function_1_1_scalar_bind_func_input.html | 4 +- ...1function_1_1_scalar_function-members.html | 60 +- ...tkuzu_1_1function_1_1_scalar_function.html | 436 +++-- ..._scalar_or_aggregate_function-members.html | 25 +- ...tion_1_1_scalar_or_aggregate_function.html | 10 +- ...function_1_1_scan_replacement-members.html | 4 +- ...kuzu_1_1function_1_1_scan_replacement.html | 4 +- ...ion_1_1_scan_replacement_data-members.html | 4 +- ...1_1function_1_1_scan_replacement_data.html | 4 +- ...w_attached_databases_function-members.html | 116 -- ..._1_1_show_attached_databases_function.html | 181 --- ..._1_1_show_connection_function-members.html | 116 -- ...n_1_1_show_functions_function-members.html | 116 -- ...1function_1_1_show_functions_function.html | 181 --- ...ion_1_1_show_indexes_function-members.html | 116 -- ...1_1function_1_1_show_indexes_function.html | 181 --- ...ow_loaded_extensions_function-members.html | 116 -- ...n_1_1_show_loaded_extensions_function.html | 181 --- ...1_1_show_official_extensions_function.html | 181 --- ...n_1_1_show_sequences_function-members.html | 116 -- ...1function_1_1_show_sequences_function.html | 181 --- ...tion_1_1_show_tables_function-members.html | 116 -- ..._1_1function_1_1_show_tables_function.html | 181 --- ...on_1_1_show_warnings_function-members.html | 116 -- ..._1function_1_1_show_warnings_function.html | 181 --- ...u_1_1function_1_1_stats_info_function.html | 181 --- ...ion_1_1_storage_info_function-members.html | 116 -- ...1_1function_1_1_storage_info_function.html | 181 --- ...ion_1_1_table_func_bind_input-members.html | 11 +- ...1_1function_1_1_table_func_bind_input.html | 20 +- ...u_1_1function_1_1_table_func_bind_input.js | 1 + ..._func_init_local_state_input-members.html} | 18 +- ...1_1_table_func_init_local_state_input.html | 214 +++ ...n_1_1_table_func_init_local_state_input.js | 7 + ...table_func_init_output_input-members.html} | 15 +- ...ion_1_1_table_func_init_output_input.html} | 78 +- ...nction_1_1_table_func_init_output_input.js | 6 + ...func_init_shared_state_input-members.html} | 15 +- ...1_table_func_init_shared_state_input.html} | 67 +- ..._1_1_table_func_init_shared_state_input.js | 6 + ...function_1_1_table_func_input-members.html | 4 +- ...kuzu_1_1function_1_1_table_func_input.html | 4 +- ...on_1_1_table_func_local_state-members.html | 4 +- ..._1function_1_1_table_func_local_state.html | 4 +- ...unction_1_1_table_func_morsel-members.html | 120 -- ...uzu_1_1function_1_1_table_func_morsel.html | 279 ---- ...tkuzu_1_1function_1_1_table_func_morsel.js | 8 - ...unction_1_1_table_func_output-members.html | 11 +- ...uzu_1_1function_1_1_table_func_output.html | 74 +- ...tkuzu_1_1function_1_1_table_func_output.js | 9 +- ...n_1_1_table_func_shared_state-members.html | 19 +- ...1function_1_1_table_func_shared_state.html | 91 +- ...1_1function_1_1_table_func_shared_state.js | 13 +- ..._1function_1_1_table_function-members.html | 46 +- ...ctkuzu_1_1function_1_1_table_function.html | 248 ++- ...ructkuzu_1_1function_1_1_table_function.js | 6 + ...1function_1_1_table_function_init_input.js | 7 - ...1_1_ternary_function_executor-members.html | 27 +- ...unction_1_1_ternary_function_executor.html | 402 ++--- ..._1_1_ternary_function_wrapper-members.html | 4 +- ...function_1_1_ternary_function_wrapper.html | 4 +- ...ternary_list_function_wrapper-members.html | 4 +- ...ion_1_1_ternary_list_function_wrapper.html | 4 +- ...ernary_regex_function_wrapper-members.html | 4 +- ...on_1_1_ternary_regex_function_wrapper.html | 4 +- ...rnary_string_function_wrapper-members.html | 4 +- ...n_1_1_ternary_string_function_wrapper.html | 4 +- ...on_1_1_ternary_u_d_f_executor-members.html | 4 +- ..._1function_1_1_ternary_u_d_f_executor.html | 4 +- ...ernary_u_d_f_function_wrapper-members.html | 4 +- ...on_1_1_ternary_u_d_f_function_wrapper.html | 4 +- ...uctkuzu_1_1function_1_1_u_d_f-members.html | 4 +- cpp/structkuzu_1_1function_1_1_u_d_f.html | 48 +- ...1_unary_cast_function_wrapper-members.html | 4 +- ...ction_1_1_unary_cast_function_wrapper.html | 4 +- ..._cast_string_function_wrapper-members.html | 4 +- ..._1_unary_cast_string_function_wrapper.html | 4 +- ...n_1_1_unary_function_executor-members.html | 15 +- ...1function_1_1_unary_function_executor.html | 144 +- ...on_1_1_unary_function_wrapper-members.html | 4 +- ..._1function_1_1_unary_function_wrapper.html | 4 +- ..._nested_type_function_wrapper-members.html | 4 +- ..._1_unary_nested_type_function_wrapper.html | 4 +- ...ary_sequence_function_wrapper-members.html | 4 +- ...n_1_1_unary_sequence_function_wrapper.html | 4 +- ...unary_string_function_wrapper-members.html | 4 +- ...ion_1_1_unary_string_function_wrapper.html | 4 +- ...unary_struct_function_wrapper-members.html | 4 +- ...ion_1_1_unary_struct_function_wrapper.html | 4 +- ...tion_1_1_unary_u_d_f_executor-members.html | 4 +- ..._1_1function_1_1_unary_u_d_f_executor.html | 4 +- ..._unary_u_d_f_function_wrapper-members.html | 4 +- ...tion_1_1_unary_u_d_f_function_wrapper.html | 4 +- ...kuzu_1_1main_1_1_active_query-members.html | 4 +- cpp/structkuzu_1_1main_1_1_active_query.html | 4 +- ...uzu_1_1main_1_1_client_config-members.html | 6 +- cpp/structkuzu_1_1main_1_1_client_config.html | 14 +- cpp/structkuzu_1_1main_1_1_client_config.js | 2 +- ...ain_1_1_client_config_default-members.html | 6 +- ...uzu_1_1main_1_1_client_config_default.html | 14 +- ...main_1_1_configuration_option-members.html | 4 +- ...kuzu_1_1main_1_1_configuration_option.html | 4 +- ...ctkuzu_1_1main_1_1_d_b_config-members.html | 4 +- cpp/structkuzu_1_1main_1_1_d_b_config.html | 4 +- ..._1_1main_1_1_extension_option-members.html | 4 +- ...ructkuzu_1_1main_1_1_extension_option.html | 4 +- ...structkuzu_1_1main_1_1_option-members.html | 4 +- cpp/structkuzu_1_1main_1_1_option.html | 4 +- ..._1_1main_1_1_prepared_summary-members.html | 4 +- ...ructkuzu_1_1main_1_1_prepared_summary.html | 4 +- ...uzu_1_1main_1_1_system_config-members.html | 4 +- cpp/structkuzu_1_1main_1_1_system_config.html | 10 +- ...tructkuzu_1_1main_1_1_version-members.html | 4 +- cpp/structkuzu_1_1main_1_1_version.html | 16 +- ..._1_1parser_1_1_yield_variable-members.html | 4 +- ...ructkuzu_1_1parser_1_1_yield_variable.html | 4 +- ...ssor_1_1_copy_from_file_error-members.html | 4 +- ...1_1processor_1_1_copy_from_file_error.html | 4 +- ...sor_1_1_data_chunk_descriptor-members.html | 4 +- ..._1processor_1_1_data_chunk_descriptor.html | 4 +- ...uzu_1_1processor_1_1_data_pos-members.html | 4 +- cpp/structkuzu_1_1processor_1_1_data_pos.html | 4 +- ...1_1processor_1_1_line_context-members.html | 4 +- ...uctkuzu_1_1processor_1_1_line_context.html | 4 +- ...rocessor_1_1_operator_metrics-members.html | 4 +- ...uzu_1_1processor_1_1_operator_metrics.html | 4 +- ...1_1_populated_copy_from_error-members.html | 4 +- ...ocessor_1_1_populated_copy_from_error.html | 4 +- ...sor_1_1_result_set_descriptor-members.html | 11 +- ..._1processor_1_1_result_set_descriptor.html | 23 +- ..._1_1processor_1_1_result_set_descriptor.js | 1 + ...1_1processor_1_1_warning_info-members.html | 4 +- ...uctkuzu_1_1processor_1_1_warning_info.html | 4 +- ...essor_1_1_warning_source_data-members.html | 4 +- ..._1_1processor_1_1_warning_source_data.html | 4 +- ...rage_1_1_storage_version_info-members.html | 4 +- ...u_1_1storage_1_1_storage_version_info.html | 4 +- ...u_1_1common_1_1int128__t_01_4-members.html | 4 +- ..._3_01kuzu_1_1common_1_1int128__t_01_4.html | 4 +- cpp/table__function_8h.html | 73 +- cpp/table__function_8h.js | 35 +- cpp/table__function_8h_source.html | 760 ++++----- cpp/ternary__function__executor_8h.html | 4 +- ...ternary__function__executor_8h_source.html | 834 +++++----- cpp/timer_8h.html | 4 +- cpp/timer_8h_source.html | 4 +- cpp/timestamp__t_8h.html | 4 +- cpp/timestamp__t_8h_source.html | 4 +- cpp/transaction_8h.html | 11 +- cpp/transaction_8h.js | 2 + cpp/transaction_8h_source.html | 450 +++--- cpp/transaction__context_8h.html | 4 +- cpp/transaction__context_8h_source.html | 8 +- cpp/type__utils_8h.html | 4 +- cpp/type__utils_8h_source.html | 124 +- cpp/types_8h.html | 6 +- cpp/types_8h.js | 1 + cpp/types_8h_source.html | 1281 +++++++-------- cpp/udf__function_8h.html | 4 +- cpp/udf__function_8h_source.html | 555 +++---- cpp/unary__function__executor_8h.html | 4 +- cpp/unary__function__executor_8h_source.html | 192 +-- ...u_1_1common_1_1_value_1_1_val-members.html | 4 +- ...unionkuzu_1_1common_1_1_value_1_1_val.html | 4 +- cpp/uuid_8h.html | 4 +- cpp/uuid_8h_source.html | 4 +- cpp/value_8h.html | 4 +- cpp/value_8h_source.html | 60 +- cpp/value__vector_8h.html | 7 +- cpp/value__vector_8h_source.html | 886 +++++----- cpp/version_8h.html | 4 +- cpp/version_8h_source.html | 8 +- cpp/warning__context_8h.html | 4 +- cpp/warning__context_8h_source.html | 6 +- cpp/yield__variable_8h.html | 4 +- cpp/yield__variable_8h_source.html | 4 +- java/allclasses-index.html | 6 +- java/allpackages-index.html | 6 +- java/com/kuzudb/Connection.html | 4 +- java/com/kuzudb/DataType.html | 4 +- java/com/kuzudb/DataTypeID.html | 4 +- java/com/kuzudb/Database.html | 4 +- java/com/kuzudb/FlatTuple.html | 4 +- java/com/kuzudb/InternalID.html | 4 +- java/com/kuzudb/KuzuList.html | 4 +- java/com/kuzudb/KuzuMap.html | 4 +- java/com/kuzudb/KuzuStruct.html | 4 +- java/com/kuzudb/Native.html | 4 +- .../kuzudb/ObjectRefDestroyedException.html | 4 +- java/com/kuzudb/PreparedStatement.html | 4 +- java/com/kuzudb/QueryResult.html | 4 +- java/com/kuzudb/QuerySummary.html | 4 +- java/com/kuzudb/Value.html | 4 +- java/com/kuzudb/ValueNodeUtil.html | 4 +- java/com/kuzudb/ValueRecursiveRelUtil.html | 4 +- java/com/kuzudb/ValueRelUtil.html | 4 +- java/com/kuzudb/Version.html | 18 +- java/com/kuzudb/package-summary.html | 10 +- java/com/kuzudb/package-tree.html | 4 +- java/help-doc.html | 4 +- java/index-all.html | 12 +- java/index.html | 4 +- java/overview-tree.html | 4 +- java/search.html | 4 +- java/serialized-form.html | 4 +- nodejs/Connection.html | 1433 +++++++++++++++-- nodejs/Database.html | 381 ++++- nodejs/PreparedStatement.html | 2 +- nodejs/QueryResult.html | 456 +++++- nodejs/connection.js.html | 152 +- nodejs/database.js.html | 59 +- nodejs/index.html | 4 +- nodejs/prepared_statement.js.html | 2 +- nodejs/query_result.js.html | 43 +- python/kuzu.html | 1091 ++++++++++--- python/search.js | 2 +- wasm/async/Connection.html | 2 +- wasm/async/Database.html | 2 +- wasm/async/FS.html | 2 +- wasm/async/PreparedStatement.html | 2 +- wasm/async/QueryResult.html | 2 +- wasm/async/connection.js.html | 2 +- wasm/async/database.js.html | 4 +- wasm/async/dispatcher.js.html | 2 +- wasm/async/fs.js.html | 2 +- wasm/async/index.html | 8 +- wasm/async/index.js.html | 18 +- wasm/async/kuzu_wasm_worker.js.html | 2 +- wasm/async/module-kuzu-wasm.html | 16 +- wasm/async/prepared_statement.js.html | 2 +- wasm/async/query_result.js.html | 2 +- wasm/sync/Connection.html | 2 +- wasm/sync/Database.html | 2 +- wasm/sync/PreparedStatement.html | 2 +- wasm/sync/QueryResult.html | 2 +- wasm/sync/connection.js.html | 2 +- wasm/sync/database.js.html | 4 +- wasm/sync/index.html | 8 +- wasm/sync/index.js.html | 16 +- wasm/sync/kuzu.js.html | 2 +- wasm/sync/module-kuzu-wasm.html | 14 +- wasm/sync/prepared_statement.js.html | 2 +- wasm/sync/query_result.js.html | 2 +- 950 files changed, 19902 insertions(+), 17852 deletions(-) create mode 100644 cpp/classkuzu_1_1common_1_1_node_offset_mask_map-members.html create mode 100644 cpp/classkuzu_1_1common_1_1_node_offset_mask_map.html create mode 100644 cpp/classkuzu_1_1common_1_1_node_offset_mask_map.js create mode 100644 cpp/classkuzu_1_1common_1_1_selection_vector.png create mode 100644 cpp/classkuzu_1_1common_1_1_selection_view-members.html create mode 100644 cpp/classkuzu_1_1common_1_1_selection_view.html create mode 100644 cpp/classkuzu_1_1common_1_1_selection_view.js create mode 100644 cpp/classkuzu_1_1common_1_1_selection_view.png create mode 100644 cpp/classkuzu_1_1common_1_1_semi_mask-members.html create mode 100644 cpp/classkuzu_1_1common_1_1_semi_mask.html create mode 100644 cpp/classkuzu_1_1common_1_1_semi_mask.js rename cpp/{structkuzu_1_1function_1_1_d_b_version_function-members.html => classkuzu_1_1transaction_1_1_local_cache_manager-members.html} (67%) create mode 100644 cpp/classkuzu_1_1transaction_1_1_local_cache_manager.html create mode 100644 cpp/classkuzu_1_1transaction_1_1_local_cache_manager.js rename cpp/{structkuzu_1_1function_1_1_create_project_graph_function-members.html => classkuzu_1_1transaction_1_1_local_cache_object-members.html} (67%) create mode 100644 cpp/classkuzu_1_1transaction_1_1_local_cache_object.html create mode 100644 cpp/classkuzu_1_1transaction_1_1_local_cache_object.js rename cpp/{structkuzu_1_1function_1_1_clear_warnings_function-members.html => conceptkuzu_1_1common_1_1_signed_integer_types.html} (70%) rename cpp/{structkuzu_1_1function_1_1_table_info_function-members.html => functions_enum.html} (74%) create mode 100644 cpp/mask_8h.html create mode 100644 cpp/mask_8h.js create mode 100644 cpp/mask_8h_source.html create mode 100644 cpp/search/concepts_6.js create mode 100644 cpp/search/files_13.js rename cpp/{structkuzu_1_1function_1_1_b_m_info_function-members.html => structkuzu_1_1common_1_1_semi_mask_util-members.html} (80%) rename cpp/{structkuzu_1_1function_1_1_d_b_version_function.html => structkuzu_1_1common_1_1_semi_mask_util.html} (60%) delete mode 100644 cpp/structkuzu_1_1function_1_1_b_m_info_function.html rename cpp/{structkuzu_1_1function_1_1_stats_info_function-members.html => structkuzu_1_1function_1_1_binary_select_with_bind_data_wrapper-members.html} (79%) rename cpp/{structkuzu_1_1function_1_1_show_connection_function.html => structkuzu_1_1function_1_1_binary_select_with_bind_data_wrapper.html} (58%) delete mode 100644 cpp/structkuzu_1_1function_1_1_clear_warnings_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_create_project_graph_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_current_setting_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_drop_project_graph_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_drop_project_graph_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_attached_databases_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_attached_databases_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_connection_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_functions_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_functions_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_indexes_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_indexes_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_loaded_extensions_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_loaded_extensions_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_official_extensions_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_sequences_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_sequences_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_tables_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_tables_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_warnings_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_show_warnings_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_stats_info_function.html delete mode 100644 cpp/structkuzu_1_1function_1_1_storage_info_function-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_storage_info_function.html rename cpp/{structkuzu_1_1function_1_1_table_function_init_input-members.html => structkuzu_1_1function_1_1_table_func_init_local_state_input-members.html} (71%) create mode 100644 cpp/structkuzu_1_1function_1_1_table_func_init_local_state_input.html create mode 100644 cpp/structkuzu_1_1function_1_1_table_func_init_local_state_input.js rename cpp/{structkuzu_1_1function_1_1_current_setting_function-members.html => structkuzu_1_1function_1_1_table_func_init_output_input-members.html} (73%) rename cpp/{structkuzu_1_1function_1_1_table_info_function.html => structkuzu_1_1function_1_1_table_func_init_output_input.html} (54%) create mode 100644 cpp/structkuzu_1_1function_1_1_table_func_init_output_input.js rename cpp/{structkuzu_1_1function_1_1_show_official_extensions_function-members.html => structkuzu_1_1function_1_1_table_func_init_shared_state_input-members.html} (73%) rename cpp/{structkuzu_1_1function_1_1_table_function_init_input.html => structkuzu_1_1function_1_1_table_func_init_shared_state_input.html} (59%) create mode 100644 cpp/structkuzu_1_1function_1_1_table_func_init_shared_state_input.js delete mode 100644 cpp/structkuzu_1_1function_1_1_table_func_morsel-members.html delete mode 100644 cpp/structkuzu_1_1function_1_1_table_func_morsel.html delete mode 100644 cpp/structkuzu_1_1function_1_1_table_func_morsel.js delete mode 100644 cpp/structkuzu_1_1function_1_1_table_function_init_input.js diff --git a/c/annotated.html b/c/annotated.html index 83ab285..f4c4023 100644 --- a/c/annotated.html +++ b/c/annotated.html @@ -5,7 +5,7 @@ -Kùzu C API: Data Structures +Kuzu C API: Data Structures @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/classes.html b/c/classes.html index a3b8133..9cd84be 100644 --- a/c/classes.html +++ b/c/classes.html @@ -5,7 +5,7 @@ -Kùzu C API: Data Structure Index +Kuzu C API: Data Structure Index @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/files.html b/c/files.html index a95248d..e09e9b8 100644 --- a/c/files.html +++ b/c/files.html @@ -5,7 +5,7 @@ -Kùzu C API: File List +Kuzu C API: File List @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/functions.html b/c/functions.html index 7bc844b..5eb0a0b 100644 --- a/c/functions.html +++ b/c/functions.html @@ -5,7 +5,7 @@ -Kùzu C API: Data Fields +Kuzu C API: Data Fields @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/functions_vars.html b/c/functions_vars.html index 5761344..a99bb18 100644 --- a/c/functions_vars.html +++ b/c/functions_vars.html @@ -5,7 +5,7 @@ -Kùzu C API: Data Fields - Variables +Kuzu C API: Data Fields - Variables @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/globals.html b/c/globals.html index fe9a209..7f6fc83 100644 --- a/c/globals.html +++ b/c/globals.html @@ -5,7 +5,7 @@ -Kùzu C API: Globals +Kuzu C API: Globals @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/globals_defs.html b/c/globals_defs.html index 4ea8165..04aaa98 100644 --- a/c/globals_defs.html +++ b/c/globals_defs.html @@ -5,7 +5,7 @@ -Kùzu C API: Globals +Kuzu C API: Globals @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/globals_enum.html b/c/globals_enum.html index 18c3508..60b8f93 100644 --- a/c/globals_enum.html +++ b/c/globals_enum.html @@ -5,7 +5,7 @@ -Kùzu C API: Globals +Kuzu C API: Globals @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/globals_eval.html b/c/globals_eval.html index 994b77e..f495f29 100644 --- a/c/globals_eval.html +++ b/c/globals_eval.html @@ -5,7 +5,7 @@ -Kùzu C API: Globals +Kuzu C API: Globals @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/globals_func.html b/c/globals_func.html index b5b4227..4abf99f 100644 --- a/c/globals_func.html +++ b/c/globals_func.html @@ -5,7 +5,7 @@ -Kùzu C API: Globals +Kuzu C API: Globals @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/globals_k.html b/c/globals_k.html index 7776574..df24d38 100644 --- a/c/globals_k.html +++ b/c/globals_k.html @@ -5,7 +5,7 @@ -Kùzu C API: Globals +Kuzu C API: Globals @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
diff --git a/c/index.html b/c/index.html index 29b8ca7..e234daf 100644 --- a/c/index.html +++ b/c/index.html @@ -5,7 +5,7 @@ -Kùzu C API: Main Page +Kuzu C API: Main Page @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
@@ -84,7 +84,7 @@
-
Kùzu C API Documentation
+
Kuzu C API Documentation
diff --git a/c/kuzu_8h.html b/c/kuzu_8h.html index 0c72025..806e6dd 100644 --- a/c/kuzu_8h.html +++ b/c/kuzu_8h.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu.h File Reference +Kuzu C API: kuzu.h File Reference @@ -25,7 +25,7 @@ -
Kùzu C API +
Kuzu C API
@@ -670,10 +670,10 @@  Converts the given rel value to string.
  KUZU_C_API void kuzu_destroy_string (char *str) - Destroys any string created by the Kùzu C API, including both the error message and the values returned by the API functions. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.
+ Destroys any string created by the Kuzu C API, including both the error message and the values returned by the API functions. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.
  KUZU_C_API void kuzu_destroy_blob (uint8_t *blob) - Destroys any blob created by the Kùzu C API. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.
+ Destroys any blob created by the Kuzu C API. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.
  KUZU_C_API void kuzu_query_summary_destroy (kuzu_query_summary *query_summary)  Destroys the given query summary.
@@ -733,10 +733,10 @@  Convert difftime value in seconds to interval.
  KUZU_C_API char * kuzu_get_version () - Returns the version of the Kùzu library.
+ Returns the version of the Kuzu library.
  KUZU_C_API uint64_t kuzu_get_storage_version () - Returns the storage version of the Kùzu library.
+ Returns the storage version of the Kuzu library.
 

Macro Definition Documentation

@@ -1671,7 +1671,7 @@

-

Destroys any blob created by the Kùzu C API. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.

+

Destroys any blob created by the Kuzu C API. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.

Parameters
@@ -1696,7 +1696,7 @@

-

Destroys any string created by the Kùzu C API, including both the error message and the values returned by the API functions. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.

+

Destroys any string created by the Kuzu C API, including both the error message and the values returned by the API functions. This function is provided to avoid the inconsistency between the memory allocation and deallocation across different libraries and is preferred over using the standard C free function.

Parameters

blobThe blob to destroy.
@@ -1809,7 +1809,7 @@

-

Returns the storage version of the Kùzu library.

+

Returns the storage version of the Kuzu library.

@@ -1828,7 +1828,7 @@

-

Returns the version of the Kùzu library.

+

Returns the version of the Kuzu library.

diff --git a/c/kuzu_8h_source.html b/c/kuzu_8h_source.html index 976f2c0..60718ca 100644 --- a/c/kuzu_8h_source.html +++ b/c/kuzu_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu.h Source File +Kuzu C API: kuzu.h Source File @@ -25,7 +25,7 @@

@@ -672,14 +672,14 @@
KUZU_C_API kuzu_state kuzu_value_get_int32(kuzu_value *value, int32_t *out_result)
Returns the int32 value of the given value. The value must be of type INT32.
KUZU_C_API char * kuzu_prepared_statement_get_error_message(kuzu_prepared_statement *prepared_statement)
KUZU_C_API kuzu_state kuzu_prepared_statement_bind_int64(kuzu_prepared_statement *prepared_statement, const char *param_name, int64_t value)
Binds the given int64_t value to the given parameter name in the prepared statement.
-
KUZU_C_API char * kuzu_get_version()
Returns the version of the Kùzu library.
+
KUZU_C_API char * kuzu_get_version()
Returns the version of the Kuzu library.
KUZU_C_API void kuzu_prepared_statement_destroy(kuzu_prepared_statement *prepared_statement)
Destroys the prepared statement instance and frees the allocated memory.
KUZU_C_API kuzu_state kuzu_int128_t_to_string(kuzu_int128_t val, char **out_result)
convert int128 to corresponding string.
KUZU_C_API kuzu_state kuzu_value_get_int128(kuzu_value *value, kuzu_int128_t *out_result)
Returns the int128 value of the given value. The value must be of type INT128.
KUZU_C_API void kuzu_query_result_reset_iterator(kuzu_query_result *query_result)
Resets the iterator of the query result to the beginning of the query result.
KUZU_C_API kuzu_state kuzu_value_get_uint32(kuzu_value *value, uint32_t *out_result)
Returns the uint32 value of the given value. The value must be of type UINT32.
KUZU_C_API kuzu_state kuzu_value_get_map_key(kuzu_value *value, uint64_t index, kuzu_value *out_key)
Returns the key at index of the given map value. The value must be of physical type MAP.
-
KUZU_C_API void kuzu_destroy_string(char *str)
Destroys any string created by the Kùzu C API, including both the error message and the values return...
+
KUZU_C_API void kuzu_destroy_string(char *str)
Destroys any string created by the Kuzu C API, including both the error message and the values return...
KUZU_C_API kuzu_state kuzu_timestamp_ns_to_tm(kuzu_timestamp_ns_t timestamp, struct tm *out_result)
Convert timestamp_ns to corresponding tm struct.
KUZU_C_API kuzu_state kuzu_value_get_uint16(kuzu_value *value, uint16_t *out_result)
Returns the uint16 value of the given value. The value must be of type UINT16.
KUZU_C_API kuzu_state kuzu_prepared_statement_bind_bool(kuzu_prepared_statement *prepared_statement, const char *param_name, bool value)
Binds the given boolean value to the given parameter name in the prepared statement.
@@ -753,7 +753,7 @@
KUZU_C_API kuzu_state kuzu_prepared_statement_bind_timestamp_ns(kuzu_prepared_statement *prepared_statement, const char *param_name, kuzu_timestamp_ns_t value)
Binds the given timestamp_ns value to the given parameter name in the prepared statement.
KUZU_C_API void kuzu_connection_destroy(kuzu_connection *connection)
Destroys the connection instance and frees the allocated memory.
KUZU_C_API kuzu_state kuzu_connection_get_max_num_thread_for_exec(kuzu_connection *connection, uint64_t *out_result)
Returns the maximum number of threads of the connection to use for executing queries.
-
KUZU_C_API uint64_t kuzu_get_storage_version()
Returns the storage version of the Kùzu library.
+
KUZU_C_API uint64_t kuzu_get_storage_version()
Returns the storage version of the Kuzu library.
KUZU_C_API kuzu_state kuzu_prepared_statement_bind_int32(kuzu_prepared_statement *prepared_statement, const char *param_name, int32_t value)
Binds the given int32_t value to the given parameter name in the prepared statement.
KUZU_C_API kuzu_state kuzu_node_val_to_string(kuzu_value *node_val, char **out_result)
Converts the given node value to string.
KUZU_C_API kuzu_state kuzu_rel_val_get_property_name_at(kuzu_value *rel_val, uint64_t index, char **out_result)
Returns the property name of the given rel value at the given index.
@@ -837,7 +837,7 @@
KUZU_C_API kuzu_state kuzu_prepared_statement_bind_int8(kuzu_prepared_statement *prepared_statement, const char *param_name, int8_t value)
Binds the given int8_t value to the given parameter name in the prepared statement.
KUZU_C_API kuzu_state kuzu_node_val_get_property_name_at(kuzu_value *node_val, uint64_t index, char **out_result)
Returns the property name of the given node value at the given index.
KUZU_C_API kuzu_state kuzu_value_get_uint8(kuzu_value *value, uint8_t *out_result)
Returns the uint8 value of the given value. The value must be of type UINT8.
-
KUZU_C_API void kuzu_destroy_blob(uint8_t *blob)
Destroys any blob created by the Kùzu C API. This function is provided to avoid the inconsistency bet...
+
KUZU_C_API void kuzu_destroy_blob(uint8_t *blob)
Destroys any blob created by the Kuzu C API. This function is provided to avoid the inconsistency bet...
KUZU_C_API kuzu_value * kuzu_value_create_null()
Creates a NULL value of ANY type. Caller is responsible for destroying the returned value.
KUZU_C_API kuzu_state kuzu_connection_query(kuzu_connection *connection, const char *query, kuzu_query_result *out_query_result)
Executes the given query and returns the result.
KUZU_C_API kuzu_state kuzu_prepared_statement_bind_uint8(kuzu_prepared_statement *prepared_statement, const char *param_name, uint8_t value)
Binds the given int8_t value to the given parameter name in the prepared statement.
diff --git a/c/struct_arrow_array.html b/c/struct_arrow_array.html index e8cd4cb..36c59dc 100644 --- a/c/struct_arrow_array.html +++ b/c/struct_arrow_array.html @@ -5,7 +5,7 @@ -Kùzu C API: ArrowArray Struct Reference +Kuzu C API: ArrowArray Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/struct_arrow_schema.html b/c/struct_arrow_schema.html index c0f3807..444ddec 100644 --- a/c/struct_arrow_schema.html +++ b/c/struct_arrow_schema.html @@ -5,7 +5,7 @@ -Kùzu C API: ArrowSchema Struct Reference +Kuzu C API: ArrowSchema Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__connection.html b/c/structkuzu__connection.html index 76b63f4..b9b6a97 100644 --- a/c/structkuzu__connection.html +++ b/c/structkuzu__connection.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_connection Struct Reference +Kuzu C API: kuzu_connection Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__database.html b/c/structkuzu__database.html index 77cc4a5..072ebcb 100644 --- a/c/structkuzu__database.html +++ b/c/structkuzu__database.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_database Struct Reference +Kuzu C API: kuzu_database Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__date__t.html b/c/structkuzu__date__t.html index d23e1c5..c5ee61e 100644 --- a/c/structkuzu__date__t.html +++ b/c/structkuzu__date__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_date_t Struct Reference +Kuzu C API: kuzu_date_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__flat__tuple.html b/c/structkuzu__flat__tuple.html index 9b590c6..607abc1 100644 --- a/c/structkuzu__flat__tuple.html +++ b/c/structkuzu__flat__tuple.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_flat_tuple Struct Reference +Kuzu C API: kuzu_flat_tuple Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__int128__t.html b/c/structkuzu__int128__t.html index 2f29cba..a4ab2e9 100644 --- a/c/structkuzu__int128__t.html +++ b/c/structkuzu__int128__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_int128_t Struct Reference +Kuzu C API: kuzu_int128_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__internal__id__t.html b/c/structkuzu__internal__id__t.html index e1eeefb..961854d 100644 --- a/c/structkuzu__internal__id__t.html +++ b/c/structkuzu__internal__id__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_internal_id_t Struct Reference +Kuzu C API: kuzu_internal_id_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__interval__t.html b/c/structkuzu__interval__t.html index eb6f77c..9ca0fb7 100644 --- a/c/structkuzu__interval__t.html +++ b/c/structkuzu__interval__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_interval_t Struct Reference +Kuzu C API: kuzu_interval_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__logical__type.html b/c/structkuzu__logical__type.html index d0e98e6..c63cac7 100644 --- a/c/structkuzu__logical__type.html +++ b/c/structkuzu__logical__type.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_logical_type Struct Reference +Kuzu C API: kuzu_logical_type Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__prepared__statement.html b/c/structkuzu__prepared__statement.html index dc89ed5..1fb8831 100644 --- a/c/structkuzu__prepared__statement.html +++ b/c/structkuzu__prepared__statement.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_prepared_statement Struct Reference +Kuzu C API: kuzu_prepared_statement Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__query__result.html b/c/structkuzu__query__result.html index e2ca8c3..53bd9f4 100644 --- a/c/structkuzu__query__result.html +++ b/c/structkuzu__query__result.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_query_result Struct Reference +Kuzu C API: kuzu_query_result Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__query__summary.html b/c/structkuzu__query__summary.html index 85b84b2..d18eb57 100644 --- a/c/structkuzu__query__summary.html +++ b/c/structkuzu__query__summary.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_query_summary Struct Reference +Kuzu C API: kuzu_query_summary Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__system__config.html b/c/structkuzu__system__config.html index 2b1faeb..3f7caf0 100644 --- a/c/structkuzu__system__config.html +++ b/c/structkuzu__system__config.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_system_config Struct Reference +Kuzu C API: kuzu_system_config Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__timestamp__ms__t.html b/c/structkuzu__timestamp__ms__t.html index 26faeca..f8d7ae3 100644 --- a/c/structkuzu__timestamp__ms__t.html +++ b/c/structkuzu__timestamp__ms__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_timestamp_ms_t Struct Reference +Kuzu C API: kuzu_timestamp_ms_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__timestamp__ns__t.html b/c/structkuzu__timestamp__ns__t.html index 1a0b7e1..87d8bf1 100644 --- a/c/structkuzu__timestamp__ns__t.html +++ b/c/structkuzu__timestamp__ns__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_timestamp_ns_t Struct Reference +Kuzu C API: kuzu_timestamp_ns_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__timestamp__sec__t.html b/c/structkuzu__timestamp__sec__t.html index 9ea53b3..e6159f7 100644 --- a/c/structkuzu__timestamp__sec__t.html +++ b/c/structkuzu__timestamp__sec__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_timestamp_sec_t Struct Reference +Kuzu C API: kuzu_timestamp_sec_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__timestamp__t.html b/c/structkuzu__timestamp__t.html index f11a6e6..2e86c8e 100644 --- a/c/structkuzu__timestamp__t.html +++ b/c/structkuzu__timestamp__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_timestamp_t Struct Reference +Kuzu C API: kuzu_timestamp_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__timestamp__tz__t.html b/c/structkuzu__timestamp__tz__t.html index dc484b4..44717e9 100644 --- a/c/structkuzu__timestamp__tz__t.html +++ b/c/structkuzu__timestamp__tz__t.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_timestamp_tz_t Struct Reference +Kuzu C API: kuzu_timestamp_tz_t Struct Reference @@ -25,7 +25,7 @@ diff --git a/c/structkuzu__value.html b/c/structkuzu__value.html index d264554..998f1a0 100644 --- a/c/structkuzu__value.html +++ b/c/structkuzu__value.html @@ -5,7 +5,7 @@ -Kùzu C API: kuzu_value Struct Reference +Kuzu C API: kuzu_value Struct Reference @@ -25,7 +25,7 @@ diff --git a/cpp/annotated.html b/cpp/annotated.html index 2f8c988..374cc1f 100644 --- a/cpp/annotated.html +++ b/cpp/annotated.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Class List +Kuzu C++ API: Class List @@ -27,7 +27,7 @@ @@ -162,47 +162,51 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -212,73 +216,57 @@ - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -287,7 +275,7 @@ - + @@ -310,8 +298,10 @@ - - + + + + diff --git a/cpp/annotated_dup.js b/cpp/annotated_dup.js index d61f83e..a555712 100644 --- a/cpp/annotated_dup.js +++ b/cpp/annotated_dup.js @@ -62,6 +62,7 @@ var annotated_dup = [ "MapType", "structkuzu_1_1common_1_1_map_type.html", null ], [ "MapVector", "classkuzu_1_1common_1_1_map_vector.html", null ], [ "NestedVal", "classkuzu_1_1common_1_1_nested_val.html", null ], + [ "NodeOffsetMaskMap", "classkuzu_1_1common_1_1_node_offset_mask_map.html", "classkuzu_1_1common_1_1_node_offset_mask_map" ], [ "NodeVal", "classkuzu_1_1common_1_1_node_val.html", null ], [ "NullMask", "classkuzu_1_1common_1_1_null_mask.html", "classkuzu_1_1common_1_1_null_mask" ], [ "OrderByConstants", "structkuzu_1_1common_1_1_order_by_constants.html", null ], @@ -75,6 +76,9 @@ var annotated_dup = [ "RecursiveRelVal", "classkuzu_1_1common_1_1_recursive_rel_val.html", null ], [ "RelVal", "classkuzu_1_1common_1_1_rel_val.html", null ], [ "SelectionVector", "classkuzu_1_1common_1_1_selection_vector.html", "classkuzu_1_1common_1_1_selection_vector" ], + [ "SelectionView", "classkuzu_1_1common_1_1_selection_view.html", "classkuzu_1_1common_1_1_selection_view" ], + [ "SemiMask", "classkuzu_1_1common_1_1_semi_mask.html", "classkuzu_1_1common_1_1_semi_mask" ], + [ "SemiMaskUtil", "structkuzu_1_1common_1_1_semi_mask_util.html", null ], [ "StorageConstants", "structkuzu_1_1common_1_1_storage_constants.html", null ], [ "StringAuxiliaryBuffer", "classkuzu_1_1common_1_1_string_auxiliary_buffer.html", "classkuzu_1_1common_1_1_string_auxiliary_buffer" ], [ "StringVector", "classkuzu_1_1common_1_1_string_vector.html", null ], @@ -110,17 +114,12 @@ var annotated_dup = [ "BinaryListExtractFunctionWrapper", "structkuzu_1_1function_1_1_binary_list_extract_function_wrapper.html", null ], [ "BinaryListStructFunctionWrapper", "structkuzu_1_1function_1_1_binary_list_struct_function_wrapper.html", null ], [ "BinaryMapCreationFunctionWrapper", "structkuzu_1_1function_1_1_binary_map_creation_function_wrapper.html", null ], + [ "BinarySelectWithBindDataWrapper", "structkuzu_1_1function_1_1_binary_select_with_bind_data_wrapper.html", null ], [ "BinaryStringFunctionWrapper", "structkuzu_1_1function_1_1_binary_string_function_wrapper.html", null ], [ "BinaryUDFExecutor", "structkuzu_1_1function_1_1_binary_u_d_f_executor.html", null ], [ "BinaryUDFFunctionWrapper", "structkuzu_1_1function_1_1_binary_u_d_f_function_wrapper.html", null ], - [ "BMInfoFunction", "structkuzu_1_1function_1_1_b_m_info_function.html", null ], [ "CastFunctionBindData", "structkuzu_1_1function_1_1_cast_function_bind_data.html", "structkuzu_1_1function_1_1_cast_function_bind_data" ], - [ "ClearWarningsFunction", "structkuzu_1_1function_1_1_clear_warnings_function.html", null ], [ "ConstFunctionExecutor", "structkuzu_1_1function_1_1_const_function_executor.html", null ], - [ "CreateProjectGraphFunction", "structkuzu_1_1function_1_1_create_project_graph_function.html", null ], - [ "CurrentSettingFunction", "structkuzu_1_1function_1_1_current_setting_function.html", null ], - [ "DBVersionFunction", "structkuzu_1_1function_1_1_d_b_version_function.html", null ], - [ "DropProjectGraphFunction", "structkuzu_1_1function_1_1_drop_project_graph_function.html", null ], [ "ExtraScanTableFuncBindInput", "structkuzu_1_1function_1_1_extra_scan_table_func_bind_input.html", "structkuzu_1_1function_1_1_extra_scan_table_func_bind_input" ], [ "ExtraTableFuncBindInput", "structkuzu_1_1function_1_1_extra_table_func_bind_input.html", "structkuzu_1_1function_1_1_extra_table_func_bind_input" ], [ "Function", "structkuzu_1_1function_1_1_function.html", "structkuzu_1_1function_1_1_function" ], @@ -131,26 +130,15 @@ var annotated_dup = [ "ScalarOrAggregateFunction", "structkuzu_1_1function_1_1_scalar_or_aggregate_function.html", "structkuzu_1_1function_1_1_scalar_or_aggregate_function" ], [ "ScanReplacement", "structkuzu_1_1function_1_1_scan_replacement.html", "structkuzu_1_1function_1_1_scan_replacement" ], [ "ScanReplacementData", "structkuzu_1_1function_1_1_scan_replacement_data.html", "structkuzu_1_1function_1_1_scan_replacement_data" ], - [ "ShowAttachedDatabasesFunction", "structkuzu_1_1function_1_1_show_attached_databases_function.html", null ], - [ "ShowConnectionFunction", "structkuzu_1_1function_1_1_show_connection_function.html", null ], - [ "ShowFunctionsFunction", "structkuzu_1_1function_1_1_show_functions_function.html", null ], - [ "ShowIndexesFunction", "structkuzu_1_1function_1_1_show_indexes_function.html", null ], - [ "ShowLoadedExtensionsFunction", "structkuzu_1_1function_1_1_show_loaded_extensions_function.html", null ], - [ "ShowOfficialExtensionsFunction", "structkuzu_1_1function_1_1_show_official_extensions_function.html", null ], - [ "ShowSequencesFunction", "structkuzu_1_1function_1_1_show_sequences_function.html", null ], - [ "ShowTablesFunction", "structkuzu_1_1function_1_1_show_tables_function.html", null ], - [ "ShowWarningsFunction", "structkuzu_1_1function_1_1_show_warnings_function.html", null ], - [ "StatsInfoFunction", "structkuzu_1_1function_1_1_stats_info_function.html", null ], - [ "StorageInfoFunction", "structkuzu_1_1function_1_1_storage_info_function.html", null ], [ "TableFuncBindInput", "structkuzu_1_1function_1_1_table_func_bind_input.html", "structkuzu_1_1function_1_1_table_func_bind_input" ], + [ "TableFuncInitLocalStateInput", "structkuzu_1_1function_1_1_table_func_init_local_state_input.html", "structkuzu_1_1function_1_1_table_func_init_local_state_input" ], + [ "TableFuncInitOutputInput", "structkuzu_1_1function_1_1_table_func_init_output_input.html", "structkuzu_1_1function_1_1_table_func_init_output_input" ], + [ "TableFuncInitSharedStateInput", "structkuzu_1_1function_1_1_table_func_init_shared_state_input.html", "structkuzu_1_1function_1_1_table_func_init_shared_state_input" ], [ "TableFuncInput", "structkuzu_1_1function_1_1_table_func_input.html", "structkuzu_1_1function_1_1_table_func_input" ], [ "TableFuncLocalState", "structkuzu_1_1function_1_1_table_func_local_state.html", "structkuzu_1_1function_1_1_table_func_local_state" ], - [ "TableFuncMorsel", "structkuzu_1_1function_1_1_table_func_morsel.html", "structkuzu_1_1function_1_1_table_func_morsel" ], [ "TableFuncOutput", "structkuzu_1_1function_1_1_table_func_output.html", "structkuzu_1_1function_1_1_table_func_output" ], [ "TableFuncSharedState", "structkuzu_1_1function_1_1_table_func_shared_state.html", "structkuzu_1_1function_1_1_table_func_shared_state" ], [ "TableFunction", "structkuzu_1_1function_1_1_table_function.html", "structkuzu_1_1function_1_1_table_function" ], - [ "TableFunctionInitInput", "structkuzu_1_1function_1_1_table_function_init_input.html", "structkuzu_1_1function_1_1_table_function_init_input" ], - [ "TableInfoFunction", "structkuzu_1_1function_1_1_table_info_function.html", null ], [ "TernaryFunctionExecutor", "structkuzu_1_1function_1_1_ternary_function_executor.html", null ], [ "TernaryFunctionWrapper", "structkuzu_1_1function_1_1_ternary_function_wrapper.html", null ], [ "TernaryListFunctionWrapper", "structkuzu_1_1function_1_1_ternary_list_function_wrapper.html", null ], @@ -213,6 +201,8 @@ var annotated_dup = [ "StorageVersionInfo", "structkuzu_1_1storage_1_1_storage_version_info.html", null ] ] ], [ "transaction", "namespacekuzu_1_1transaction.html", [ + [ "LocalCacheManager", "classkuzu_1_1transaction_1_1_local_cache_manager.html", "classkuzu_1_1transaction_1_1_local_cache_manager" ], + [ "LocalCacheObject", "classkuzu_1_1transaction_1_1_local_cache_object.html", "classkuzu_1_1transaction_1_1_local_cache_object" ], [ "Transaction", "classkuzu_1_1transaction_1_1_transaction.html", "classkuzu_1_1transaction_1_1_transaction" ], [ "TransactionContext", "classkuzu_1_1transaction_1_1_transaction_context.html", "classkuzu_1_1transaction_1_1_transaction_context" ] ] ], diff --git a/cpp/api_8h.html b/cpp/api_8h.html index 97b4620..e07742e 100644 --- a/cpp/api_8h.html +++ b/cpp/api_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/api.h File Reference +Kuzu C++ API: headers/api.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/api_8h_source.html b/cpp/api_8h_source.html index ecba2e6..28476e2 100644 --- a/cpp/api_8h_source.html +++ b/cpp/api_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/api.h Source File +Kuzu C++ API: headers/api.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/array__utils_8h.html b/cpp/array__utils_8h.html index 23fa2d0..b15877e 100644 --- a/cpp/array__utils_8h.html +++ b/cpp/array__utils_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/array_utils.h File Reference +Kuzu C++ API: headers/array_utils.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/array__utils_8h_source.html b/cpp/array__utils_8h_source.html index e288545..8ef49f2 100644 --- a/cpp/array__utils_8h_source.html +++ b/cpp/array__utils_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/array_utils.h Source File +Kuzu C++ API: headers/array_utils.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/arrow_8h.html b/cpp/arrow_8h.html index 1a7815c..4444750 100644 --- a/cpp/arrow_8h.html +++ b/cpp/arrow_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/arrow.h File Reference +Kuzu C++ API: headers/arrow.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/arrow_8h_source.html b/cpp/arrow_8h_source.html index e4377d0..940bb57 100644 --- a/cpp/arrow_8h_source.html +++ b/cpp/arrow_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/arrow.h Source File +Kuzu C++ API: headers/arrow.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/assert_8h.html b/cpp/assert_8h.html index 512f93b..85694a8 100644 --- a/cpp/assert_8h.html +++ b/cpp/assert_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/assert.h File Reference +Kuzu C++ API: headers/assert.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/assert_8h_source.html b/cpp/assert_8h_source.html index 89bcc64..c4f63e7 100644 --- a/cpp/assert_8h_source.html +++ b/cpp/assert_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/assert.h Source File +Kuzu C++ API: headers/assert.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/auxiliary__buffer_8h.html b/cpp/auxiliary__buffer_8h.html index 872faf2..a9fea07 100644 --- a/cpp/auxiliary__buffer_8h.html +++ b/cpp/auxiliary__buffer_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/auxiliary_buffer.h File Reference +Kuzu C++ API: headers/auxiliary_buffer.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/auxiliary__buffer_8h_source.html b/cpp/auxiliary__buffer_8h_source.html index c45c223..d5a5b01 100644 --- a/cpp/auxiliary__buffer_8h_source.html +++ b/cpp/auxiliary__buffer_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/auxiliary_buffer.h Source File +Kuzu C++ API: headers/auxiliary_buffer.h Source File @@ -27,7 +27,7 @@ @@ -261,7 +261,7 @@
friend class ListVector
Definition auxiliary_buffer.h:80
void resetSize()
Definition auxiliary_buffer.h:93
void setDataVector(std::shared_ptr< ValueVector > vector)
Definition auxiliary_buffer.h:85
-
Definition types.h:252
+
Definition types.h:256
StringAuxiliaryBuffer(storage::MemoryManager *memoryManager)
Definition auxiliary_buffer.h:34
void resetOverflowBuffer() const
Definition auxiliary_buffer.h:40
InMemOverflowBuffer * getOverflowBuffer() const
Definition auxiliary_buffer.h:38
@@ -271,7 +271,7 @@
StructAuxiliaryBuffer(const LogicalType &type, storage::MemoryManager *memoryManager)
const std::vector< std::shared_ptr< ValueVector > > & getFieldVectors() const
Definition auxiliary_buffer.h:53
ValueVector * getFieldVectorPtr(idx_t idx) const
Definition auxiliary_buffer.h:59
-
Definition value_vector.h:20
+
Definition value_vector.h:21
Definition auxiliary_buffer.h:7
uint32_t idx_t
Definition types.h:45
diff --git a/cpp/binary__function__executor_8h.html b/cpp/binary__function__executor_8h.html index cc2851f..9914481 100644 --- a/cpp/binary__function__executor_8h.html +++ b/cpp/binary__function__executor_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/binary_function_executor.h File Reference +Kuzu C++ API: headers/binary_function_executor.h File Reference @@ -27,7 +27,7 @@ @@ -122,6 +122,8 @@ + + diff --git a/cpp/binary__function__executor_8h.js b/cpp/binary__function__executor_8h.js index bbcd87c..9dca761 100644 --- a/cpp/binary__function__executor_8h.js +++ b/cpp/binary__function__executor_8h.js @@ -7,6 +7,7 @@ var binary__function__executor_8h = [ "kuzu::function::BinaryStringFunctionWrapper", "structkuzu_1_1function_1_1_binary_string_function_wrapper.html", null ], [ "kuzu::function::BinaryComparisonFunctionWrapper", "structkuzu_1_1function_1_1_binary_comparison_function_wrapper.html", null ], [ "kuzu::function::BinaryUDFFunctionWrapper", "structkuzu_1_1function_1_1_binary_u_d_f_function_wrapper.html", null ], + [ "kuzu::function::BinarySelectWithBindDataWrapper", "structkuzu_1_1function_1_1_binary_select_with_bind_data_wrapper.html", null ], [ "kuzu::function::BinaryFunctionExecutor", "structkuzu_1_1function_1_1_binary_function_executor.html", "structkuzu_1_1function_1_1_binary_function_executor" ], [ "kuzu::function::BinaryFunctionExecutor::BinarySelectWrapper", "structkuzu_1_1function_1_1_binary_function_executor_1_1_binary_select_wrapper.html", null ], [ "kuzu::function::BinaryFunctionExecutor::BinaryComparisonSelectWrapper", "structkuzu_1_1function_1_1_binary_function_executor_1_1_binary_comparison_select_wrapper.html", null ] diff --git a/cpp/binary__function__executor_8h_source.html b/cpp/binary__function__executor_8h_source.html index 3005530..2864546 100644 --- a/cpp/binary__function__executor_8h_source.html +++ b/cpp/binary__function__executor_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/binary_function_executor.h Source File +Kuzu C++ API: headers/binary_function_executor.h Source File @@ -27,7 +27,7 @@ @@ -202,426 +202,331 @@
77
- -
79 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
-
80 typename OP_WRAPPER>
-
-
81 static inline void executeOnValue(common::ValueVector& left, common::ValueVector& right,
-
82 common::ValueVector& resultValueVector, uint64_t lPos, uint64_t rPos, uint64_t resPos,
-
83 void* dataPtr) {
-
84 OP_WRAPPER::template operation<LEFT_TYPE, RIGHT_TYPE, RESULT_TYPE, FUNC>(
-
85 ((LEFT_TYPE*)left.getData())[lPos], ((RIGHT_TYPE*)right.getData())[rPos],
-
86 ((RESULT_TYPE*)resultValueVector.getData())[resPos], &left, &right, &resultValueVector,
-
87 resPos, dataPtr);
-
88 }
-
+ +
79 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename OP>
+
+
80 static void operation(LEFT_TYPE& left, RIGHT_TYPE& right, uint8_t& result,
+
81 common::ValueVector* leftValueVector, common::ValueVector* rightValueVector,
+
82 void* dataPtr) {
+
83 OP::operation(left, right, result, *leftValueVector, *rightValueVector, *leftValueVector,
+
84 dataPtr);
+
85 }
+
+
86};
+
+
87
+
+
89
90 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
91 typename OP_WRAPPER>
- -
93 common::ValueVector& result, void* dataPtr) {
-
94 auto lPos = left.state->getSelVector()[0];
-
95 auto rPos = right.state->getSelVector()[0];
-
96 auto resPos = result.state->getSelVector()[0];
-
97 result.setNull(resPos, left.isNull(lPos) || right.isNull(rPos));
-
98 if (!result.isNull(resPos)) {
- -
100 result, lPos, rPos, resPos, dataPtr);
-
101 }
-
102 }
-
-
103
-
104 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
-
105 typename OP_WRAPPER>
-
- -
107 common::ValueVector& result, void* dataPtr) {
-
108 auto lPos = left.state->getSelVector()[0];
-
109 auto& rightSelVector = right.state->getSelVector();
-
110 if (left.isNull(lPos)) {
-
111 result.setAllNull();
-
112 } else if (right.hasNoNullsGuarantee()) {
-
113 result.setAllNonNull();
-
114 rightSelVector.forEach([&](auto i) {
- -
116 result, lPos, i, i, dataPtr);
-
117 });
-
118 } else {
-
119 rightSelVector.forEach([&](auto i) {
-
120 result.setNull(i, right.isNull(i)); // left is always not null
-
121 if (!result.isNull(i)) {
- -
123 right, result, lPos, i, i, dataPtr);
-
124 }
-
125 });
-
126 }
-
127 }
-
-
128
-
129 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
-
130 typename OP_WRAPPER>
-
- -
132 common::ValueVector& result, void* dataPtr) {
-
133 auto rPos = right.state->getSelVector()[0];
-
134 auto& leftSelVector = left.state->getSelVector();
-
135 if (right.isNull(rPos)) {
-
136 result.setAllNull();
-
137 } else if (left.hasNoNullsGuarantee()) {
-
138 result.setAllNonNull();
-
139 leftSelVector.forEach([&](auto i) {
- -
141 result, i, rPos, i, dataPtr);
-
142 });
-
143 } else {
-
144 leftSelVector.forEach([&](auto i) {
-
145 result.setNull(i, left.isNull(i)); // right is always not null
-
146 if (!result.isNull(i)) {
- -
148 right, result, i, rPos, i, dataPtr);
-
149 }
-
150 });
-
151 }
-
152 }
-
-
153
-
154 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
-
155 typename OP_WRAPPER>
-
- -
157 common::ValueVector& result, void* dataPtr) {
-
158 KU_ASSERT(left.state == right.state);
-
159 auto& resultSelVector = result.state->getSelVector();
-
160 if (left.hasNoNullsGuarantee() && right.hasNoNullsGuarantee()) {
-
161 result.setAllNonNull();
-
162 resultSelVector.forEach([&](auto i) {
- -
164 result, i, i, i, dataPtr);
-
165 });
-
166 } else {
-
167 resultSelVector.forEach([&](auto i) {
-
168 result.setNull(i, left.isNull(i) || right.isNull(i));
-
169 if (!result.isNull(i)) {
- -
171 right, result, i, i, i, dataPtr);
-
172 }
-
173 });
+
92 static inline void executeOnValue(common::ValueVector& left, common::ValueVector& right,
+
93 common::ValueVector& resultValueVector, uint64_t lPos, uint64_t rPos, uint64_t resPos,
+
94 void* dataPtr) {
+
95 OP_WRAPPER::template operation<LEFT_TYPE, RIGHT_TYPE, RESULT_TYPE, FUNC>(
+
96 ((LEFT_TYPE*)left.getData())[lPos], ((RIGHT_TYPE*)right.getData())[rPos],
+
97 ((RESULT_TYPE*)resultValueVector.getData())[resPos], &left, &right, &resultValueVector,
+
98 resPos, dataPtr);
+
99 }
+
+
100
+
+
101 static inline std::tuple<common::sel_t, common::sel_t, common::sel_t> getSelectedPositions(
+
102 common::SelectionVector* leftSelVector, common::SelectionVector* rightSelVector,
+
103 common::SelectionVector* resultSelVector, common::sel_t selPos, bool leftFlat,
+
104 bool rightFlat) {
+
105 common::sel_t lPos = (*leftSelVector)[leftFlat ? 0 : selPos];
+
106 common::sel_t rPos = (*rightSelVector)[rightFlat ? 0 : selPos];
+
107 common::sel_t resPos = (*resultSelVector)[leftFlat && rightFlat ? 0 : selPos];
+
108 return {lPos, rPos, resPos};
+
109 }
+
+
110
+
111 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
+
112 typename OP_WRAPPER>
+
+ +
114 common::SelectionVector* leftSelVector, common::ValueVector& right,
+
115 common::SelectionVector* rightSelVector, common::ValueVector& result,
+
116 common::SelectionVector* resultSelVector, void* dataPtr) {
+
117 const bool leftFlat = left.state->isFlat();
+
118 const bool rightFlat = right.state->isFlat();
+
119
+
120 const bool allNullsGuaranteed = (rightFlat && right.isNull((*rightSelVector)[0])) ||
+
121 (leftFlat && left.isNull((*leftSelVector)[0]));
+
122 if (allNullsGuaranteed) {
+
123 result.setAllNull();
+
124 } else {
+
125 const bool noNullsGuaranteed = (leftFlat || left.hasNoNullsGuarantee()) &&
+
126 (rightFlat || right.hasNoNullsGuarantee());
+
127 if (noNullsGuaranteed) {
+
128 result.setAllNonNull();
+
129 }
+
130
+
131 const auto numSelectedValues =
+
132 leftFlat ? rightSelVector->getSelSize() : leftSelVector->getSelSize();
+
133 for (common::sel_t selPos = 0; selPos < numSelectedValues; ++selPos) {
+
134 auto [lPos, rPos, resPos] = getSelectedPositions(leftSelVector, rightSelVector,
+
135 resultSelVector, selPos, leftFlat, rightFlat);
+
136 if (noNullsGuaranteed) {
+ +
138 right, result, lPos, rPos, resPos, dataPtr);
+
139 } else {
+
140 result.setNull(resPos, left.isNull(lPos) || right.isNull(rPos));
+
141 if (!result.isNull(resPos)) {
+ +
143 right, result, lPos, rPos, resPos, dataPtr);
+
144 }
+
145 }
+
146 }
+
147 }
+
148 }
+
+
149
+
150 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
+
151 typename OP_WRAPPER>
+
+ +
153 common::ValueVector& right, common::SelectionVector* rightSelVector,
+
154 common::ValueVector& result, common::SelectionVector* resultSelVector, void* dataPtr) {
+
155 result.resetAuxiliaryBuffer();
+ +
157 leftSelVector, right, rightSelVector, result, resultSelVector, dataPtr);
+
158 }
+
+
159
+
160 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
+
+
161 static void execute(common::ValueVector& left, common::SelectionVector* leftSelVector,
+
162 common::ValueVector& right, common::SelectionVector* rightSelVector,
+
163 common::ValueVector& result, common::SelectionVector* resultSelVector) {
+ +
165 leftSelVector, right, rightSelVector, result, resultSelVector, nullptr /* dataPtr */);
+
166 }
+
+
167
+
+ +
169 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename OP>
+
+
170 static inline void operation(LEFT_TYPE& left, RIGHT_TYPE& right, uint8_t& result,
+
171 common::ValueVector* /*leftValueVector*/, common::ValueVector* /*rightValueVector*/,
+
172 void* /*dataPtr*/) {
+
173 OP::operation(left, right, result);
174 }
-
175 }
+
+
175 };
176
-
177 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC,
-
178 typename OP_WRAPPER>
+
+ +
178 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename OP>
- -
180 common::ValueVector& result, void* dataPtr) {
-
181 result.resetAuxiliaryBuffer();
-
182 if (left.state->isFlat() && right.state->isFlat()) {
- -
184 result, dataPtr);
-
185 } else if (left.state->isFlat() && !right.state->isFlat()) {
- -
187 result, dataPtr);
-
188 } else if (!left.state->isFlat() && right.state->isFlat()) {
- -
190 result, dataPtr);
-
191 } else if (!left.state->isFlat() && !right.state->isFlat()) {
- -
193 result, dataPtr);
-
194 } else {
-
195 KU_ASSERT(false);
-
196 }
-
197 }
-
-
198
-
199 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
-
- -
201 common::ValueVector& result) {
- -
203 result, nullptr /* dataPtr */);
-
204 }
-
-
205
-
206 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
-
- -
208 common::ValueVector& result) {
- -
210 right, result, nullptr /* dataPtr */);
-
211 }
-
-
212
-
213 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
-
- -
215 common::ValueVector& result) {
- -
217 left, right, result, nullptr /* dataPtr */);
-
218 }
-
-
219
-
220 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
-
- -
222 common::ValueVector& result, void* dataPtr) {
- -
224 left, right, result, dataPtr);
-
225 }
-
-
226
-
227 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
-
- -
229 common::ValueVector& result) {
- -
231 left, right, result, nullptr /* dataPtr */);
-
232 }
-
-
233
-
234 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
-
- -
236 common::ValueVector& result) {
- -
238 left, right, result, nullptr /* dataPtr */);
-
239 }
-
-
240
-
241 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename RESULT_TYPE, typename FUNC>
-
- -
243 common::ValueVector& result, void* dataPtr) {
- -
245 right, result, dataPtr);
-
246 }
-
-
247
-
- -
249 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename OP>
-
-
250 static inline void operation(LEFT_TYPE& left, RIGHT_TYPE& right, uint8_t& result,
-
251 common::ValueVector* /*leftValueVector*/, common::ValueVector* /*rightValueVector*/) {
-
252 OP::operation(left, right, result);
-
253 }
-
-
254 };
-
-
255
-
- -
257 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename OP>
-
-
258 static inline void operation(LEFT_TYPE& left, RIGHT_TYPE& right, uint8_t& result,
-
259 common::ValueVector* leftValueVector, common::ValueVector* rightValueVector) {
-
260 OP::operation(left, right, result, leftValueVector, rightValueVector);
-
261 }
-
-
262 };
+
179 static inline void operation(LEFT_TYPE& left, RIGHT_TYPE& right, uint8_t& result,
+
180 common::ValueVector* leftValueVector, common::ValueVector* rightValueVector,
+
181 void* /*dataPtr*/) {
+
182 OP::operation(left, right, result, leftValueVector, rightValueVector);
+
183 }
+
+
184 };
+
+
185
+
186 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC, typename SELECT_WRAPPER>
+
+
187 static void selectOnValue(common::ValueVector& left, common::ValueVector& right, uint64_t lPos,
+
188 uint64_t rPos, uint64_t resPos, uint64_t& numSelectedValues,
+
189 std::span<common::sel_t> selectedPositionsBuffer, void* dataPtr) {
+
190 uint8_t resultValue = 0;
+
191 SELECT_WRAPPER::template operation<LEFT_TYPE, RIGHT_TYPE, FUNC>(
+
192 ((LEFT_TYPE*)left.getData())[lPos], ((RIGHT_TYPE*)right.getData())[rPos], resultValue,
+
193 &left, &right, dataPtr);
+
194 selectedPositionsBuffer[numSelectedValues] = resPos;
+
195 numSelectedValues += (resultValue == true);
+
196 }
+
+
197
+
198 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC, typename SELECT_WRAPPER>
+
+ +
200 void* dataPtr) {
+
201 auto lPos = left.state->getSelVector()[0];
+
202 auto rPos = right.state->getSelVector()[0];
+
203 uint8_t resultValue = 0;
+
204 if (!left.isNull(lPos) && !right.isNull(rPos)) {
+
205 SELECT_WRAPPER::template operation<LEFT_TYPE, RIGHT_TYPE, FUNC>(
+
206 ((LEFT_TYPE*)left.getData())[lPos], ((RIGHT_TYPE*)right.getData())[rPos],
+
207 resultValue, &left, &right, dataPtr);
+
208 }
+
209 return resultValue == true;
+
210 }
+
+
211
+
212 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename FUNC, typename SELECT_WRAPPER>
+
+ +
214 common::SelectionVector& selVector, void* dataPtr) {
+
215 auto lPos = left.state->getSelVector()[0];
+
216 uint64_t numSelectedValues = 0;
+
217 auto selectedPositionsBuffer = selVector.getMutableBuffer();
+
218 auto& rightSelVector = right.state->getSelVector();
+
219 if (left.isNull(lPos)) {
+
220 return numSelectedValues;
+
221 } else if (right.hasNoNullsGuarantee()) {
+
222 rightSelVector.forEach([&](auto i) {
+ +
224 numSelectedValues, selectedPositionsBuffer, dataPtr);
+
225 });
+
226 } else {
+
227 rightSelVector.forEach([&](auto i) {
+
228 if (!right.isNull(i)) {
+ +
230 i, numSelectedValues, selectedPositionsBuffer, dataPtr);
+
231 }
+
232 });
+
233 }
+
234 selVector.setSelSize(numSelectedValues);
+
235 return numSelectedValues > 0;
+
236 }
+
+
237
+
238 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename FUNC, typename SELECT_WRAPPER>
+
+ +
240 common::SelectionVector& selVector, void* dataPtr) {
+
241 auto rPos = right.state->getSelVector()[0];
+
242 uint64_t numSelectedValues = 0;
+
243 auto selectedPositionsBuffer = selVector.getMutableBuffer();
+
244 auto& leftSelVector = left.state->getSelVector();
+
245 if (right.isNull(rPos)) {
+
246 return numSelectedValues;
+
247 } else if (left.hasNoNullsGuarantee()) {
+
248 leftSelVector.forEach([&](auto i) {
+ +
250 numSelectedValues, selectedPositionsBuffer, dataPtr);
+
251 });
+
252 } else {
+
253 leftSelVector.forEach([&](auto i) {
+
254 if (!left.isNull(i)) {
+ +
256 i, numSelectedValues, selectedPositionsBuffer, dataPtr);
+
257 }
+
258 });
+
259 }
+
260 selVector.setSelSize(numSelectedValues);
+
261 return numSelectedValues > 0;
+
262 }
263
-
264 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC, typename SELECT_WRAPPER>
-
-
265 static void selectOnValue(common::ValueVector& left, common::ValueVector& right, uint64_t lPos,
-
266 uint64_t rPos, uint64_t resPos, uint64_t& numSelectedValues,
-
267 std::span<common::sel_t> selectedPositionsBuffer) {
-
268 uint8_t resultValue = 0;
-
269 SELECT_WRAPPER::template operation<LEFT_TYPE, RIGHT_TYPE, FUNC>(
-
270 ((LEFT_TYPE*)left.getData())[lPos], ((RIGHT_TYPE*)right.getData())[rPos], resultValue,
-
271 &left, &right);
-
272 selectedPositionsBuffer[numSelectedValues] = resPos;
-
273 numSelectedValues += (resultValue == true);
-
274 }
-
-
275
-
276 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC, typename SELECT_WRAPPER>
-
- -
278 auto lPos = left.state->getSelVector()[0];
-
279 auto rPos = right.state->getSelVector()[0];
-
280 uint8_t resultValue = 0;
-
281 if (!left.isNull(lPos) && !right.isNull(rPos)) {
-
282 SELECT_WRAPPER::template operation<LEFT_TYPE, RIGHT_TYPE, FUNC>(
-
283 ((LEFT_TYPE*)left.getData())[lPos], ((RIGHT_TYPE*)right.getData())[rPos],
-
284 resultValue, &left, &right);
-
285 }
-
286 return resultValue == true;
+
264 // Right, left, and result vectors share the same selectedPositions.
+
265 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC, typename SELECT_WRAPPER>
+
+ +
267 common::SelectionVector& selVector, void* dataPtr) {
+
268 uint64_t numSelectedValues = 0;
+
269 auto selectedPositionsBuffer = selVector.getMutableBuffer();
+
270 auto& leftSelVector = left.state->getSelVector();
+
271 if (left.hasNoNullsGuarantee() && right.hasNoNullsGuarantee()) {
+
272 leftSelVector.forEach([&](auto i) {
+ +
274 numSelectedValues, selectedPositionsBuffer, dataPtr);
+
275 });
+
276 } else {
+
277 leftSelVector.forEach([&](auto i) {
+
278 auto isNull = left.isNull(i) || right.isNull(i);
+
279 if (!isNull) {
+ +
281 numSelectedValues, selectedPositionsBuffer, dataPtr);
+
282 }
+
283 });
+
284 }
+
285 selVector.setSelSize(numSelectedValues);
+
286 return numSelectedValues > 0;
287 }
288
-
289 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename FUNC, typename SELECT_WRAPPER>
-
- -
291 common::SelectionVector& selVector) {
-
292 auto lPos = left.state->getSelVector()[0];
-
293 uint64_t numSelectedValues = 0;
-
294 auto selectedPositionsBuffer = selVector.getMutableBuffer();
-
295 auto& rightSelVector = right.state->getSelVector();
-
296 if (left.isNull(lPos)) {
-
297 return numSelectedValues;
-
298 } else if (right.hasNoNullsGuarantee()) {
-
299 rightSelVector.forEach([&](auto i) {
- -
301 numSelectedValues, selectedPositionsBuffer);
-
302 });
-
303 } else {
-
304 rightSelVector.forEach([&](auto i) {
-
305 if (!right.isNull(i)) {
- -
307 i, numSelectedValues, selectedPositionsBuffer);
-
308 }
-
309 });
-
310 }
-
311 selVector.setSelSize(numSelectedValues);
-
312 return numSelectedValues > 0;
-
313 }
-
-
314
-
315 template<typename LEFT_TYPE, typename RIGHT_TYPE, typename FUNC, typename SELECT_WRAPPER>
-
- -
317 common::SelectionVector& selVector) {
-
318 auto rPos = right.state->getSelVector()[0];
-
319 uint64_t numSelectedValues = 0;
-
320 auto selectedPositionsBuffer = selVector.getMutableBuffer();
-
321 auto& leftSelVector = left.state->getSelVector();
-
322 if (right.isNull(rPos)) {
-
323 return numSelectedValues;
-
324 } else if (left.hasNoNullsGuarantee()) {
-
325 leftSelVector.forEach([&](auto i) {
- -
327 numSelectedValues, selectedPositionsBuffer);
-
328 });
-
329 } else {
-
330 leftSelVector.forEach([&](auto i) {
-
331 if (!left.isNull(i)) {
- -
333 i, numSelectedValues, selectedPositionsBuffer);
-
334 }
-
335 });
-
336 }
-
337 selVector.setSelSize(numSelectedValues);
-
338 return numSelectedValues > 0;
-
339 }
-
-
340
-
341 // Right, left, and result vectors share the same selectedPositions.
-
342 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC, typename SELECT_WRAPPER>
-
- -
344 common::SelectionVector& selVector) {
-
345 uint64_t numSelectedValues = 0;
-
346 auto selectedPositionsBuffer = selVector.getMutableBuffer();
-
347 auto& leftSelVector = left.state->getSelVector();
-
348 if (left.hasNoNullsGuarantee() && right.hasNoNullsGuarantee()) {
-
349 leftSelVector.forEach([&](auto i) {
- -
351 numSelectedValues, selectedPositionsBuffer);
-
352 });
-
353 } else {
-
354 leftSelVector.forEach([&](auto i) {
-
355 auto isNull = left.isNull(i) || right.isNull(i);
-
356 if (!isNull) {
- -
358 numSelectedValues, selectedPositionsBuffer);
-
359 }
-
360 });
-
361 }
-
362 selVector.setSelSize(numSelectedValues);
-
363 return numSelectedValues > 0;
-
364 }
-
-
365
-
366 // BOOLEAN (AND, OR, XOR)
-
367 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC>
-
- -
369 common::SelectionVector& selVector) {
-
370 if (left.state->isFlat() && right.state->isFlat()) {
- -
372 } else if (left.state->isFlat() && !right.state->isFlat()) {
- -
374 selVector);
-
375 } else if (!left.state->isFlat() && right.state->isFlat()) {
- -
377 selVector);
-
378 } else {
- -
380 selVector);
-
381 }
-
382 }
-
-
383
-
384 // COMPARISON (GT, GTE, LT, LTE, EQ, NEQ)
-
385 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC>
-
- -
387 common::SelectionVector& selVector) {
-
388 if (left.state->isFlat() && right.state->isFlat()) {
- -
390 right);
-
391 } else if (left.state->isFlat() && !right.state->isFlat()) {
- -
393 left, right, selVector);
-
394 } else if (!left.state->isFlat() && right.state->isFlat()) {
- -
396 left, right, selVector);
-
397 } else {
- -
399 left, right, selVector);
-
400 }
-
401 }
-
-
402};
-
-
403
-
404} // namespace function
-
-
405} // namespace kuzu
-
#define KU_ASSERT(condition)
Definition assert.h:19
-
Definition sel_vector.h:13
-
std::span< sel_t > getMutableBuffer() const
Definition sel_vector.h:68
-
void setSelSize(sel_t size)
Definition sel_vector.h:90
-
Definition value_vector.h:20
-
uint8_t * getData() const
Definition value_vector.h:99
+
289 // BOOLEAN (AND, OR, XOR)
+
290 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC,
+
291 typename OP_WRAPPER = BinarySelectWrapper>
+
+ +
293 common::SelectionVector& selVector, void* dataPtr) {
+
294 if (left.state->isFlat() && right.state->isFlat()) {
+ +
296 } else if (left.state->isFlat() && !right.state->isFlat()) {
+ +
298 dataPtr);
+
299 } else if (!left.state->isFlat() && right.state->isFlat()) {
+ +
301 dataPtr);
+
302 } else {
+ +
304 dataPtr);
+
305 }
+
306 }
+
+
307
+
308 // COMPARISON (GT, GTE, LT, LTE, EQ, NEQ)
+
309 template<class LEFT_TYPE, class RIGHT_TYPE, class FUNC>
+
+ +
311 common::SelectionVector& selVector, void* dataPtr) {
+
312 if (left.state->isFlat() && right.state->isFlat()) {
+ +
314 right, dataPtr);
+
315 } else if (left.state->isFlat() && !right.state->isFlat()) {
+ +
317 left, right, selVector, dataPtr);
+
318 } else if (!left.state->isFlat() && right.state->isFlat()) {
+ +
320 left, right, selVector, dataPtr);
+
321 } else {
+ +
323 left, right, selVector, dataPtr);
+
324 }
+
325 }
+
+
326};
+ +
327
+
328} // namespace function
+ +
329} // namespace kuzu
+
Definition sel_vector.h:98
+
std::span< sel_t > getMutableBuffer() const
Definition sel_vector.h:145
+
void setSelSize(sel_t size)
Definition sel_vector.h:149
+
sel_t getSelSize() const
Definition sel_vector.h:68
+
Definition value_vector.h:21
+
uint8_t * getData() const
Definition value_vector.h:119
-
void setAllNonNull()
Definition value_vector.h:56
-
uint8_t isNull(uint32_t pos) const
Definition value_vector.h:64
-
bool hasNoNullsGuarantee() const
Definition value_vector.h:58
-
void setAllNull()
Definition value_vector.h:55
+
void setAllNonNull()
Definition value_vector.h:76
+
uint8_t isNull(uint32_t pos) const
Definition value_vector.h:84
+
bool hasNoNullsGuarantee() const
Definition value_vector.h:78
+
void setAllNull()
Definition value_vector.h:75
void setNull(uint32_t pos, bool isNull)
-
std::shared_ptr< DataChunkState > state
Definition value_vector.h:122
+
std::shared_ptr< DataChunkState > state
Definition value_vector.h:146
+
uint64_t sel_t
Definition types.h:30
Definition binary_function_executor.h:6
Definition array_utils.h:7
Definition binary_function_executor.h:60
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, RESULT_TYPE &result, common::ValueVector *leftValueVector, common::ValueVector *rightValueVector, common::ValueVector *, uint64_t, void *)
Definition binary_function_executor.h:62
- -
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, uint8_t &result, common::ValueVector *leftValueVector, common::ValueVector *rightValueVector)
Definition binary_function_executor.h:258
-
Definition binary_function_executor.h:248
-
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, uint8_t &result, common::ValueVector *, common::ValueVector *)
Definition binary_function_executor.h:250
-
Definition binary_function_executor.h:78
-
static void executeListStruct(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
Definition binary_function_executor.h:214
-
static void executeUDF(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
Definition binary_function_executor.h:242
-
static void executeComparison(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
Definition binary_function_executor.h:235
-
static void executeOnValue(common::ValueVector &left, common::ValueVector &right, common::ValueVector &resultValueVector, uint64_t lPos, uint64_t rPos, uint64_t resPos, void *dataPtr)
Definition binary_function_executor.h:81
-
static void executeBothUnFlat(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
Definition binary_function_executor.h:156
-
static bool select(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
Definition binary_function_executor.h:368
-
static void executeFlatUnFlat(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
Definition binary_function_executor.h:106
-
static void selectOnValue(common::ValueVector &left, common::ValueVector &right, uint64_t lPos, uint64_t rPos, uint64_t resPos, uint64_t &numSelectedValues, std::span< common::sel_t > selectedPositionsBuffer)
Definition binary_function_executor.h:265
-
static void executeListExtract(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
Definition binary_function_executor.h:228
-
static bool selectComparison(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
Definition binary_function_executor.h:386
-
static void executeSwitch(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
Definition binary_function_executor.h:179
-
static uint64_t selectBothFlat(common::ValueVector &left, common::ValueVector &right)
Definition binary_function_executor.h:277
-
static void execute(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
Definition binary_function_executor.h:200
-
static void executeBothFlat(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
Definition binary_function_executor.h:92
-
static bool selectBothUnFlat(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
Definition binary_function_executor.h:343
-
static bool selectFlatUnFlat(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
Definition binary_function_executor.h:290
-
static void executeUnFlatFlat(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
Definition binary_function_executor.h:131
-
static bool selectUnFlatFlat(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
Definition binary_function_executor.h:316
-
static void executeMapCreation(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
Definition binary_function_executor.h:221
-
static void executeString(common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
Definition binary_function_executor.h:207
+ +
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, uint8_t &result, common::ValueVector *leftValueVector, common::ValueVector *rightValueVector, void *)
Definition binary_function_executor.h:179
+
Definition binary_function_executor.h:168
+
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, uint8_t &result, common::ValueVector *, common::ValueVector *, void *)
Definition binary_function_executor.h:170
+
Definition binary_function_executor.h:88
+
static void executeOnSelectedValues(common::ValueVector &left, common::SelectionVector *leftSelVector, common::ValueVector &right, common::SelectionVector *rightSelVector, common::ValueVector &result, common::SelectionVector *resultSelVector, void *dataPtr)
Definition binary_function_executor.h:113
+
static void executeOnValue(common::ValueVector &left, common::ValueVector &right, common::ValueVector &resultValueVector, uint64_t lPos, uint64_t rPos, uint64_t resPos, void *dataPtr)
Definition binary_function_executor.h:92
+
static void selectOnValue(common::ValueVector &left, common::ValueVector &right, uint64_t lPos, uint64_t rPos, uint64_t resPos, uint64_t &numSelectedValues, std::span< common::sel_t > selectedPositionsBuffer, void *dataPtr)
Definition binary_function_executor.h:187
+
static uint64_t selectBothFlat(common::ValueVector &left, common::ValueVector &right, void *dataPtr)
Definition binary_function_executor.h:199
+
static bool selectUnFlatFlat(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector, void *dataPtr)
Definition binary_function_executor.h:239
+
static void executeSwitch(common::ValueVector &left, common::SelectionVector *leftSelVector, common::ValueVector &right, common::SelectionVector *rightSelVector, common::ValueVector &result, common::SelectionVector *resultSelVector, void *dataPtr)
Definition binary_function_executor.h:152
+
static bool select(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector, void *dataPtr)
Definition binary_function_executor.h:292
+
static void execute(common::ValueVector &left, common::SelectionVector *leftSelVector, common::ValueVector &right, common::SelectionVector *rightSelVector, common::ValueVector &result, common::SelectionVector *resultSelVector)
Definition binary_function_executor.h:161
+
static bool selectFlatUnFlat(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector, void *dataPtr)
Definition binary_function_executor.h:213
+
static bool selectBothUnFlat(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector, void *dataPtr)
Definition binary_function_executor.h:266
+
static std::tuple< common::sel_t, common::sel_t, common::sel_t > getSelectedPositions(common::SelectionVector *leftSelVector, common::SelectionVector *rightSelVector, common::SelectionVector *resultSelVector, common::sel_t selPos, bool leftFlat, bool rightFlat)
Definition binary_function_executor.h:101
+
static bool selectComparison(common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector, void *dataPtr)
Definition binary_function_executor.h:310
Definition binary_function_executor.h:13
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, RESULT_TYPE &result, common::ValueVector *, common::ValueVector *, common::ValueVector *, uint64_t, void *)
Definition binary_function_executor.h:15
Definition binary_function_executor.h:41
@@ -630,6 +535,8 @@
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, RESULT_TYPE &result, common::ValueVector *leftValueVector, common::ValueVector *rightValueVector, common::ValueVector *resultValueVector, uint64_t, void *)
Definition binary_function_executor.h:24
Definition binary_function_executor.h:31
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, RESULT_TYPE &result, common::ValueVector *leftValueVector, common::ValueVector *rightValueVector, common::ValueVector *resultValueVector, uint64_t, void *dataPtr)
Definition binary_function_executor.h:33
+
Definition binary_function_executor.h:78
+
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, uint8_t &result, common::ValueVector *leftValueVector, common::ValueVector *rightValueVector, void *dataPtr)
Definition binary_function_executor.h:80
Definition binary_function_executor.h:51
static void operation(LEFT_TYPE &left, RIGHT_TYPE &right, RESULT_TYPE &result, common::ValueVector *, common::ValueVector *, common::ValueVector *resultValueVector, uint64_t, void *)
Definition binary_function_executor.h:53
Definition binary_function_executor.h:69
diff --git a/cpp/bind__input_8h.html b/cpp/bind__input_8h.html index 9a37180..c4bfd65 100644 --- a/cpp/bind__input_8h.html +++ b/cpp/bind__input_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/bind_input.h File Reference +Kuzu C++ API: headers/bind_input.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/bind__input_8h_source.html b/cpp/bind__input_8h_source.html index 28fb227..b5b0039 100644 --- a/cpp/bind__input_8h_source.html +++ b/cpp/bind__input_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/bind_input.h Source File +Kuzu C++ API: headers/bind_input.h Source File @@ -27,7 +27,7 @@ @@ -149,32 +149,33 @@ -
42 std::unique_ptr<ExtraTableFuncBindInput> extraInput = nullptr;
-
43 binder::Binder* binder = nullptr;
-
44 std::vector<parser::YieldVariable> yieldVariables;
-
45
-
46 TableFuncBindInput() = default;
-
47
- -
49
-
50 std::shared_ptr<binder::Expression> getParam(common::idx_t idx) const { return params[idx]; }
- -
52 template<typename T>
- -
54};
+ +
43 std::unique_ptr<ExtraTableFuncBindInput> extraInput = nullptr;
+
44 binder::Binder* binder = nullptr;
+
45 std::vector<parser::YieldVariable> yieldVariables;
+
46
+
47 TableFuncBindInput() = default;
+
48
+ +
50
+
51 std::shared_ptr<binder::Expression> getParam(common::idx_t idx) const { return params[idx]; }
+ +
53 template<typename T>
+ +
55};
-
55
-
- - -
58 std::vector<std::string> expectedColumnNames;
-
59 std::vector<common::LogicalType> expectedColumnTypes;
- -
61};
+
56
+ -
62
-
63} // namespace function
-
64} // namespace kuzu
+
63
+
64} // namespace function
+
65} // namespace kuzu
#define KUZU_API
Definition api.h:25
Definition value.h:26
@@ -182,7 +183,7 @@
Definition bind_input.h:12
-
std::vector< std::shared_ptr< Expression > > expression_vector
Definition expression.h:19
+
std::vector< std::shared_ptr< Expression > > expression_vector
Definition expression.h:20
Definition array_utils.h:7
uint32_t idx_t
Definition types.h:45
std::unordered_map< std::string, T, CaseInsensitiveStringHashFunction, CaseInsensitiveStringEquality > case_insensitive_map_t
Definition case_insensitive_map.h:22
@@ -191,25 +192,26 @@
Definition bind_input.h:16
Definition array_utils.h:7
Definition file_scan_info.h:31
- -
TableFunction * tableFunction
Definition bind_input.h:60
-
std::vector< std::string > expectedColumnNames
Definition bind_input.h:58
-
common::FileScanInfo fileScanInfo
Definition bind_input.h:57
-
std::vector< common::LogicalType > expectedColumnTypes
Definition bind_input.h:59
+ +
TableFunction * tableFunction
Definition bind_input.h:61
+
std::vector< std::string > expectedColumnNames
Definition bind_input.h:59
+
common::FileScanInfo fileScanInfo
Definition bind_input.h:58
+
std::vector< common::LogicalType > expectedColumnTypes
Definition bind_input.h:60
Definition bind_input.h:30
const TARGET * constPtrCast() const
Definition bind_input.h:34
optional_params_t optionalParams
Definition bind_input.h:41
-
std::unique_ptr< ExtraTableFuncBindInput > extraInput
Definition bind_input.h:42
+
std::unique_ptr< ExtraTableFuncBindInput > extraInput
Definition bind_input.h:43
common::Value getValue(common::idx_t idx) const
void addLiteralParam(common::Value value)
T getLiteralVal(common::idx_t idx) const
-
std::vector< parser::YieldVariable > yieldVariables
Definition bind_input.h:44
-
std::shared_ptr< binder::Expression > getParam(common::idx_t idx) const
Definition bind_input.h:50
-
binder::Binder * binder
Definition bind_input.h:43
+
std::vector< parser::YieldVariable > yieldVariables
Definition bind_input.h:45
+
binder::expression_vector optionalParamsLegacy
Definition bind_input.h:42
+
std::shared_ptr< binder::Expression > getParam(common::idx_t idx) const
Definition bind_input.h:51
+
binder::Binder * binder
Definition bind_input.h:44
binder::expression_vector params
Definition bind_input.h:40
-
Definition table_function.h:139
+
Definition table_function.h:149
diff --git a/cpp/binder_8h.html b/cpp/binder_8h.html index 8d1d783..580c25e 100644 --- a/cpp/binder_8h.html +++ b/cpp/binder_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/binder.h File Reference +Kuzu C++ API: headers/binder.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/binder_8h_source.html b/cpp/binder_8h_source.html index 299b9e9..88edd48 100644 --- a/cpp/binder_8h_source.html +++ b/cpp/binder_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/binder.h Source File +Kuzu C++ API: headers/binder.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/blob_8h.html b/cpp/blob_8h.html index 9ad2be2..e4dd351 100644 --- a/cpp/blob_8h.html +++ b/cpp/blob_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/blob.h File Reference +Kuzu C++ API: headers/blob.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/blob_8h_source.html b/cpp/blob_8h_source.html index d9583d0..ca3939b 100644 --- a/cpp/blob_8h_source.html +++ b/cpp/blob_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/blob.h Source File +Kuzu C++ API: headers/blob.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/case__insensitive__map_8h.html b/cpp/case__insensitive__map_8h.html index e6cfa5c..01ed0f6 100644 --- a/cpp/case__insensitive__map_8h.html +++ b/cpp/case__insensitive__map_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/case_insensitive_map.h File Reference +Kuzu C++ API: headers/case_insensitive_map.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/case__insensitive__map_8h_source.html b/cpp/case__insensitive__map_8h_source.html index 3e98306..b877525 100644 --- a/cpp/case__insensitive__map_8h_source.html +++ b/cpp/case__insensitive__map_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/case_insensitive_map.h Source File +Kuzu C++ API: headers/case_insensitive_map.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/cast_8h.html b/cpp/cast_8h.html index 851890f..3733af5 100644 --- a/cpp/cast_8h.html +++ b/cpp/cast_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/cast.h File Reference +Kuzu C++ API: headers/cast.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/cast_8h_source.html b/cpp/cast_8h_source.html index 85fc3b2..d2aa1fb 100644 --- a/cpp/cast_8h_source.html +++ b/cpp/cast_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/cast.h Source File +Kuzu C++ API: headers/cast.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/cast__function__bind__data_8h.html b/cpp/cast__function__bind__data_8h.html index 23949c7..5314b46 100644 --- a/cpp/cast__function__bind__data_8h.html +++ b/cpp/cast__function__bind__data_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/cast_function_bind_data.h File Reference +Kuzu C++ API: headers/cast_function_bind_data.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/cast__function__bind__data_8h_source.html b/cpp/cast__function__bind__data_8h_source.html index 5de616e..8eb8fee 100644 --- a/cpp/cast__function__bind__data_8h_source.html +++ b/cpp/cast__function__bind__data_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/cast_function_bind_data.h Source File +Kuzu C++ API: headers/cast_function_bind_data.h Source File @@ -27,7 +27,7 @@ @@ -133,7 +133,7 @@
26
27} // namespace function
28} // namespace kuzu
-
Definition types.h:252
+
Definition types.h:256
Definition binary_function_executor.h:6
diff --git a/cpp/catalog_8h.html b/cpp/catalog_8h.html index f624fd4..b75f1e8 100644 --- a/cpp/catalog_8h.html +++ b/cpp/catalog_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/catalog.h File Reference +Kuzu C++ API: headers/catalog.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/catalog_8h_source.html b/cpp/catalog_8h_source.html index 4a7325f..09829ef 100644 --- a/cpp/catalog_8h_source.html +++ b/cpp/catalog_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/catalog.h Source File +Kuzu C++ API: headers/catalog.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/classes.html b/cpp/classes.html index 5bce636..42ca3f2 100644 --- a/cpp/classes.html +++ b/cpp/classes.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Class Index +Kuzu C++ API: Class Index @@ -27,7 +27,7 @@ @@ -106,13 +106,13 @@
ActiveQuery (kuzu::main)
ArrayType (kuzu::common)
ArrayTypeInfo (kuzu::common)
ArrowArray
ArrowArrayWrapper
ArrowColumnAuxiliaryBuffer (kuzu::common)
ArrowSchema
ArrowSchemaWrapper
AuxiliaryBuffer (kuzu::common)
AuxiliaryBufferFactory (kuzu::common)
B
-
BinaryComparisonFunctionWrapper (kuzu::function)
BinaryFunctionExecutor::BinaryComparisonSelectWrapper (kuzu::function)
BinaryFunctionExecutor (kuzu::function)
BinaryFunctionWrapper (kuzu::function)
BinaryListExtractFunctionWrapper (kuzu::function)
BinaryListStructFunctionWrapper (kuzu::function)
BinaryMapCreationFunctionWrapper (kuzu::function)
BinaryFunctionExecutor::BinarySelectWrapper (kuzu::function)
BinaryStringFunctionWrapper (kuzu::function)
BinaryUDFExecutor (kuzu::function)
BinaryUDFFunctionWrapper (kuzu::function)
BinderException (kuzu::common)
Blob (kuzu::common)
blob_t (kuzu::common)
BlobVector (kuzu::common)
BMInfoFunction (kuzu::function)
BufferBlock (kuzu::common)
BufferPoolConstants (kuzu::common)
+
BinaryComparisonFunctionWrapper (kuzu::function)
BinaryFunctionExecutor::BinaryComparisonSelectWrapper (kuzu::function)
BinaryFunctionExecutor (kuzu::function)
BinaryFunctionWrapper (kuzu::function)
BinaryListExtractFunctionWrapper (kuzu::function)
BinaryListStructFunctionWrapper (kuzu::function)
BinaryMapCreationFunctionWrapper (kuzu::function)
BinarySelectWithBindDataWrapper (kuzu::function)
BinaryFunctionExecutor::BinarySelectWrapper (kuzu::function)
BinaryStringFunctionWrapper (kuzu::function)
BinaryUDFExecutor (kuzu::function)
BinaryUDFFunctionWrapper (kuzu::function)
BinderException (kuzu::common)
Blob (kuzu::common)
blob_t (kuzu::common)
BlobVector (kuzu::common)
BufferBlock (kuzu::common)
BufferPoolConstants (kuzu::common)
C
-
CaseInsensitiveStringEquality (kuzu::common)
CaseInsensitiveStringHashFunction (kuzu::common)
CastFunctionBindData (kuzu::function)
CatalogException (kuzu::common)
ClearWarningsFunction (kuzu::function)
ClientConfig (kuzu::main)
ClientConfigDefault (kuzu::main)
ClientContext (kuzu::main)
ConfigurationOption (kuzu::main)
Connection (kuzu::main)
ConstFunctionExecutor (kuzu::function)
CopyConstants (kuzu::common)
CopyFromFileError (kuzu::processor)
CreateProjectGraphFunction (kuzu::function)
CSVOption (kuzu::common)
CSVReaderConfig (kuzu::common)
CurrentSettingFunction (kuzu::function)
+
CaseInsensitiveStringEquality (kuzu::common)
CaseInsensitiveStringHashFunction (kuzu::common)
CastFunctionBindData (kuzu::function)
CatalogException (kuzu::common)
ClientConfig (kuzu::main)
ClientConfigDefault (kuzu::main)
ClientContext (kuzu::main)
ConfigurationOption (kuzu::main)
Connection (kuzu::main)
ConstFunctionExecutor (kuzu::function)
CopyConstants (kuzu::common)
CopyFromFileError (kuzu::processor)
CSVOption (kuzu::common)
CSVReaderConfig (kuzu::common)
D
-
Database (kuzu::main)
DataChunk (kuzu::common)
DataChunkDescriptor (kuzu::processor)
DataChunkState (kuzu::common)
DataPos (kuzu::processor)
Date (kuzu::common)
date_t (kuzu::common)
DBConfig (kuzu::main)
DBVersionFunction (kuzu::function)
DecimalType (kuzu::common)
DecimalTypeInfo (kuzu::common)
DropProjectGraphFunction (kuzu::function)
dtime_t (kuzu::common)
+
Database (kuzu::main)
DataChunk (kuzu::common)
DataChunkDescriptor (kuzu::processor)
DataChunkState (kuzu::common)
DataPos (kuzu::processor)
Date (kuzu::common)
date_t (kuzu::common)
DBConfig (kuzu::main)
DecimalType (kuzu::common)
DecimalTypeInfo (kuzu::common)
dtime_t (kuzu::common)
E
Exception (kuzu::common)
ExportCSVConstants (kuzu::common)
Expression (kuzu::binder)
ExpressionEquality (kuzu::binder)
ExpressionHasher (kuzu::binder)
ExpressionTypeUtil (kuzu::common)
ExtensionOption (kuzu::main)
ExtraScanTableFuncBindInput (kuzu::function)
ExtraTableFuncBindInput (kuzu::function)
ExtraTypeInfo (kuzu::common)
@@ -130,13 +130,13 @@
ku_list_t (kuzu::common)
ku_string_t (kuzu::common)
ku_uuid_t (kuzu::common)
L
-
LineContext (kuzu::processor)
list_entry_t (kuzu::common)
ListAuxiliaryBuffer (kuzu::common)
ListType (kuzu::common)
ListTypeInfo (kuzu::common)
ListVector (kuzu::common)
LogicalType (kuzu::common)
LogicalTypeUtils (kuzu::common)
+
LineContext (kuzu::processor)
list_entry_t (kuzu::common)
ListAuxiliaryBuffer (kuzu::common)
ListType (kuzu::common)
ListTypeInfo (kuzu::common)
ListVector (kuzu::common)
LocalCacheManager (kuzu::transaction)
LocalCacheObject (kuzu::transaction)
LogicalType (kuzu::common)
LogicalTypeUtils (kuzu::common)
M
map_entry_t (kuzu::common)
MapType (kuzu::common)
MapVector (kuzu::common)
N
-
NestedVal (kuzu::common)
NodeVal (kuzu::common)
NullMask (kuzu::common)
+
NestedVal (kuzu::common)
NodeOffsetMaskMap (kuzu::common)
NodeVal (kuzu::common)
NullMask (kuzu::common)
O
OperatorMetrics (kuzu::processor)
OPPrintInfo (kuzu)
Option (kuzu::main)
OrderByConstants (kuzu::common)
overflow_value_t (kuzu::common)
overload (kuzu::common)
@@ -151,10 +151,10 @@
RecursiveRelVal (kuzu::common)
RelVal (kuzu::common)
ResultSet (kuzu::processor)
ResultSetDescriptor (kuzu::processor)
S
-
ScalarBindFuncInput (kuzu::function)
ScalarFunction (kuzu::function)
ScalarOrAggregateFunction (kuzu::function)
ScanReplacement (kuzu::function)
ScanReplacementData (kuzu::function)
SelectionVector (kuzu::common)
ShowAttachedDatabasesFunction (kuzu::function)
ShowConnectionFunction (kuzu::function)
ShowFunctionsFunction (kuzu::function)
ShowIndexesFunction (kuzu::function)
ShowLoadedExtensionsFunction (kuzu::function)
ShowOfficialExtensionsFunction (kuzu::function)
ShowSequencesFunction (kuzu::function)
ShowTablesFunction (kuzu::function)
ShowWarningsFunction (kuzu::function)
Statement (kuzu::parser)
StatsInfoFunction (kuzu::function)
StorageConstants (kuzu::common)
StorageDriver (kuzu::main)
StorageInfoFunction (kuzu::function)
StorageVersionInfo (kuzu::storage)
StringAuxiliaryBuffer (kuzu::common)
StringVector (kuzu::common)
struct_entry_t (kuzu::common)
StructAuxiliaryBuffer (kuzu::common)
StructField (kuzu::common)
StructType (kuzu::common)
StructTypeInfo (kuzu::common)
StructVector (kuzu::common)
SystemConfig (kuzu::main)
+
ScalarBindFuncInput (kuzu::function)
ScalarFunction (kuzu::function)
ScalarOrAggregateFunction (kuzu::function)
ScanReplacement (kuzu::function)
ScanReplacementData (kuzu::function)
SelectionVector (kuzu::common)
SelectionView (kuzu::common)
SemiMask (kuzu::common)
SemiMaskUtil (kuzu::common)
Statement (kuzu::parser)
StorageConstants (kuzu::common)
StorageDriver (kuzu::main)
StorageVersionInfo (kuzu::storage)
StringAuxiliaryBuffer (kuzu::common)
StringVector (kuzu::common)
struct_entry_t (kuzu::common)
StructAuxiliaryBuffer (kuzu::common)
StructField (kuzu::common)
StructType (kuzu::common)
StructTypeInfo (kuzu::common)
StructVector (kuzu::common)
SystemConfig (kuzu::main)
T
-
TableFuncBindInput (kuzu::function)
TableFuncInput (kuzu::function)
TableFuncLocalState (kuzu::function)
TableFuncMorsel (kuzu::function)
TableFuncOutput (kuzu::function)
TableFuncSharedState (kuzu::function)
TableFunction (kuzu::function)
TableFunctionInitInput (kuzu::function)
TableInfoFunction (kuzu::function)
TableOptionConstants (kuzu::common)
TernaryFunctionExecutor (kuzu::function)
TernaryFunctionWrapper (kuzu::function)
TernaryListFunctionWrapper (kuzu::function)
TernaryRegexFunctionWrapper (kuzu::function)
TernaryStringFunctionWrapper (kuzu::function)
TernaryUDFExecutor (kuzu::function)
TernaryUDFFunctionWrapper (kuzu::function)
Time (kuzu::common)
Timer (kuzu::common)
Timestamp (kuzu::common)
timestamp_ms_t (kuzu::common)
timestamp_ns_t (kuzu::common)
timestamp_sec_t (kuzu::common)
timestamp_t (kuzu::common)
timestamp_tz_t (kuzu::common)
Transaction (kuzu::transaction)
TransactionContext (kuzu::transaction)
TypeUtils (kuzu::common)
+
TableFuncBindInput (kuzu::function)
TableFuncInitLocalStateInput (kuzu::function)
TableFuncInitOutputInput (kuzu::function)
TableFuncInitSharedStateInput (kuzu::function)
TableFuncInput (kuzu::function)
TableFuncLocalState (kuzu::function)
TableFuncOutput (kuzu::function)
TableFuncSharedState (kuzu::function)
TableFunction (kuzu::function)
TableOptionConstants (kuzu::common)
TernaryFunctionExecutor (kuzu::function)
TernaryFunctionWrapper (kuzu::function)
TernaryListFunctionWrapper (kuzu::function)
TernaryRegexFunctionWrapper (kuzu::function)
TernaryStringFunctionWrapper (kuzu::function)
TernaryUDFExecutor (kuzu::function)
TernaryUDFFunctionWrapper (kuzu::function)
Time (kuzu::common)
Timer (kuzu::common)
Timestamp (kuzu::common)
timestamp_ms_t (kuzu::common)
timestamp_ns_t (kuzu::common)
timestamp_sec_t (kuzu::common)
timestamp_t (kuzu::common)
timestamp_tz_t (kuzu::common)
Transaction (kuzu::transaction)
TransactionContext (kuzu::transaction)
TypeUtils (kuzu::common)
U
UDF (kuzu::function)
UDTTypeInfo (kuzu::common)
UnaryCastFunctionWrapper (kuzu::function)
UnaryCastStringFunctionWrapper (kuzu::function)
UnaryFunctionExecutor (kuzu::function)
UnaryFunctionWrapper (kuzu::function)
UnaryNestedTypeFunctionWrapper (kuzu::function)
UnarySequenceFunctionWrapper (kuzu::function)
UnaryStringFunctionWrapper (kuzu::function)
UnaryStructFunctionWrapper (kuzu::function)
UnaryUDFExecutor (kuzu::function)
UnaryUDFFunctionWrapper (kuzu::function)
union_entry_t (kuzu::common)
UnionType (kuzu::common)
UnionVector (kuzu::common)
UUID (kuzu::common)
diff --git a/cpp/classkuzu_1_1binder_1_1_expression-members.html b/cpp/classkuzu_1_1binder_1_1_expression-members.html index 9dc9a81..9298fa6 100644 --- a/cpp/classkuzu_1_1binder_1_1_expression-members.html +++ b/cpp/classkuzu_1_1binder_1_1_expression-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1binder_1_1_expression.html b/cpp/classkuzu_1_1binder_1_1_expression.html index cf294eb..bfc4108 100644 --- a/cpp/classkuzu_1_1binder_1_1_expression.html +++ b/cpp/classkuzu_1_1binder_1_1_expression.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::binder::Expression Class Reference +Kuzu C++ API: kuzu::binder::Expression Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_array_type_info-members.html b/cpp/classkuzu_1_1common_1_1_array_type_info-members.html index a97754a..a01ffd3 100644 --- a/cpp/classkuzu_1_1common_1_1_array_type_info-members.html +++ b/cpp/classkuzu_1_1common_1_1_array_type_info-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_array_type_info.html b/cpp/classkuzu_1_1common_1_1_array_type_info.html index a925a4a..a79640d 100644 --- a/cpp/classkuzu_1_1common_1_1_array_type_info.html +++ b/cpp/classkuzu_1_1common_1_1_array_type_info.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ArrayTypeInfo Class Reference +Kuzu C++ API: kuzu::common::ArrayTypeInfo Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer-members.html b/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer-members.html index 39ec6e0..6517552 100644 --- a/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer-members.html +++ b/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer.html b/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer.html index b41ea8e..c6f9c66 100644 --- a/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer.html +++ b/cpp/classkuzu_1_1common_1_1_arrow_column_auxiliary_buffer.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ArrowColumnAuxiliaryBuffer Class Reference +Kuzu C++ API: kuzu::common::ArrowColumnAuxiliaryBuffer Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer-members.html b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer-members.html index d735236..050df67 100644 --- a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer-members.html +++ b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer.html b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer.html index bb92c39..5a2d740 100644 --- a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer.html +++ b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::AuxiliaryBuffer Class Reference +Kuzu C++ API: kuzu::common::AuxiliaryBuffer Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory-members.html b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory-members.html index 89e2151..5c5d5ad 100644 --- a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory-members.html +++ b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory.html b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory.html index 3b61b3a..81d8e2c 100644 --- a/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory.html +++ b/cpp/classkuzu_1_1common_1_1_auxiliary_buffer_factory.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::AuxiliaryBufferFactory Class Reference +Kuzu C++ API: kuzu::common::AuxiliaryBufferFactory Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_binder_exception-members.html b/cpp/classkuzu_1_1common_1_1_binder_exception-members.html index 25969d4..773a601 100644 --- a/cpp/classkuzu_1_1common_1_1_binder_exception-members.html +++ b/cpp/classkuzu_1_1common_1_1_binder_exception-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_binder_exception.html b/cpp/classkuzu_1_1common_1_1_binder_exception.html index cbd5a0c..bf7f050 100644 --- a/cpp/classkuzu_1_1common_1_1_binder_exception.html +++ b/cpp/classkuzu_1_1common_1_1_binder_exception.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::BinderException Class Reference +Kuzu C++ API: kuzu::common::BinderException Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_catalog_exception-members.html b/cpp/classkuzu_1_1common_1_1_catalog_exception-members.html index 30c9409..e2c61e8 100644 --- a/cpp/classkuzu_1_1common_1_1_catalog_exception-members.html +++ b/cpp/classkuzu_1_1common_1_1_catalog_exception-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_catalog_exception.html b/cpp/classkuzu_1_1common_1_1_catalog_exception.html index 5767b94..5782e6b 100644 --- a/cpp/classkuzu_1_1common_1_1_catalog_exception.html +++ b/cpp/classkuzu_1_1common_1_1_catalog_exception.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::CatalogException Class Reference +Kuzu C++ API: kuzu::common::CatalogException Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_data_chunk-members.html b/cpp/classkuzu_1_1common_1_1_data_chunk-members.html index 93f8ec1..af2fadf 100644 --- a/cpp/classkuzu_1_1common_1_1_data_chunk-members.html +++ b/cpp/classkuzu_1_1common_1_1_data_chunk-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_data_chunk.html b/cpp/classkuzu_1_1common_1_1_data_chunk.html index 001fb6a..b22e554 100644 --- a/cpp/classkuzu_1_1common_1_1_data_chunk.html +++ b/cpp/classkuzu_1_1common_1_1_data_chunk.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::DataChunk Class Reference +Kuzu C++ API: kuzu::common::DataChunk Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_data_chunk_state-members.html b/cpp/classkuzu_1_1common_1_1_data_chunk_state-members.html index 94906c8..ba1b5b4 100644 --- a/cpp/classkuzu_1_1common_1_1_data_chunk_state-members.html +++ b/cpp/classkuzu_1_1common_1_1_data_chunk_state-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_data_chunk_state.html b/cpp/classkuzu_1_1common_1_1_data_chunk_state.html index 540af06..fe45a3a 100644 --- a/cpp/classkuzu_1_1common_1_1_data_chunk_state.html +++ b/cpp/classkuzu_1_1common_1_1_data_chunk_state.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::DataChunkState Class Reference +Kuzu C++ API: kuzu::common::DataChunkState Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_date-members.html b/cpp/classkuzu_1_1common_1_1_date-members.html index 6746aec..1e38741 100644 --- a/cpp/classkuzu_1_1common_1_1_date-members.html +++ b/cpp/classkuzu_1_1common_1_1_date-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_date.html b/cpp/classkuzu_1_1common_1_1_date.html index f16b03c..afc5080 100644 --- a/cpp/classkuzu_1_1common_1_1_date.html +++ b/cpp/classkuzu_1_1common_1_1_date.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Date Class Reference +Kuzu C++ API: kuzu::common::Date Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_decimal_type_info-members.html b/cpp/classkuzu_1_1common_1_1_decimal_type_info-members.html index 23d28a4..3e0b283 100644 --- a/cpp/classkuzu_1_1common_1_1_decimal_type_info-members.html +++ b/cpp/classkuzu_1_1common_1_1_decimal_type_info-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_decimal_type_info.html b/cpp/classkuzu_1_1common_1_1_decimal_type_info.html index 0b221ef..8ad96e1 100644 --- a/cpp/classkuzu_1_1common_1_1_decimal_type_info.html +++ b/cpp/classkuzu_1_1common_1_1_decimal_type_info.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::DecimalTypeInfo Class Reference +Kuzu C++ API: kuzu::common::DecimalTypeInfo Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_exception-members.html b/cpp/classkuzu_1_1common_1_1_exception-members.html index 14a46c4..ce45468 100644 --- a/cpp/classkuzu_1_1common_1_1_exception-members.html +++ b/cpp/classkuzu_1_1common_1_1_exception-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_exception.html b/cpp/classkuzu_1_1common_1_1_exception.html index 73809bb..daec14b 100644 --- a/cpp/classkuzu_1_1common_1_1_exception.html +++ b/cpp/classkuzu_1_1common_1_1_exception.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Exception Class Reference +Kuzu C++ API: kuzu::common::Exception Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_extra_type_info-members.html b/cpp/classkuzu_1_1common_1_1_extra_type_info-members.html index ddd2326..3176d1c 100644 --- a/cpp/classkuzu_1_1common_1_1_extra_type_info-members.html +++ b/cpp/classkuzu_1_1common_1_1_extra_type_info-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_extra_type_info.html b/cpp/classkuzu_1_1common_1_1_extra_type_info.html index 3a48987..e3e6ca9 100644 --- a/cpp/classkuzu_1_1common_1_1_extra_type_info.html +++ b/cpp/classkuzu_1_1common_1_1_extra_type_info.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ExtraTypeInfo Class Reference +Kuzu C++ API: kuzu::common::ExtraTypeInfo Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer-members.html b/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer-members.html index 4c12f0a..01a9377 100644 --- a/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer-members.html +++ b/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer.html b/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer.html index b7b67cd..01a4903 100644 --- a/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer.html +++ b/cpp/classkuzu_1_1common_1_1_in_mem_overflow_buffer.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::InMemOverflowBuffer Class Reference +Kuzu C++ API: kuzu::common::InMemOverflowBuffer Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_int128__t-members.html b/cpp/classkuzu_1_1common_1_1_int128__t-members.html index 45e94dd..383f141 100644 --- a/cpp/classkuzu_1_1common_1_1_int128__t-members.html +++ b/cpp/classkuzu_1_1common_1_1_int128__t-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_int128__t.html b/cpp/classkuzu_1_1common_1_1_int128__t.html index 6aa62df..5b6449c 100644 --- a/cpp/classkuzu_1_1common_1_1_int128__t.html +++ b/cpp/classkuzu_1_1common_1_1_int128__t.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Int128_t Class Reference +Kuzu C++ API: kuzu::common::Int128_t Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_internal_exception-members.html b/cpp/classkuzu_1_1common_1_1_internal_exception-members.html index 908888b..fd6b958 100644 --- a/cpp/classkuzu_1_1common_1_1_internal_exception-members.html +++ b/cpp/classkuzu_1_1common_1_1_internal_exception-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_internal_exception.html b/cpp/classkuzu_1_1common_1_1_internal_exception.html index 97652ed..5c82aa7 100644 --- a/cpp/classkuzu_1_1common_1_1_internal_exception.html +++ b/cpp/classkuzu_1_1common_1_1_internal_exception.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::InternalException Class Reference +Kuzu C++ API: kuzu::common::InternalException Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_interval-members.html b/cpp/classkuzu_1_1common_1_1_interval-members.html index b18820a..43279f9 100644 --- a/cpp/classkuzu_1_1common_1_1_interval-members.html +++ b/cpp/classkuzu_1_1common_1_1_interval-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_interval.html b/cpp/classkuzu_1_1common_1_1_interval.html index dd6c086..9dbe38b 100644 --- a/cpp/classkuzu_1_1common_1_1_interval.html +++ b/cpp/classkuzu_1_1common_1_1_interval.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Interval Class Reference +Kuzu C++ API: kuzu::common::Interval Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer-members.html b/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer-members.html index 83d9874..1dc4bdf 100644 --- a/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer-members.html +++ b/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer.html b/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer.html index 6373fc0..7947bb2 100644 --- a/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer.html +++ b/cpp/classkuzu_1_1common_1_1_list_auxiliary_buffer.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ListAuxiliaryBuffer Class Reference +Kuzu C++ API: kuzu::common::ListAuxiliaryBuffer Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_list_type_info-members.html b/cpp/classkuzu_1_1common_1_1_list_type_info-members.html index a39d4dd..74d060b 100644 --- a/cpp/classkuzu_1_1common_1_1_list_type_info-members.html +++ b/cpp/classkuzu_1_1common_1_1_list_type_info-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_list_type_info.html b/cpp/classkuzu_1_1common_1_1_list_type_info.html index 2414062..7997161 100644 --- a/cpp/classkuzu_1_1common_1_1_list_type_info.html +++ b/cpp/classkuzu_1_1common_1_1_list_type_info.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ListTypeInfo Class Reference +Kuzu C++ API: kuzu::common::ListTypeInfo Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_list_vector-members.html b/cpp/classkuzu_1_1common_1_1_list_vector-members.html index 9d250e1..a607842 100644 --- a/cpp/classkuzu_1_1common_1_1_list_vector-members.html +++ b/cpp/classkuzu_1_1common_1_1_list_vector-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ @@ -106,7 +106,7 @@ - + diff --git a/cpp/classkuzu_1_1common_1_1_list_vector.html b/cpp/classkuzu_1_1common_1_1_list_vector.html index 5e81b7b..32020f4 100644 --- a/cpp/classkuzu_1_1common_1_1_list_vector.html +++ b/cpp/classkuzu_1_1common_1_1_list_vector.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ListVector Class Reference +Kuzu C++ API: kuzu::common::ListVector Class Reference @@ -27,7 +27,7 @@ @@ -113,8 +113,8 @@ - - + + @@ -277,8 +277,8 @@

-

◆ copyListEntryAndBufferMetaData()

+ +

◆ copyListEntryAndBufferMetaData()

@@ -294,7 +294,17 @@

- + + + + + + + + + + +
strThe string to destroy.
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C API +
Kuzu C API
-
Kùzu C++ API +
Kuzu C++ API
 Nfunction
 Nmain
 Nparser
 Nstorage
 Ntransaction
 COPPrintInfo
 Nstd
 Chash< kuzu::common::int128_t >
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
 
struct  kuzu::function::BinaryUDFFunctionWrapper
 
struct  kuzu::function::BinarySelectWithBindDataWrapper
 
struct  kuzu::function::BinaryFunctionExecutor
 
struct  kuzu::function::BinaryFunctionExecutor::BinarySelectWrapper
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
appendDataVector(ValueVector *dstVector, ValueVector *srcDataVector, uint64_t numValuesToAppend)kuzu::common::ListVectorstatic
copyFromRowData(ValueVector *vector, uint32_t pos, const uint8_t *rowData)kuzu::common::ListVectorstatic
copyFromVectorData(ValueVector *dstVector, uint8_t *dstData, const ValueVector *srcVector, const uint8_t *srcData)kuzu::common::ListVectorstatic
copyListEntryAndBufferMetaData(ValueVector &vector, const ValueVector &other)kuzu::common::ListVectorstatic
copyListEntryAndBufferMetaData(ValueVector &vector, const SelectionVector &selVector, const ValueVector &other, const SelectionVector &otherSelVector)kuzu::common::ListVectorstatic
copyToRowData(const ValueVector *vector, uint32_t pos, uint8_t *rowData, InMemOverflowBuffer *rowOverflowBuffer)kuzu::common::ListVectorstatic
getAuxBuffer(const ValueVector &vector)kuzu::common::ListVectorinlinestatic
getAuxBufferUnsafe(const ValueVector &vector)kuzu::common::ListVectorinlinestatic
-
Kùzu C++ API +
Kuzu C++ API
 
static void setDataVector (const ValueVector *vector, std::shared_ptr< ValueVector > dataVector)
 
static void copyListEntryAndBufferMetaData (ValueVector &vector, const ValueVector &other)
 
static void copyListEntryAndBufferMetaData (ValueVector &vector, const SelectionVector &selVector, const ValueVector &other, const SelectionVector &otherSelVector)
 
static ValueVectorgetDataVector (const ValueVector *vector)
 
static std::shared_ptr< ValueVectorgetSharedDataVector (const ValueVector *vector)
const ValueVector & other )const SelectionVector & selVector,
const ValueVector & other,
const SelectionVector & otherSelVector )
diff --git a/cpp/classkuzu_1_1common_1_1_logical_type-members.html b/cpp/classkuzu_1_1common_1_1_logical_type-members.html index 2ff335b..f802a01 100644 --- a/cpp/classkuzu_1_1common_1_1_logical_type-members.html +++ b/cpp/classkuzu_1_1common_1_1_logical_type-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_logical_type.html b/cpp/classkuzu_1_1common_1_1_logical_type.html index 0f8168c..03241e0 100644 --- a/cpp/classkuzu_1_1common_1_1_logical_type.html +++ b/cpp/classkuzu_1_1common_1_1_logical_type.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::LogicalType Class Reference +Kuzu C++ API: kuzu::common::LogicalType Class Reference @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_map_vector-members.html b/cpp/classkuzu_1_1common_1_1_map_vector-members.html index 1e6a72d..91f5619 100644 --- a/cpp/classkuzu_1_1common_1_1_map_vector-members.html +++ b/cpp/classkuzu_1_1common_1_1_map_vector-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_map_vector.html b/cpp/classkuzu_1_1common_1_1_map_vector.html index 56d7a64..2d99bbe 100644 --- a/cpp/classkuzu_1_1common_1_1_map_vector.html +++ b/cpp/classkuzu_1_1common_1_1_map_vector.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::MapVector Class Reference +Kuzu C++ API: kuzu::common::MapVector Class Reference @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_nested_val-members.html b/cpp/classkuzu_1_1common_1_1_nested_val-members.html index c7df92b..d895179 100644 --- a/cpp/classkuzu_1_1common_1_1_nested_val-members.html +++ b/cpp/classkuzu_1_1common_1_1_nested_val-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_nested_val.html b/cpp/classkuzu_1_1common_1_1_nested_val.html index f12fee1..eee0a02 100644 --- a/cpp/classkuzu_1_1common_1_1_nested_val.html +++ b/cpp/classkuzu_1_1common_1_1_nested_val.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::NestedVal Class Reference +Kuzu C++ API: kuzu::common::NestedVal Class Reference @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_node_offset_mask_map-members.html b/cpp/classkuzu_1_1common_1_1_node_offset_mask_map-members.html new file mode 100644 index 0000000..ac878af --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_node_offset_mask_map-members.html @@ -0,0 +1,127 @@ + + + + + + + +Kuzu C++ API: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Kuzu C++ API +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ + + + diff --git a/cpp/classkuzu_1_1common_1_1_node_offset_mask_map.html b/cpp/classkuzu_1_1common_1_1_node_offset_mask_map.html new file mode 100644 index 0000000..5c9f9f0 --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_node_offset_mask_map.html @@ -0,0 +1,473 @@ + + + + + + + +Kuzu C++ API: kuzu::common::NodeOffsetMaskMap Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Kuzu C++ API +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
kuzu::common::NodeOffsetMaskMap Class Reference
+
+
+ +

#include <mask.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 NodeOffsetMaskMap ()
 
void enable ()
 
bool enabled () const
 
offset_t getNumMaskedNode () const
 
void addMask (table_id_t tableID, std::unique_ptr< SemiMask > mask)
 
table_id_map_t< SemiMask * > getMasks () const
 
bool containsTableID (table_id_t tableID) const
 
SemiMaskgetOffsetMask (table_id_t tableID) const
 
void pin (table_id_t tableID)
 
bool hasPinnedMask () const
 
SemiMaskgetPinnedMask () const
 
bool valid (offset_t offset) const
 
bool valid (nodeID_t nodeID) const
 
+

Constructor & Destructor Documentation

+ +

◆ NodeOffsetMaskMap()

+ +
+
+ + + + + +
+ + + + + + + +
kuzu::common::NodeOffsetMaskMap::NodeOffsetMaskMap ()
+
+inline
+
+ +
+
+

Member Function Documentation

+ +

◆ addMask()

+ +
+
+ + + + + +
+ + + + + + + + + + + +
void kuzu::common::NodeOffsetMaskMap::addMask (table_id_t tableID,
std::unique_ptr< SemiMask > mask )
+
+inline
+
+ +
+
+ +

◆ containsTableID()

+ +
+
+ + + + + +
+ + + + + + + +
bool kuzu::common::NodeOffsetMaskMap::containsTableID (table_id_t tableID) const
+
+inline
+
+ +
+
+ +

◆ enable()

+ +
+
+ + + + + +
+ + + + + + + +
void kuzu::common::NodeOffsetMaskMap::enable ()
+
+inline
+
+ +
+
+ +

◆ enabled()

+ +
+
+ + + + + +
+ + + + + + + +
bool kuzu::common::NodeOffsetMaskMap::enabled () const
+
+inline
+
+ +
+
+ +

◆ getMasks()

+ +
+
+ + + + + +
+ + + + + + + +
table_id_map_t< SemiMask * > kuzu::common::NodeOffsetMaskMap::getMasks () const
+
+inline
+
+ +
+
+ +

◆ getNumMaskedNode()

+ +
+
+ + + + + + + +
offset_t kuzu::common::NodeOffsetMaskMap::getNumMaskedNode () const
+
+ +
+
+ +

◆ getOffsetMask()

+ +
+
+ + + + + +
+ + + + + + + +
SemiMask * kuzu::common::NodeOffsetMaskMap::getOffsetMask (table_id_t tableID) const
+
+inline
+
+ +
+
+ +

◆ getPinnedMask()

+ +
+
+ + + + + +
+ + + + + + + +
SemiMask * kuzu::common::NodeOffsetMaskMap::getPinnedMask () const
+
+inline
+
+ +
+
+ +

◆ hasPinnedMask()

+ +
+
+ + + + + +
+ + + + + + + +
bool kuzu::common::NodeOffsetMaskMap::hasPinnedMask () const
+
+inline
+
+ +
+
+ +

◆ pin()

+ +
+
+ + + + + +
+ + + + + + + +
void kuzu::common::NodeOffsetMaskMap::pin (table_id_t tableID)
+
+inline
+
+ +
+
+ +

◆ valid() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
bool kuzu::common::NodeOffsetMaskMap::valid (nodeID_t nodeID) const
+
+inline
+
+ +
+
+ +

◆ valid() [2/2]

+ +
+
+ + + + + +
+ + + + + + + +
bool kuzu::common::NodeOffsetMaskMap::valid (offset_t offset) const
+
+inline
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/cpp/classkuzu_1_1common_1_1_node_offset_mask_map.js b/cpp/classkuzu_1_1common_1_1_node_offset_mask_map.js new file mode 100644 index 0000000..557e75e --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_node_offset_mask_map.js @@ -0,0 +1,16 @@ +var classkuzu_1_1common_1_1_node_offset_mask_map = +[ + [ "NodeOffsetMaskMap", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a41e1b48eb02d22e7c1195cd849d8cb7d", null ], + [ "addMask", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a3febf24261757beaaf1e666191e81956", null ], + [ "containsTableID", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a81482683594147e358598f2503369732", null ], + [ "enable", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a2770d12f03161869da8ab733bf46d1aa", null ], + [ "enabled", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a009b811d1158c42825572fbe152a934e", null ], + [ "getMasks", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a4583545e5bbd08164be32df4f0ea1068", null ], + [ "getNumMaskedNode", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a6ffd86e373e3e2c6adf855b26569e781", null ], + [ "getOffsetMask", "classkuzu_1_1common_1_1_node_offset_mask_map.html#af09dcd25628743c08881eeff3384b2ff", null ], + [ "getPinnedMask", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a94724783dbc5ce82e8958abb8f88d10f", null ], + [ "hasPinnedMask", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a391c27c4b76aaee67e440faac5914386", null ], + [ "pin", "classkuzu_1_1common_1_1_node_offset_mask_map.html#ac1e3a66fb371a4a0db85bd513ee6d4da", null ], + [ "valid", "classkuzu_1_1common_1_1_node_offset_mask_map.html#aeb3ec55e365737016c8cb86f05120cd5", null ], + [ "valid", "classkuzu_1_1common_1_1_node_offset_mask_map.html#a9b3c90bd99c72ca94fdf54db13cf8633", null ] +]; \ No newline at end of file diff --git a/cpp/classkuzu_1_1common_1_1_node_val-members.html b/cpp/classkuzu_1_1common_1_1_node_val-members.html index ea71ddd..ed0e6b4 100644 --- a/cpp/classkuzu_1_1common_1_1_node_val-members.html +++ b/cpp/classkuzu_1_1common_1_1_node_val-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_node_val.html b/cpp/classkuzu_1_1common_1_1_node_val.html index 886d682..408db53 100644 --- a/cpp/classkuzu_1_1common_1_1_node_val.html +++ b/cpp/classkuzu_1_1common_1_1_node_val.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::NodeVal Class Reference +Kuzu C++ API: kuzu::common::NodeVal Class Reference @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
diff --git a/cpp/classkuzu_1_1common_1_1_null_mask-members.html b/cpp/classkuzu_1_1common_1_1_null_mask-members.html index 098d5d3..cd60818 100644 --- a/cpp/classkuzu_1_1common_1_1_null_mask-members.html +++ b/cpp/classkuzu_1_1common_1_1_null_mask-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
@@ -108,7 +108,7 @@ copyNullMask(const uint64_t *srcNullEntries, uint64_t srcOffset, uint64_t *dstNullEntries, uint64_t dstOffset, uint64_t numBitsToCopy, bool invert=false)kuzu::common::NullMaskstatic countNulls() constkuzu::common::NullMask getData() constkuzu::common::NullMaskinline - getMinMax(const uint64_t *nullEntries, uint64_t numValues)kuzu::common::NullMaskstatic + getMinMax(const uint64_t *nullEntries, uint64_t offset, uint64_t numValues)kuzu::common::NullMaskstatic getNumNullBits(std::span< uint64_t > data)kuzu::common::NullMaskinlinestatic getNumNullEntries(uint64_t numNullBits)kuzu::common::NullMaskinlinestatic hasNoNullsGuarantee() constkuzu::common::NullMaskinline diff --git a/cpp/classkuzu_1_1common_1_1_null_mask.html b/cpp/classkuzu_1_1common_1_1_null_mask.html index 43237b1..a6adf93 100644 --- a/cpp/classkuzu_1_1common_1_1_null_mask.html +++ b/cpp/classkuzu_1_1common_1_1_null_mask.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::NullMask Class Reference +Kuzu C++ API: kuzu::common::NullMask Class Reference @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
@@ -152,8 +152,8 @@   static void setNullRange (uint64_t *nullEntries, uint64_t offset, uint64_t numBitsToSet, bool isNull)   -static std::pair< bool, bool > getMinMax (const uint64_t *nullEntries, uint64_t numValues) -  +static std::pair< bool, bool > getMinMax (const uint64_t *nullEntries, uint64_t offset, uint64_t numValues) +  @@ -395,8 +395,8 @@

-

◆ getMinMax()

+ +

◆ getMinMax()

@@ -409,6 +409,11 @@

const uint64_t *

+ + + + + diff --git a/cpp/classkuzu_1_1common_1_1_recursive_rel_val-members.html b/cpp/classkuzu_1_1common_1_1_recursive_rel_val-members.html index a66e139..78a0547 100644 --- a/cpp/classkuzu_1_1common_1_1_recursive_rel_val-members.html +++ b/cpp/classkuzu_1_1common_1_1_recursive_rel_val-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_recursive_rel_val.html b/cpp/classkuzu_1_1common_1_1_recursive_rel_val.html index 443ed45..0861b80 100644 --- a/cpp/classkuzu_1_1common_1_1_recursive_rel_val.html +++ b/cpp/classkuzu_1_1common_1_1_recursive_rel_val.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::RecursiveRelVal Class Reference +Kuzu C++ API: kuzu::common::RecursiveRelVal Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_rel_val-members.html b/cpp/classkuzu_1_1common_1_1_rel_val-members.html index 5d7cfda..d373b7f 100644 --- a/cpp/classkuzu_1_1common_1_1_rel_val-members.html +++ b/cpp/classkuzu_1_1common_1_1_rel_val-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_rel_val.html b/cpp/classkuzu_1_1common_1_1_rel_val.html index 851f652..f241db6 100644 --- a/cpp/classkuzu_1_1common_1_1_rel_val.html +++ b/cpp/classkuzu_1_1common_1_1_rel_val.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::RelVal Class Reference +Kuzu C++ API: kuzu::common::RelVal Class Reference @@ -27,7 +27,7 @@ diff --git a/cpp/classkuzu_1_1common_1_1_selection_vector-members.html b/cpp/classkuzu_1_1common_1_1_selection_vector-members.html index 47b6687..d88a065 100644 --- a/cpp/classkuzu_1_1common_1_1_selection_vector-members.html +++ b/cpp/classkuzu_1_1common_1_1_selection_vector-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ @@ -102,23 +102,35 @@

This is the complete list of members for kuzu::common::SelectionVector, including all inherited members.

Static Public Attributes

nullEntries,
uint64_t offset,
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
-
Kùzu C++ API +
Kuzu C++ API
- + + + - - + + - - - - - - + + + + + + + + + + + + - - + + + + + +
forEach(Func &&func) constkuzu::common::SelectionVectorinline
forEach(Func &&func) constkuzu::common::SelectionViewinline
forEachBreakWhenFalse(Func &&func) constkuzu::common::SelectionViewinline
fromValueVectors(const std::vector< std::shared_ptr< common::ValueVector > > &vec)kuzu::common::SelectionVectorstatic
getMutableBuffer() constkuzu::common::SelectionVectorinline
getSelectedPositions() constkuzu::common::SelectionVectorinline
getSelSize() constkuzu::common::SelectionVectorinline
getSelectedPositions() constkuzu::common::SelectionViewinline
getSelSize() constkuzu::common::SelectionViewinline
incrementSelSize(sel_t increment=1)kuzu::common::SelectionVectorinline
isUnfiltered() constkuzu::common::SelectionVectorinline
makeDynamic()kuzu::common::SelectionVectorinline
operator[](sel_t index) constkuzu::common::SelectionVectorinline
operator[](sel_t index)kuzu::common::SelectionVectorinline
SelectionVector(sel_t capacity)kuzu::common::SelectionVectorinlineexplicit
SelectionVector()kuzu::common::SelectionVector
isStatic() constkuzu::common::SelectionViewinline
isUnfiltered() constkuzu::common::SelectionViewinline
makeDynamic()kuzu::common::SelectionVectorinline
operator[](sel_t index) constkuzu::common::SelectionVectorinline
operator[](sel_t index)kuzu::common::SelectionVectorinline
selectedPositionskuzu::common::SelectionViewprotected
selectedSizekuzu::common::SelectionViewprotected
SelectionVector(sel_t capacity)kuzu::common::SelectionVectorinlineexplicit
SelectionVector()kuzu::common::SelectionVector
SelectionView(sel_t selectedSize)kuzu::common::SelectionViewinlineexplicit
SelectionView(sel_t startPos, sel_t selectedSize)kuzu::common::SelectionViewexplicit
SelectionView(std::span< const sel_t > selectedPositions, State state)kuzu::common::SelectionViewinlineexplicitprotected
setRange(sel_t startPos, sel_t size)kuzu::common::SelectionVectorinline
setSelSize(sel_t size)kuzu::common::SelectionVectorinline
setToFiltered()kuzu::common::SelectionVectorinline
setToFiltered(sel_t size)kuzu::common::SelectionVectorinline
setToUnfiltered()kuzu::common::SelectionVector
setToUnfiltered(sel_t size)kuzu::common::SelectionVector
setToUnfiltered()kuzu::common::SelectionVector
setToUnfiltered(sel_t size)kuzu::common::SelectionVector
slice(sel_t startIndex, sel_t selectedSize) constkuzu::common::SelectionVectorinline
kuzu::common::SelectionView::slice(std::span< const sel_t > selectedPositions, State state)kuzu::common::SelectionViewinlineprotectedstatic
State enum namekuzu::common::SelectionViewprotected
statekuzu::common::SelectionViewprotected
diff --git a/cpp/classkuzu_1_1common_1_1_selection_vector.html b/cpp/classkuzu_1_1common_1_1_selection_vector.html index c3ff507..a95b03f 100644 --- a/cpp/classkuzu_1_1common_1_1_selection_vector.html +++ b/cpp/classkuzu_1_1common_1_1_selection_vector.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::SelectionVector Class Reference +Kuzu C++ API: kuzu::common::SelectionVector Class Reference @@ -27,7 +27,7 @@ -
Kùzu C++ API +
Kuzu C++ API
@@ -98,25 +98,35 @@
kuzu::common::SelectionVector Class Reference

#include <sel_vector.h>

+
+Inheritance diagram for kuzu::common::SelectionVector:
+
+
+ + +kuzu::common::SelectionView + +
+ + - - - - - - + + + + @@ -127,13 +137,6 @@ - - - - - - - @@ -142,6 +145,53 @@ + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 SelectionVector (sel_t capacity)
 
SelectionView slice (sel_t startIndex, sel_t selectedSize) const
 
 SelectionVector ()
 
bool isUnfiltered () const
 
void setToUnfiltered ()
 
void setToUnfiltered (sel_t size)
 
KUZU_API void setToUnfiltered ()
 
KUZU_API void setToUnfiltered (sel_t size)
 
void setRange (sel_t startPos, sel_t size)
 
void setToFiltered ()
 
std::span< sel_tgetMutableBuffer () const
 
std::span< const sel_tgetSelectedPositions () const
 
template<class Func>
void forEach (Func &&func) const
 
sel_t getSelSize () const
 
void setSelSize (sel_t size)
 
void incrementSelSize (sel_t increment=1)
 
sel_toperator[] (sel_t index)
 
- Public Member Functions inherited from kuzu::common::SelectionView
 SelectionView (sel_t selectedSize)
 
 SelectionView (sel_t startPos, sel_t selectedSize)
 
template<class Func>
void forEach (Func &&func) const
 
template<class Func>
void forEachBreakWhenFalse (Func &&func) const
 
sel_t getSelSize () const
 
sel_t operator[] (sel_t index) const
 
bool isUnfiltered () const
 
bool isStatic () const
 
std::span< const sel_tgetSelectedPositions () const
 
+ + + +

+Static Public Member Functions

static std::vector< SelectionVector * > fromValueVectors (const std::vector< std::shared_ptr< common::ValueVector > > &vec)
 
+ + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Types inherited from kuzu::common::SelectionView
enum class  State { DYNAMIC +, STATIC + }
 
- Protected Member Functions inherited from kuzu::common::SelectionView
 SelectionView (std::span< const sel_t > selectedPositions, State state)
 
- Static Protected Member Functions inherited from kuzu::common::SelectionView
static SelectionView slice (std::span< const sel_t > selectedPositions, State state)
 
- Protected Attributes inherited from kuzu::common::SelectionView
const sel_tselectedPositions
 
sel_t selectedSize
 
State state
 

Constructor & Destructor Documentation

@@ -187,27 +237,25 @@

Member Function Documentation

- -

◆ forEach()

+ +

◆ fromValueVectors()

-
-template<class Func>
+static
- + - - + +
void kuzu::common::SelectionVector::forEach static std::vector< SelectionVector * > kuzu::common::SelectionVector::fromValueVectors (Func && func) constconst std::vector< std::shared_ptr< common::ValueVector > > & vec)
-inline
@@ -237,56 +285,6 @@

-

-
- -

◆ getSelectedPositions()

- -
-
- - - - - -
- - - - - - - -
std::span< const sel_t > kuzu::common::SelectionVector::getSelectedPositions () const
-
-inline
-
- -
-
- -

◆ getSelSize()

- -
-
- - - - - -
- - - - - - - -
sel_t kuzu::common::SelectionVector::getSelSize () const
-
-inline
-
-
@@ -312,31 +310,6 @@

-

-
- -

◆ isUnfiltered()

- -
-
- - - - - -
- - - - - - - -
bool kuzu::common::SelectionVector::isUnfiltered () const
-
-inline
-
-
@@ -518,14 +491,14 @@

-

◆ setToUnfiltered() [1/2]

+ +

◆ setToUnfiltered() [1/2]

- + @@ -535,14 +508,14 @@

-

◆ setToUnfiltered() [2/2]

+ +

◆ setToUnfiltered() [2/2]

void kuzu::common::SelectionVector::setToUnfiltered KUZU_API void kuzu::common::SelectionVector::setToUnfiltered ( )
- + @@ -550,6 +523,35 @@

+ + + +

◆ slice()

+ +
+
+

void kuzu::common::SelectionVector::setToUnfiltered KUZU_API void kuzu::common::SelectionVector::setToUnfiltered ( sel_t size)
+ + + + +
+ + + + + + + + + + + +
SelectionView kuzu::common::SelectionVector::slice (sel_t startIndex,
sel_t selectedSize ) const
+
+inline
+
+

The documentation for this class was generated from the following file:
    diff --git a/cpp/classkuzu_1_1common_1_1_selection_vector.js b/cpp/classkuzu_1_1common_1_1_selection_vector.js index 326d782..46fe290 100644 --- a/cpp/classkuzu_1_1common_1_1_selection_vector.js +++ b/cpp/classkuzu_1_1common_1_1_selection_vector.js @@ -2,12 +2,8 @@ var classkuzu_1_1common_1_1_selection_vector = [ [ "SelectionVector", "classkuzu_1_1common_1_1_selection_vector.html#ae699001bb036a6399c0667e930c394c3", null ], [ "SelectionVector", "classkuzu_1_1common_1_1_selection_vector.html#a6f6932f94fd15fbd7cd0b14f19258e7b", null ], - [ "forEach", "classkuzu_1_1common_1_1_selection_vector.html#a2ad8e6ebde3720a5f9e1f2b66ff4b80f", null ], [ "getMutableBuffer", "classkuzu_1_1common_1_1_selection_vector.html#ae3d02b1ed767b0d3d9606e7a9ab59a5a", null ], - [ "getSelectedPositions", "classkuzu_1_1common_1_1_selection_vector.html#a9b77fd60ff04ecd2f490aae52c2ef6f6", null ], - [ "getSelSize", "classkuzu_1_1common_1_1_selection_vector.html#ad264ab338f4cb049662fad9d4c6c0f15", null ], [ "incrementSelSize", "classkuzu_1_1common_1_1_selection_vector.html#adc585699c4f696dd0100dde5d734840c", null ], - [ "isUnfiltered", "classkuzu_1_1common_1_1_selection_vector.html#a946214dae09737c6b45750228aa70b27", null ], [ "makeDynamic", "classkuzu_1_1common_1_1_selection_vector.html#a675ce7d6295ecaf3253cb1f28ad6ebc4", null ], [ "operator[]", "classkuzu_1_1common_1_1_selection_vector.html#a7dec30c5bfb1d7cd9986099799309c16", null ], [ "operator[]", "classkuzu_1_1common_1_1_selection_vector.html#aec7e5cb590063d225885efbd52608326", null ], @@ -15,6 +11,7 @@ var classkuzu_1_1common_1_1_selection_vector = [ "setSelSize", "classkuzu_1_1common_1_1_selection_vector.html#af0f812a43604466a9c3114de526d7b43", null ], [ "setToFiltered", "classkuzu_1_1common_1_1_selection_vector.html#a466e355497ffed666ad4647aa1d2f72d", null ], [ "setToFiltered", "classkuzu_1_1common_1_1_selection_vector.html#a9be5ef11d1c057abff60c8af50a9f7ec", null ], - [ "setToUnfiltered", "classkuzu_1_1common_1_1_selection_vector.html#a0e02e9097056482bc8ca69f14460f07c", null ], - [ "setToUnfiltered", "classkuzu_1_1common_1_1_selection_vector.html#a87387cb4210f61512c9421ff87b66751", null ] + [ "setToUnfiltered", "classkuzu_1_1common_1_1_selection_vector.html#a11a5083f0167f08404f2ee6e81f79c10", null ], + [ "setToUnfiltered", "classkuzu_1_1common_1_1_selection_vector.html#a9aa02d7eac5466f895339e2694263499", null ], + [ "slice", "classkuzu_1_1common_1_1_selection_vector.html#a80e1665fbc58bdf387f0a11fe7f3dbcf", null ] ]; \ No newline at end of file diff --git a/cpp/classkuzu_1_1common_1_1_selection_vector.png b/cpp/classkuzu_1_1common_1_1_selection_vector.png new file mode 100644 index 0000000000000000000000000000000000000000..b54ffcd2edf15eb32dcc579e7a892a21ac8fbfcc GIT binary patch literal 722 zcmeAS@N?(olHy`uVBq!ia0vp^yMQ==gBeK91SR%c<=xyZhAIs2~du+B*-tA0mugfbEer>7#NshJzX3_Dj46+ec$(3f#*nj zXUN&#_8+%K{ zr(c=dHf^p7+kS3?gM92Rn=?<;w-^zrtU)M_5@ zG;^kf{Pq{`&+p3ApKM%mS>|(k`0v8M47vFUi)3rXU*kKef-Wszid}L-+#bhV4wU z40}XhFg#f6z|N4*YQ<2YeSz^nbR!=F&=7_XVQ5MkI)l72{S`eg0mIJoQ`iFUN!zu4 zg&S3TZOl{4l<+@%W?R8jlb-e9;Jg3fk7||Pq1Q!W+Wt|jw^dD_2kqKrkf@uTJmtFo z=BabPuDrHY%BzZZuiN|hw6iOG>x!)1>x0FA@vd#Vtf97KQcCH~=1WU;s`vfd$~}&34&+KR2)byQ8jQo4LlxzJ1+awiQn9G%Az0EV(xOwZZ@M^}(LE qyc_jAfqsYjZr%&crCXN%WBB`XX8(&M+ah4 + + + + + + +Kuzu C++ API: Member List + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Kuzu C++ API +
    +
    +
    + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    kuzu::common::SelectionView Member List
    +
    +
    + +

    This is the complete list of members for kuzu::common::SelectionView, including all inherited members.

    + + + + + + + + + + + + + + + + +
    forEach(Func &&func) constkuzu::common::SelectionViewinline
    forEachBreakWhenFalse(Func &&func) constkuzu::common::SelectionViewinline
    getSelectedPositions() constkuzu::common::SelectionViewinline
    getSelSize() constkuzu::common::SelectionViewinline
    isStatic() constkuzu::common::SelectionViewinline
    isUnfiltered() constkuzu::common::SelectionViewinline
    operator[](sel_t index) constkuzu::common::SelectionViewinline
    selectedPositionskuzu::common::SelectionViewprotected
    selectedSizekuzu::common::SelectionViewprotected
    SelectionView(sel_t selectedSize)kuzu::common::SelectionViewinlineexplicit
    SelectionView(sel_t startPos, sel_t selectedSize)kuzu::common::SelectionViewexplicit
    SelectionView(std::span< const sel_t > selectedPositions, State state)kuzu::common::SelectionViewinlineexplicitprotected
    slice(std::span< const sel_t > selectedPositions, State state)kuzu::common::SelectionViewinlineprotectedstatic
    State enum namekuzu::common::SelectionViewprotected
    statekuzu::common::SelectionViewprotected
    +
    + + + + diff --git a/cpp/classkuzu_1_1common_1_1_selection_view.html b/cpp/classkuzu_1_1common_1_1_selection_view.html new file mode 100644 index 0000000..effbd62 --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_selection_view.html @@ -0,0 +1,570 @@ + + + + + + + +Kuzu C++ API: kuzu::common::SelectionView Class Reference + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Kuzu C++ API +
    +
    +
    + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + + +
    + +

    #include <sel_vector.h>

    +
    +Inheritance diagram for kuzu::common::SelectionView:
    +
    +
    + + +kuzu::common::SelectionVector + +
    + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     SelectionView (sel_t selectedSize)
     
     SelectionView (sel_t startPos, sel_t selectedSize)
     
    template<class Func>
    void forEach (Func &&func) const
     
    template<class Func>
    void forEachBreakWhenFalse (Func &&func) const
     
    sel_t getSelSize () const
     
    sel_t operator[] (sel_t index) const
     
    bool isUnfiltered () const
     
    bool isStatic () const
     
    std::span< const sel_tgetSelectedPositions () const
     
    + + + +

    +Protected Types

    enum class  State { DYNAMIC +, STATIC + }
     
    + + + +

    +Protected Member Functions

     SelectionView (std::span< const sel_t > selectedPositions, State state)
     
    + + + +

    +Static Protected Member Functions

    static SelectionView slice (std::span< const sel_t > selectedPositions, State state)
     
    + + + + + + + +

    +Protected Attributes

    const sel_tselectedPositions
     
    sel_t selectedSize
     
    State state
     
    +

    Member Enumeration Documentation

    + +

    ◆ State

    + +
    +
    + + + + + +
    + + + + +
    enum class kuzu::common::SelectionView::State
    +
    +strongprotected
    +
    + + + +
    Enumerator
    DYNAMIC 
    STATIC 
    + +
    +
    +

    Constructor & Destructor Documentation

    + +

    ◆ SelectionView() [1/3]

    + +
    +
    + + + + + +
    + + + + + + + +
    kuzu::common::SelectionView::SelectionView (sel_t selectedSize)
    +
    +inlineexplicit
    +
    + +
    +
    + +

    ◆ SelectionView() [2/3]

    + +
    +
    + + + + + +
    + + + + + + + + + + + +
    kuzu::common::SelectionView::SelectionView (sel_t startPos,
    sel_t selectedSize )
    +
    +explicit
    +
    + +
    +
    + +

    ◆ SelectionView() [3/3]

    + +
    +
    + + + + + +
    + + + + + + + + + + + +
    kuzu::common::SelectionView::SelectionView (std::span< const sel_t > selectedPositions,
    State state )
    +
    +inlineexplicitprotected
    +
    + +
    +
    +

    Member Function Documentation

    + +

    ◆ forEach()

    + +
    +
    +
    +template<class Func>
    + + + + + +
    + + + + + + + +
    void kuzu::common::SelectionView::forEach (Func && func) const
    +
    +inline
    +
    + +
    +
    + +

    ◆ forEachBreakWhenFalse()

    + +
    +
    +
    +template<class Func>
    + + + + + +
    + + + + + + + +
    void kuzu::common::SelectionView::forEachBreakWhenFalse (Func && func) const
    +
    +inline
    +
    + +
    +
    + +

    ◆ getSelectedPositions()

    + +
    +
    + + + + + +
    + + + + + + + +
    std::span< const sel_t > kuzu::common::SelectionView::getSelectedPositions () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ getSelSize()

    + +
    +
    + + + + + +
    + + + + + + + +
    sel_t kuzu::common::SelectionView::getSelSize () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ isStatic()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool kuzu::common::SelectionView::isStatic () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ isUnfiltered()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool kuzu::common::SelectionView::isUnfiltered () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ operator[]()

    + +
    +
    + + + + + +
    + + + + + + + +
    sel_t kuzu::common::SelectionView::operator[] (sel_t index) const
    +
    +inline
    +
    + +
    +
    + +

    ◆ slice()

    + +
    +
    + + + + + +
    + + + + + + + + + + + +
    static SelectionView kuzu::common::SelectionView::slice (std::span< const sel_t > selectedPositions,
    State state )
    +
    +inlinestaticprotected
    +
    + +
    +
    +

    Member Data Documentation

    + +

    ◆ selectedPositions

    + +
    +
    + + + + + +
    + + + + +
    const sel_t* kuzu::common::SelectionView::selectedPositions
    +
    +protected
    +
    + +
    +
    + +

    ◆ selectedSize

    + +
    +
    + + + + + +
    + + + + +
    sel_t kuzu::common::SelectionView::selectedSize
    +
    +protected
    +
    + +
    +
    + +

    ◆ state

    + +
    +
    + + + + + +
    + + + + +
    State kuzu::common::SelectionView::state
    +
    +protected
    +
    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/cpp/classkuzu_1_1common_1_1_selection_view.js b/cpp/classkuzu_1_1common_1_1_selection_view.js new file mode 100644 index 0000000..445df2a --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_selection_view.js @@ -0,0 +1,20 @@ +var classkuzu_1_1common_1_1_selection_view = +[ + [ "State", "classkuzu_1_1common_1_1_selection_view.html#a3426b91d288f2c4f02c31ebf3aba2228", [ + [ "DYNAMIC", "classkuzu_1_1common_1_1_selection_view.html#a3426b91d288f2c4f02c31ebf3aba2228a0fcc90da4811c877ba9f9c12f7d60bc9", null ], + [ "STATIC", "classkuzu_1_1common_1_1_selection_view.html#a3426b91d288f2c4f02c31ebf3aba2228afe6f99ef1ec99efbdc19a9786cf1facc", null ] + ] ], + [ "SelectionView", "classkuzu_1_1common_1_1_selection_view.html#a157b1aad0034ffd4e0c571c63f2a0599", null ], + [ "SelectionView", "classkuzu_1_1common_1_1_selection_view.html#a8238e6aec7a9feded42e32cdb1f158e5", null ], + [ "SelectionView", "classkuzu_1_1common_1_1_selection_view.html#a6899a7d318984763fd3526dcbaab94f8", null ], + [ "forEach", "classkuzu_1_1common_1_1_selection_view.html#a6a7a8f04c31aab5ffbf707494aa4c168", null ], + [ "forEachBreakWhenFalse", "classkuzu_1_1common_1_1_selection_view.html#a62e1cd3756d0208ec3c48d679e19a2c4", null ], + [ "getSelectedPositions", "classkuzu_1_1common_1_1_selection_view.html#a36c7ded71b81abf287de2b2149551190", null ], + [ "getSelSize", "classkuzu_1_1common_1_1_selection_view.html#a06169e554b2618d3ca8534d0880cf380", null ], + [ "isStatic", "classkuzu_1_1common_1_1_selection_view.html#a6e07843544f85eed0707ebb21816d61b", null ], + [ "isUnfiltered", "classkuzu_1_1common_1_1_selection_view.html#aa33f8b843a91f33da832d99e57d1d823", null ], + [ "operator[]", "classkuzu_1_1common_1_1_selection_view.html#a09a5214483934395f900fbaea8024040", null ], + [ "selectedPositions", "classkuzu_1_1common_1_1_selection_view.html#ad1a7ab6eaa088a63969172e4b2ce27f2", null ], + [ "selectedSize", "classkuzu_1_1common_1_1_selection_view.html#a9d482454a633591fcdde42ce104f31cc", null ], + [ "state", "classkuzu_1_1common_1_1_selection_view.html#ac22244ed531c7d2eb74cb62c0d13a4be", null ] +]; \ No newline at end of file diff --git a/cpp/classkuzu_1_1common_1_1_selection_view.png b/cpp/classkuzu_1_1common_1_1_selection_view.png new file mode 100644 index 0000000000000000000000000000000000000000..50601c22a62bef8ec26ab5536aa5add76e798ab3 GIT binary patch literal 727 zcmeAS@N?(olHy`uVBq!ia0vp^yMQ==gBeK91SR%c<=xyZhAIs2~du+B*-tA0mugfbEer>7#Nt6JY5_^Dj46+ec$(3f#*oO z`DTaG#6wlPuiu;VZk>L@bJyhfr<+&nV(cAmOHWC0zwcUgd&fx^N$WGLd#mm*_P%7sRpR+6 zY=QTr?M$(g_G~q;^3u%JWcV>pj$y;{Z?5$=+fwg~|MlFb{rlL9i-`;e;v4xG?s1hc zd+_0TVmSK3dPL+wy|sK4qAHTiAVNSNT?__$9{9 z`>pOQ=&!74h&vzuG0VNMwN9>M=4+<8oibl6e@Uj+{1JG=R{Lm|lf8Sb6EGar&cVX* z*P8RQl7GI*vR@~^;4QDumc{Rt_U7J6S=1wYti<{9 literal 0 HcmV?d00001 diff --git a/cpp/classkuzu_1_1common_1_1_semi_mask-members.html b/cpp/classkuzu_1_1common_1_1_semi_mask-members.html new file mode 100644 index 0000000..42f4e89 --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_semi_mask-members.html @@ -0,0 +1,125 @@ + + + + + + + +Kuzu C++ API: Member List + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Kuzu C++ API +
    +
    +
    + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    kuzu::common::SemiMask Member List
    +
    +
    + +

    This is the complete list of members for kuzu::common::SemiMask, including all inherited members.

    + + + + + + + + + + + + +
    collectMaskedNodes(uint64_t size) const =0kuzu::common::SemiMaskpure virtual
    enable()kuzu::common::SemiMaskinline
    getMaxOffset() constkuzu::common::SemiMaskinline
    getNumMaskedNodes() const =0kuzu::common::SemiMaskpure virtual
    isEnabled() constkuzu::common::SemiMaskinline
    isMasked(offset_t startNodeOffset)=0kuzu::common::SemiMaskpure virtual
    mask(offset_t nodeOffset)=0kuzu::common::SemiMaskpure virtual
    maskRange(offset_t startNodeOffset, offset_t endNodeOffset)=0kuzu::common::SemiMaskpure virtual
    range(uint32_t start, uint32_t end)=0kuzu::common::SemiMaskpure virtual
    SemiMask(offset_t maxOffset)kuzu::common::SemiMaskinlineexplicit
    ~SemiMask()=defaultkuzu::common::SemiMaskvirtual
    +
    + + + + diff --git a/cpp/classkuzu_1_1common_1_1_semi_mask.html b/cpp/classkuzu_1_1common_1_1_semi_mask.html new file mode 100644 index 0000000..bf795f1 --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_semi_mask.html @@ -0,0 +1,431 @@ + + + + + + + +Kuzu C++ API: kuzu::common::SemiMask Class Reference + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Kuzu C++ API +
    +
    +
    + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    kuzu::common::SemiMask Class Referenceabstract
    +
    +
    + +

    #include <mask.h>

    + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     SemiMask (offset_t maxOffset)
     
    virtual ~SemiMask ()=default
     
    virtual void mask (offset_t nodeOffset)=0
     
    virtual void maskRange (offset_t startNodeOffset, offset_t endNodeOffset)=0
     
    virtual bool isMasked (offset_t startNodeOffset)=0
     
    virtual offset_vec_t range (uint32_t start, uint32_t end)=0
     
    virtual uint64_t getNumMaskedNodes () const =0
     
    virtual offset_vec_t collectMaskedNodes (uint64_t size) const =0
     
    offset_t getMaxOffset () const
     
    bool isEnabled () const
     
    void enable ()
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ SemiMask()

    + +
    +
    + + + + + +
    + + + + + + + +
    kuzu::common::SemiMask::SemiMask (offset_t maxOffset)
    +
    +inlineexplicit
    +
    + +
    +
    + +

    ◆ ~SemiMask()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual kuzu::common::SemiMask::~SemiMask ()
    +
    +virtualdefault
    +
    + +
    +
    +

    Member Function Documentation

    + +

    ◆ collectMaskedNodes()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual offset_vec_t kuzu::common::SemiMask::collectMaskedNodes (uint64_t size) const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ enable()

    + +
    +
    + + + + + +
    + + + + + + + +
    void kuzu::common::SemiMask::enable ()
    +
    +inline
    +
    + +
    +
    + +

    ◆ getMaxOffset()

    + +
    +
    + + + + + +
    + + + + + + + +
    offset_t kuzu::common::SemiMask::getMaxOffset () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ getNumMaskedNodes()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual uint64_t kuzu::common::SemiMask::getNumMaskedNodes () const
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ isEnabled()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool kuzu::common::SemiMask::isEnabled () const
    +
    +inline
    +
    + +
    +
    + +

    ◆ isMasked()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool kuzu::common::SemiMask::isMasked (offset_t startNodeOffset)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ mask()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual void kuzu::common::SemiMask::mask (offset_t nodeOffset)
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ maskRange()

    + +
    +
    + + + + + +
    + + + + + + + + + + + +
    virtual void kuzu::common::SemiMask::maskRange (offset_t startNodeOffset,
    offset_t endNodeOffset )
    +
    +pure virtual
    +
    + +
    +
    + +

    ◆ range()

    + +
    +
    + + + + + +
    + + + + + + + + + + + +
    virtual offset_vec_t kuzu::common::SemiMask::range (uint32_t start,
    uint32_t end )
    +
    +pure virtual
    +
    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/cpp/classkuzu_1_1common_1_1_semi_mask.js b/cpp/classkuzu_1_1common_1_1_semi_mask.js new file mode 100644 index 0000000..9a86f3a --- /dev/null +++ b/cpp/classkuzu_1_1common_1_1_semi_mask.js @@ -0,0 +1,14 @@ +var classkuzu_1_1common_1_1_semi_mask = +[ + [ "SemiMask", "classkuzu_1_1common_1_1_semi_mask.html#ad7d0be6872f55063f083868031cc1458", null ], + [ "~SemiMask", "classkuzu_1_1common_1_1_semi_mask.html#ab257dc0d26775e1fc0aa56619426cf83", null ], + [ "collectMaskedNodes", "classkuzu_1_1common_1_1_semi_mask.html#a12130da34b2aee7d9cb06e1a78191485", null ], + [ "enable", "classkuzu_1_1common_1_1_semi_mask.html#a04844789b7b516f2f13f7bd23e1d3f5e", null ], + [ "getMaxOffset", "classkuzu_1_1common_1_1_semi_mask.html#ab4b63a7c025acca85e8a075d0fc36b0a", null ], + [ "getNumMaskedNodes", "classkuzu_1_1common_1_1_semi_mask.html#abb08df60de1c7b24917d93081b516bb1", null ], + [ "isEnabled", "classkuzu_1_1common_1_1_semi_mask.html#a70c6810569faa77c11f8e7e781b3a19a", null ], + [ "isMasked", "classkuzu_1_1common_1_1_semi_mask.html#a66508ba3f2948a7a61a9199c77478f71", null ], + [ "mask", "classkuzu_1_1common_1_1_semi_mask.html#a41d7a5a9330161cf18040ac88b2ada81", null ], + [ "maskRange", "classkuzu_1_1common_1_1_semi_mask.html#ad46b5999c51f42607277b7a9ccf725f1", null ], + [ "range", "classkuzu_1_1common_1_1_semi_mask.html#a6e427fed5057b2a6645d7be52e5a64e2", null ] +]; \ No newline at end of file diff --git a/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer-members.html b/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer-members.html index ee2e953..0e90088 100644 --- a/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer-members.html +++ b/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer.html b/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer.html index a0cda06..77dcc53 100644 --- a/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer.html +++ b/cpp/classkuzu_1_1common_1_1_string_auxiliary_buffer.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::StringAuxiliaryBuffer Class Reference +Kuzu C++ API: kuzu::common::StringAuxiliaryBuffer Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_string_vector-members.html b/cpp/classkuzu_1_1common_1_1_string_vector-members.html index e7ee378..bff7e7f 100644 --- a/cpp/classkuzu_1_1common_1_1_string_vector-members.html +++ b/cpp/classkuzu_1_1common_1_1_string_vector-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_string_vector.html b/cpp/classkuzu_1_1common_1_1_string_vector.html index 2f047ef..29e4dfd 100644 --- a/cpp/classkuzu_1_1common_1_1_string_vector.html +++ b/cpp/classkuzu_1_1common_1_1_string_vector.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::StringVector Class Reference +Kuzu C++ API: kuzu::common::StringVector Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer-members.html b/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer-members.html index d4718e4..2f95bce 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer-members.html +++ b/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer.html b/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer.html index 2a48ea7..bbaee05 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer.html +++ b/cpp/classkuzu_1_1common_1_1_struct_auxiliary_buffer.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::StructAuxiliaryBuffer Class Reference +Kuzu C++ API: kuzu::common::StructAuxiliaryBuffer Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_field-members.html b/cpp/classkuzu_1_1common_1_1_struct_field-members.html index 4dca53e..76f2909 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_field-members.html +++ b/cpp/classkuzu_1_1common_1_1_struct_field-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_field.html b/cpp/classkuzu_1_1common_1_1_struct_field.html index aeee373..8cdadfd 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_field.html +++ b/cpp/classkuzu_1_1common_1_1_struct_field.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::StructField Class Reference +Kuzu C++ API: kuzu::common::StructField Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_type_info-members.html b/cpp/classkuzu_1_1common_1_1_struct_type_info-members.html index 5926faf..a394179 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_type_info-members.html +++ b/cpp/classkuzu_1_1common_1_1_struct_type_info-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_type_info.html b/cpp/classkuzu_1_1common_1_1_struct_type_info.html index 9a74d0a..53cc523 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_type_info.html +++ b/cpp/classkuzu_1_1common_1_1_struct_type_info.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::StructTypeInfo Class Reference +Kuzu C++ API: kuzu::common::StructTypeInfo Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_vector-members.html b/cpp/classkuzu_1_1common_1_1_struct_vector-members.html index 832acf7..d517999 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_vector-members.html +++ b/cpp/classkuzu_1_1common_1_1_struct_vector-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_struct_vector.html b/cpp/classkuzu_1_1common_1_1_struct_vector.html index bb39249..fffb4ed 100644 --- a/cpp/classkuzu_1_1common_1_1_struct_vector.html +++ b/cpp/classkuzu_1_1common_1_1_struct_vector.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::StructVector Class Reference +Kuzu C++ API: kuzu::common::StructVector Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_time-members.html b/cpp/classkuzu_1_1common_1_1_time-members.html index 001dcbf..c1ad34d 100644 --- a/cpp/classkuzu_1_1common_1_1_time-members.html +++ b/cpp/classkuzu_1_1common_1_1_time-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_time.html b/cpp/classkuzu_1_1common_1_1_time.html index 0d71bc4..7dc899b 100644 --- a/cpp/classkuzu_1_1common_1_1_time.html +++ b/cpp/classkuzu_1_1common_1_1_time.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Time Class Reference +Kuzu C++ API: kuzu::common::Time Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_timer-members.html b/cpp/classkuzu_1_1common_1_1_timer-members.html index 25308da..02489f0 100644 --- a/cpp/classkuzu_1_1common_1_1_timer-members.html +++ b/cpp/classkuzu_1_1common_1_1_timer-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_timer.html b/cpp/classkuzu_1_1common_1_1_timer.html index 37ec14d..736f842 100644 --- a/cpp/classkuzu_1_1common_1_1_timer.html +++ b/cpp/classkuzu_1_1common_1_1_timer.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Timer Class Reference +Kuzu C++ API: kuzu::common::Timer Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_timestamp-members.html b/cpp/classkuzu_1_1common_1_1_timestamp-members.html index 4aac93a..29e1205 100644 --- a/cpp/classkuzu_1_1common_1_1_timestamp-members.html +++ b/cpp/classkuzu_1_1common_1_1_timestamp-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_timestamp.html b/cpp/classkuzu_1_1common_1_1_timestamp.html index 789f8cc..ddfb536 100644 --- a/cpp/classkuzu_1_1common_1_1_timestamp.html +++ b/cpp/classkuzu_1_1common_1_1_timestamp.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Timestamp Class Reference +Kuzu C++ API: kuzu::common::Timestamp Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_type_utils-members.html b/cpp/classkuzu_1_1common_1_1_type_utils-members.html index 7b10a3b..b39c25b 100644 --- a/cpp/classkuzu_1_1common_1_1_type_utils-members.html +++ b/cpp/classkuzu_1_1common_1_1_type_utils-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_type_utils.html b/cpp/classkuzu_1_1common_1_1_type_utils.html index bd987dd..f6c6bdb 100644 --- a/cpp/classkuzu_1_1common_1_1_type_utils.html +++ b/cpp/classkuzu_1_1common_1_1_type_utils.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::TypeUtils Class Reference +Kuzu C++ API: kuzu::common::TypeUtils Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_u_d_t_type_info-members.html b/cpp/classkuzu_1_1common_1_1_u_d_t_type_info-members.html index f8928ff..ea56558 100644 --- a/cpp/classkuzu_1_1common_1_1_u_d_t_type_info-members.html +++ b/cpp/classkuzu_1_1common_1_1_u_d_t_type_info-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_u_d_t_type_info.html b/cpp/classkuzu_1_1common_1_1_u_d_t_type_info.html index a8dc96d..33a04b3 100644 --- a/cpp/classkuzu_1_1common_1_1_u_d_t_type_info.html +++ b/cpp/classkuzu_1_1common_1_1_u_d_t_type_info.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::UDTTypeInfo Class Reference +Kuzu C++ API: kuzu::common::UDTTypeInfo Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_union_vector-members.html b/cpp/classkuzu_1_1common_1_1_union_vector-members.html index 5ebd3fd..957630f 100644 --- a/cpp/classkuzu_1_1common_1_1_union_vector-members.html +++ b/cpp/classkuzu_1_1common_1_1_union_vector-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -105,7 +105,7 @@ getTagVector(const ValueVector *vector)kuzu::common::UnionVectorinlinestatic getValVector(const ValueVector *vector, union_field_idx_t fieldIdx)kuzu::common::UnionVectorinlinestatic referenceVector(ValueVector *vector, union_field_idx_t fieldIdx, std::shared_ptr< ValueVector > vectorToReference)kuzu::common::UnionVectorinlinestatic - setTagField(ValueVector *vector, union_field_idx_t tag)kuzu::common::UnionVectorinlinestatic + setTagField(ValueVector &vector, SelectionVector &sel, union_field_idx_t tag)kuzu::common::UnionVectorinlinestatic
    diff --git a/cpp/classkuzu_1_1common_1_1_union_vector.html b/cpp/classkuzu_1_1common_1_1_union_vector.html index 0929b3b..2bd1aeb 100644 --- a/cpp/classkuzu_1_1common_1_1_union_vector.html +++ b/cpp/classkuzu_1_1common_1_1_union_vector.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::UnionVector Class Reference +Kuzu C++ API: kuzu::common::UnionVector Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -113,8 +113,8 @@   static void referenceVector (ValueVector *vector, union_field_idx_t fieldIdx, std::shared_ptr< ValueVector > vectorToReference)   -static void setTagField (ValueVector *vector, union_field_idx_t tag) -  +static void setTagField (ValueVector &vector, SelectionVector &sel, union_field_idx_t tag) + 

    Member Function Documentation

    @@ -205,8 +205,8 @@

    -

    ◆ setTagField()

    + +

    ◆ setTagField()

    @@ -217,7 +217,12 @@

    static void kuzu::common::UnionVector::setTagField ( - ValueVector * vector, + ValueVector & vector, + + + + + SelectionVector & sel, diff --git a/cpp/classkuzu_1_1common_1_1_value-members.html b/cpp/classkuzu_1_1common_1_1_value-members.html index a8f12b5..f6dece3 100644 --- a/cpp/classkuzu_1_1common_1_1_value-members.html +++ b/cpp/classkuzu_1_1common_1_1_value-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_value.html b/cpp/classkuzu_1_1common_1_1_value.html index 455faf4..9160c12 100644 --- a/cpp/classkuzu_1_1common_1_1_value.html +++ b/cpp/classkuzu_1_1common_1_1_value.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::Value Class Reference +Kuzu C++ API: kuzu::common::Value Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1common_1_1_value_vector-members.html b/cpp/classkuzu_1_1common_1_1_value_vector-members.html index fa445e1..33caf36 100644 --- a/cpp/classkuzu_1_1common_1_1_value_vector-members.html +++ b/cpp/classkuzu_1_1common_1_1_value_vector-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -113,11 +113,13 @@ DELETE_COPY_AND_MOVE(ValueVector)kuzu::common::ValueVector deSerialize(Deserializer &deSer, storage::MemoryManager *mm, std::shared_ptr< DataChunkState > dataChunkState)kuzu::common::ValueVectorstatic discardNull(ValueVector &vector)kuzu::common::ValueVectorstatic - forEachNonNull(Func &&func) constkuzu::common::ValueVectorinline - getAsValue(uint64_t pos) constkuzu::common::ValueVector - getData() constkuzu::common::ValueVectorinline - getNullMask() constkuzu::common::ValueVectorinline - getNumBytesPerValue() constkuzu::common::ValueVectorinline + firstNonNull() constkuzu::common::ValueVectorinline + forEachNonNull(Func &&func) constkuzu::common::ValueVectorinline + getAsValue(uint64_t pos) constkuzu::common::ValueVector + getData() constkuzu::common::ValueVectorinline + getNullMask() constkuzu::common::ValueVectorinline + getNumBytesPerValue() constkuzu::common::ValueVectorinline + getSelVectorPtr() constkuzu::common::ValueVectorinline getValue(uint32_t pos) constkuzu::common::ValueVectorinline getValue(uint32_t pos)kuzu::common::ValueVectorinline hasNoNullsGuarantee() constkuzu::common::ValueVectorinline diff --git a/cpp/classkuzu_1_1common_1_1_value_vector.html b/cpp/classkuzu_1_1common_1_1_value_vector.html index 8e79d76..4d75b2c 100644 --- a/cpp/classkuzu_1_1common_1_1_value_vector.html +++ b/cpp/classkuzu_1_1common_1_1_value_vector.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ValueVector Class Reference +Kuzu C++ API: kuzu::common::ValueVector Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -118,6 +118,9 @@    ~ValueVector ()=default   +template<typename T> +std::optional< T > firstNonNull () const +  template<class Func> void forEachNonNull (Func &&func) const   @@ -174,6 +177,8 @@   void serialize (Serializer &ser) const   +SelectionVectorgetSelVectorPtr () const +  @@ -505,6 +510,33 @@

    + + + +

    ◆ firstNonNull()

    + +
    +
    +
    +template<typename T>
    +

    Static Public Member Functions

    + + + + +
    + + + + + + + +
    std::optional< T > kuzu::common::ValueVector::firstNonNull () const
    +
    +inline
    +
    +
    @@ -624,6 +656,31 @@

    +

    +
    + +

    ◆ getSelVectorPtr()

    + +
    +
    + + + + + +
    + + + + + + + +
    SelectionVector * kuzu::common::ValueVector::getSelVectorPtr () const
    +
    +inline
    +
    +
    diff --git a/cpp/classkuzu_1_1common_1_1_value_vector.js b/cpp/classkuzu_1_1common_1_1_value_vector.js index 15df966..4bec900 100644 --- a/cpp/classkuzu_1_1common_1_1_value_vector.js +++ b/cpp/classkuzu_1_1common_1_1_value_vector.js @@ -10,11 +10,13 @@ var classkuzu_1_1common_1_1_value_vector = [ "copyToRowData", "classkuzu_1_1common_1_1_value_vector.html#a24027db98e18daf1a40a5bd4515181e7", null ], [ "countNonNull", "classkuzu_1_1common_1_1_value_vector.html#aa8d8c7218b2f3e7161b790c860605629", null ], [ "DELETE_COPY_AND_MOVE", "classkuzu_1_1common_1_1_value_vector.html#aad52a0eeda5fef676827157b8efe44d2", null ], + [ "firstNonNull", "classkuzu_1_1common_1_1_value_vector.html#af1afa4c53726d5f40506e3e2fd74bb9b", null ], [ "forEachNonNull", "classkuzu_1_1common_1_1_value_vector.html#a31900850c8007b2ec9db4e0876e17b9d", null ], [ "getAsValue", "classkuzu_1_1common_1_1_value_vector.html#a4a976aaf185dfd0afc82cc211b8edeb2", null ], [ "getData", "classkuzu_1_1common_1_1_value_vector.html#a1c1651c945f1a523ca72b7054a3c05a6", null ], [ "getNullMask", "classkuzu_1_1common_1_1_value_vector.html#ab1757a06b6fd7afa8dde312687c4e429", null ], [ "getNumBytesPerValue", "classkuzu_1_1common_1_1_value_vector.html#abebdb5b7072436a33fd5fd1ac6acaaa2", null ], + [ "getSelVectorPtr", "classkuzu_1_1common_1_1_value_vector.html#aeb850fc16d088bdc3fbf354e948a3bd3", null ], [ "getValue", "classkuzu_1_1common_1_1_value_vector.html#ab938da46016592637223115fe4225ec0", null ], [ "getValue", "classkuzu_1_1common_1_1_value_vector.html#a8e6b422ea350d54333604390215c8cb6", null ], [ "hasNoNullsGuarantee", "classkuzu_1_1common_1_1_value_vector.html#ab7739fee18ef97d03799caf39b30c5b2", null ], diff --git a/cpp/classkuzu_1_1main_1_1_client_context-members.html b/cpp/classkuzu_1_1main_1_1_client_context-members.html index 2a70481..70dd1e8 100644 --- a/cpp/classkuzu_1_1main_1_1_client_context-members.html +++ b/cpp/classkuzu_1_1main_1_1_client_context-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -110,19 +110,21 @@ ClientContext(Database *database)kuzu::main::ClientContextexplicit Connection classkuzu::main::ClientContextfriend executeWithParams(PreparedStatement *preparedStatement, std::unordered_map< std::string, std::unique_ptr< common::Value > > inputParams, std::optional< uint64_t > queryID=std::nullopt)kuzu::main::ClientContext - getCatalog() constkuzu::main::ClientContext - getClientConfig() constkuzu::main::ClientContextinline - getClientConfigUnsafe()kuzu::main::ClientContextinline - getCurrentSetting(const std::string &optionName) constkuzu::main::ClientContext - getDatabase() constkuzu::main::ClientContextinline - getDatabaseManager() constkuzu::main::ClientContext - getDatabasePath() constkuzu::main::ClientContext - getDBConfig() constkuzu::main::ClientContextinline - getDBConfigUnsafe()kuzu::main::ClientContextinline - getEnvVariable(const std::string &name)kuzu::main::ClientContextstatic - getExtensionDir() constkuzu::main::ClientContext - getExtensionManager() constkuzu::main::ClientContext - getExtensionOption(std::string optionName) constkuzu::main::ClientContext + extension::ExtensionManager classkuzu::main::ClientContextfriend + getCatalog() constkuzu::main::ClientContext + getClientConfig() constkuzu::main::ClientContextinline + getClientConfigUnsafe()kuzu::main::ClientContextinline + getCurrentSetting(const std::string &optionName) constkuzu::main::ClientContext + getDatabase() constkuzu::main::ClientContextinline + getDatabaseManager() constkuzu::main::ClientContext + getDatabasePath() constkuzu::main::ClientContext + getDBConfig() constkuzu::main::ClientContextinline + getDBConfigUnsafe()kuzu::main::ClientContextinline + getEnvVariable(const std::string &name)kuzu::main::ClientContextstatic + getExtensionDir() constkuzu::main::ClientContext + getExtensionManager() constkuzu::main::ClientContext + getExtensionOption(std::string optionName) constkuzu::main::ClientContext + getGraphEntrySet() constkuzu::main::ClientContext getGraphEntrySetUnsafe()kuzu::main::ClientContext getMaxNumThreadForExec() constkuzu::main::ClientContext getMemoryManager() constkuzu::main::ClientContext diff --git a/cpp/classkuzu_1_1main_1_1_client_context.html b/cpp/classkuzu_1_1main_1_1_client_context.html index 1301bc6..0387aa0 100644 --- a/cpp/classkuzu_1_1main_1_1_client_context.html +++ b/cpp/classkuzu_1_1main_1_1_client_context.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::main::ClientContext Class Reference +Kuzu C++ API: kuzu::main::ClientContext Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -204,6 +204,8 @@   graph::GraphEntrySet & getGraphEntrySetUnsafe ()   +const graph::GraphEntrySet & getGraphEntrySet () const +  void cleanUp ()   std::unique_ptr< PreparedStatementprepare (std::string_view query) @@ -236,6 +238,8 @@   class main::EmbeddedShell   +class extension::ExtensionManager

    Detailed Description

    Contain client side configuration. We make profiler associated per query, so profiler is not maintained in client context.

    @@ -631,6 +635,23 @@

    +

    +
    + +

    ◆ getGraphEntrySet()

    + +
    +
    + + + + + + + +
    const graph::GraphEntrySet & kuzu::main::ClientContext::getGraphEntrySet () const
    +
    +
    @@ -1298,6 +1319,28 @@

    +

    +

    + +

    ◆ extension::ExtensionManager

    + +
    +
    + + + + + +
    + + + + +
    friend class extension::ExtensionManager
    +
    +friend
    +
    +
    diff --git a/cpp/classkuzu_1_1main_1_1_client_context.js b/cpp/classkuzu_1_1main_1_1_client_context.js index d67a770..69e6385 100644 --- a/cpp/classkuzu_1_1main_1_1_client_context.js +++ b/cpp/classkuzu_1_1main_1_1_client_context.js @@ -18,6 +18,7 @@ var classkuzu_1_1main_1_1_client_context = [ "getExtensionDir", "classkuzu_1_1main_1_1_client_context.html#ad88e140cf4061e18d3bef9037da0f664", null ], [ "getExtensionManager", "classkuzu_1_1main_1_1_client_context.html#a06c0b1143454b49a58bd29bff129ac6d", null ], [ "getExtensionOption", "classkuzu_1_1main_1_1_client_context.html#aef0aba95925647d502037555769731f9", null ], + [ "getGraphEntrySet", "classkuzu_1_1main_1_1_client_context.html#aaf34d26d76b24e80ff716d3eeed53910", null ], [ "getGraphEntrySetUnsafe", "classkuzu_1_1main_1_1_client_context.html#ae510a7536865691bef503541f7a5b6ba", null ], [ "getMaxNumThreadForExec", "classkuzu_1_1main_1_1_client_context.html#a5daf4ec812b9b2aa4199050cbcef42df", null ], [ "getMemoryManager", "classkuzu_1_1main_1_1_client_context.html#abb5bd2a950bb0be312e8c2d49079ee64", null ], @@ -53,6 +54,7 @@ var classkuzu_1_1main_1_1_client_context = [ "binder::Binder", "classkuzu_1_1main_1_1_client_context.html#a2c5cdff3441ff680f68be6537db18d99", null ], [ "binder::ExpressionBinder", "classkuzu_1_1main_1_1_client_context.html#ae6396edfa618c3eb40a1dd3be0b28a12", null ], [ "Connection", "classkuzu_1_1main_1_1_client_context.html#a54a11fdc71e1679a42fa0c0e3856673d", null ], + [ "extension::ExtensionManager", "classkuzu_1_1main_1_1_client_context.html#a9dfd88aa9f22dfc9e0b127b5d425ca2b", null ], [ "main::EmbeddedShell", "classkuzu_1_1main_1_1_client_context.html#a6af235a6846f7135fdb01989a15e2ea1", null ], [ "parser::StandaloneCallRewriter", "classkuzu_1_1main_1_1_client_context.html#a703884d4b7d59ebb3da983e0f0d3ee9a", null ], [ "processor::ImportDB", "classkuzu_1_1main_1_1_client_context.html#a42d3b415fbf6a21a2ce721658feb4a8c", null ], diff --git a/cpp/classkuzu_1_1main_1_1_connection-members.html b/cpp/classkuzu_1_1main_1_1_connection-members.html index b64a0d8..83e4118 100644 --- a/cpp/classkuzu_1_1main_1_1_connection-members.html +++ b/cpp/classkuzu_1_1main_1_1_connection-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1main_1_1_connection.html b/cpp/classkuzu_1_1main_1_1_connection.html index 566e5af..150a1f7 100644 --- a/cpp/classkuzu_1_1main_1_1_connection.html +++ b/cpp/classkuzu_1_1main_1_1_connection.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::main::Connection Class Reference +Kuzu C++ API: kuzu::main::Connection Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -104,7 +104,7 @@
    -

    Connection is used to interact with a Database instance. Each Connection is thread-safe. Multiple connections can connect to the same Database instance in a multi-threaded environment. +

    Connection is used to interact with a Database instance. Each Connection is thread-safe. Multiple connections can connect to the same Database instance in a multi-threaded environment. More...

    #include <connection.h>

    @@ -153,9 +153,9 @@ void removeUDFFunction (std::string name)   template<typename TR, typename... Args> -void createVectorizedFunction (std::string name, function::scalar_func_exec_t scalarFunc) +void createVectorizedFunction (std::string name, function::scalar_func_exec_t scalarFunc)   -void createVectorizedFunction (std::string name, std::vector< common::LogicalTypeID > parameterTypes, common::LogicalTypeID returnType, function::scalar_func_exec_t scalarFunc) +void createVectorizedFunction (std::string name, std::vector< common::LogicalTypeID > parameterTypes, common::LogicalTypeID returnType, function::scalar_func_exec_t scalarFunc)   ClientContextgetClientContext ()   @@ -178,7 +178,7 @@  

    Detailed Description

    -

    Connection is used to interact with a Database instance. Each Connection is thread-safe. Multiple connections can connect to the same Database instance in a multi-threaded environment.

    +

    Connection is used to interact with a Database instance. Each Connection is thread-safe. Multiple connections can connect to the same Database instance in a multi-threaded environment.

    Constructor & Destructor Documentation

    ◆ Connection()

    @@ -353,7 +353,7 @@

    - function::scalar_func_exec_t scalarFunc ) + function::scalar_func_exec_t scalarFunc ) @@ -392,7 +392,7 @@

    - function::scalar_func_exec_t scalarFunc ) + function::scalar_func_exec_t scalarFunc ) diff --git a/cpp/classkuzu_1_1main_1_1_database-members.html b/cpp/classkuzu_1_1main_1_1_database-members.html index 614e213..de408d4 100644 --- a/cpp/classkuzu_1_1main_1_1_database-members.html +++ b/cpp/classkuzu_1_1main_1_1_database-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1main_1_1_database.html b/cpp/classkuzu_1_1main_1_1_database.html index 606f4ae..70542cf 100644 --- a/cpp/classkuzu_1_1main_1_1_database.html +++ b/cpp/classkuzu_1_1main_1_1_database.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::main::Database Class Reference +Kuzu C++ API: kuzu::main::Database Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -104,7 +104,7 @@
    -

    Database class is the main class of KùzuDB. It manages all database components. +

    Database class is the main class of Kuzu. It manages all database components. More...

    #include <database.h>

    @@ -152,7 +152,7 @@  

    Detailed Description

    - diff --git a/cpp/classkuzu_1_1main_1_1_prepared_statement.html b/cpp/classkuzu_1_1main_1_1_prepared_statement.html index 6b54de4..8c8fa77 100644 --- a/cpp/classkuzu_1_1main_1_1_prepared_statement.html +++ b/cpp/classkuzu_1_1main_1_1_prepared_statement.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::main::PreparedStatement Class Reference +Kuzu C++ API: kuzu::main::PreparedStatement Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -136,10 +136,6 @@   class testing::TestRunner   -class testing::TinySnbDDLTest -  -class testing::TinySnbCopyCSVTransactionTest

    Detailed Description

    A prepared statement is a parameterized query which can avoid planning the same query for repeated execution.

    @@ -362,50 +358,6 @@

    -

    -
    - -

    ◆ testing::TinySnbCopyCSVTransactionTest

    - -
    -
    - - - - - -
    - - - - -
    friend class testing::TinySnbCopyCSVTransactionTest
    -
    -friend
    -
    - -
    -
    - -

    ◆ testing::TinySnbDDLTest

    - -
    -
    - - - - - -
    - - - - -
    friend class testing::TinySnbDDLTest
    -
    -friend
    -
    -

    The documentation for this class was generated from the following file:
      diff --git a/cpp/classkuzu_1_1main_1_1_prepared_statement.js b/cpp/classkuzu_1_1main_1_1_prepared_statement.js index 608b201..ad11cf2 100644 --- a/cpp/classkuzu_1_1main_1_1_prepared_statement.js +++ b/cpp/classkuzu_1_1main_1_1_prepared_statement.js @@ -10,7 +10,5 @@ var classkuzu_1_1main_1_1_prepared_statement = [ "ClientContext", "classkuzu_1_1main_1_1_prepared_statement.html#adf703640bc2bb6db62ee885a1c9ca4e9", null ], [ "Connection", "classkuzu_1_1main_1_1_prepared_statement.html#a54a11fdc71e1679a42fa0c0e3856673d", null ], [ "testing::TestHelper", "classkuzu_1_1main_1_1_prepared_statement.html#a7e9f8a6faa17af6e7e01406ef39fbd3a", null ], - [ "testing::TestRunner", "classkuzu_1_1main_1_1_prepared_statement.html#a3cf21cec353b9e1788095c6555e2f45d", null ], - [ "testing::TinySnbCopyCSVTransactionTest", "classkuzu_1_1main_1_1_prepared_statement.html#aa42bde737ed2cfa1c9da062bb72d2b03", null ], - [ "testing::TinySnbDDLTest", "classkuzu_1_1main_1_1_prepared_statement.html#aab45a28a4f41b6ffdce3bca0cafedc6f", null ] + [ "testing::TestRunner", "classkuzu_1_1main_1_1_prepared_statement.html#a3cf21cec353b9e1788095c6555e2f45d", null ] ]; \ No newline at end of file diff --git a/cpp/classkuzu_1_1main_1_1_query_result-members.html b/cpp/classkuzu_1_1main_1_1_query_result-members.html index 9295bd1..3bd20fa 100644 --- a/cpp/classkuzu_1_1main_1_1_query_result-members.html +++ b/cpp/classkuzu_1_1main_1_1_query_result-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    diff --git a/cpp/classkuzu_1_1main_1_1_query_result.html b/cpp/classkuzu_1_1main_1_1_query_result.html index ccd6f9f..50789ba 100644 --- a/cpp/classkuzu_1_1main_1_1_query_result.html +++ b/cpp/classkuzu_1_1main_1_1_query_result.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::main::QueryResult Class Reference +Kuzu C++ API: kuzu::main::QueryResult Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -142,8 +142,8 @@   KUZU_API std::shared_ptr< processor::FlatTuplegetNext ()   -KUZU_API std::string toString () -  +KUZU_API std::string toString () const +  KUZU_API void resetIterator ()  Resets the result tuple iterator.
      @@ -526,8 +526,8 @@

    -

    ◆ toString()

    + +

    ◆ toString()

    @@ -536,7 +536,7 @@

    KUZU_API std::string kuzu::main::QueryResult::toString ( ) - + const

    diff --git a/cpp/classkuzu_1_1main_1_1_query_result.js b/cpp/classkuzu_1_1main_1_1_query_result.js index 83e512f..0814449 100644 --- a/cpp/classkuzu_1_1main_1_1_query_result.js +++ b/cpp/classkuzu_1_1main_1_1_query_result.js @@ -18,7 +18,7 @@ var classkuzu_1_1main_1_1_query_result = [ "hasNextQueryResult", "classkuzu_1_1main_1_1_query_result.html#a95c83de6b8807ae199284e558e1d7c4d", null ], [ "isSuccess", "classkuzu_1_1main_1_1_query_result.html#a358791451a2a4c88a5fbc05d57319cfa", null ], [ "resetIterator", "classkuzu_1_1main_1_1_query_result.html#adca96bf0eb9ba28997a5a77dda3bc984", null ], - [ "toString", "classkuzu_1_1main_1_1_query_result.html#a56e7bc908e43d9176ba4d942944d424d", null ], + [ "toString", "classkuzu_1_1main_1_1_query_result.html#a306ededce70c0d170c173854c9d5d853", null ], [ "ClientContext", "classkuzu_1_1main_1_1_query_result.html#adf703640bc2bb6db62ee885a1c9ca4e9", null ], [ "Connection", "classkuzu_1_1main_1_1_query_result.html#a54a11fdc71e1679a42fa0c0e3856673d", null ], [ "nextQueryResult", "classkuzu_1_1main_1_1_query_result.html#a27c73d1e33c3adf23bc6d5b60ff92cb8", null ] diff --git a/cpp/classkuzu_1_1main_1_1_query_summary-members.html b/cpp/classkuzu_1_1main_1_1_query_summary-members.html index b6d0212..732db8c 100644 --- a/cpp/classkuzu_1_1main_1_1_query_summary-members.html +++ b/cpp/classkuzu_1_1main_1_1_query_summary-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1main_1_1_query_summary.html b/cpp/classkuzu_1_1main_1_1_query_summary.html index 967eacb..af6f162 100644 --- a/cpp/classkuzu_1_1main_1_1_query_summary.html +++ b/cpp/classkuzu_1_1main_1_1_query_summary.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::main::QuerySummary Class Reference +Kuzu C++ API: kuzu::main::QuerySummary Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1main_1_1_storage_driver-members.html b/cpp/classkuzu_1_1main_1_1_storage_driver-members.html index 85b587c..b935a42 100644 --- a/cpp/classkuzu_1_1main_1_1_storage_driver-members.html +++ b/cpp/classkuzu_1_1main_1_1_storage_driver-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -102,8 +102,8 @@

    This is the complete list of members for kuzu::main::StorageDriver, including all inherited members.

    - - + + diff --git a/cpp/classkuzu_1_1main_1_1_storage_driver.html b/cpp/classkuzu_1_1main_1_1_storage_driver.html index e1bc000..646d6eb 100644 --- a/cpp/classkuzu_1_1main_1_1_storage_driver.html +++ b/cpp/classkuzu_1_1main_1_1_storage_driver.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::main::StorageDriver Class Reference +Kuzu C++ API: kuzu::main::StorageDriver Class Reference @@ -27,7 +27,7 @@ @@ -113,10 +113,10 @@ - - - - + + + +
    getNumNodes(const std::string &nodeName)kuzu::main::StorageDriver
    getNumRels(const std::string &relName)kuzu::main::StorageDriver
    getNumNodes(const std::string &nodeName) constkuzu::main::StorageDriver
    getNumRels(const std::string &relName) constkuzu::main::StorageDriver
    scan(const std::string &nodeName, const std::string &propertyName, common::offset_t *offsets, size_t numOffsets, uint8_t *result, size_t numThreads)kuzu::main::StorageDriver
    StorageDriver(Database *database)kuzu::main::StorageDriverexplicit
    ~StorageDriver()kuzu::main::StorageDriver
    -
    Kùzu C++ API +
    Kuzu C++ API
     
    void scan (const std::string &nodeName, const std::string &propertyName, common::offset_t *offsets, size_t numOffsets, uint8_t *result, size_t numThreads)
     
    uint64_t getNumNodes (const std::string &nodeName)
     
    uint64_t getNumRels (const std::string &relName)
     
    uint64_t getNumNodes (const std::string &nodeName) const
     
    uint64_t getNumRels (const std::string &relName) const
     

    Constructor & Destructor Documentation

    @@ -162,8 +162,8 @@

    Member Function Documentation

    - -

    ◆ getNumNodes()

    + +

    ◆ getNumNodes()

    - -

    ◆ getNumRels()

    + +

    ◆ getNumRels()

    diff --git a/cpp/classkuzu_1_1main_1_1_storage_driver.js b/cpp/classkuzu_1_1main_1_1_storage_driver.js index a7fc457..2f10ca6 100644 --- a/cpp/classkuzu_1_1main_1_1_storage_driver.js +++ b/cpp/classkuzu_1_1main_1_1_storage_driver.js @@ -2,7 +2,7 @@ var classkuzu_1_1main_1_1_storage_driver = [ [ "StorageDriver", "classkuzu_1_1main_1_1_storage_driver.html#a8d764d4787298003b9e4b37f1b7a40d6", null ], [ "~StorageDriver", "classkuzu_1_1main_1_1_storage_driver.html#a056fcc0e3fbc2acdce53dc5d9ece83bd", null ], - [ "getNumNodes", "classkuzu_1_1main_1_1_storage_driver.html#abaefafeec09aad706688824954d12e37", null ], - [ "getNumRels", "classkuzu_1_1main_1_1_storage_driver.html#a1ed7be309a459bc0b897c74038ab96c7", null ], + [ "getNumNodes", "classkuzu_1_1main_1_1_storage_driver.html#a8ca3106b5d89a1bdff0b09966454ca99", null ], + [ "getNumRels", "classkuzu_1_1main_1_1_storage_driver.html#ae474b4745f72f66e69034686404acc70", null ], [ "scan", "classkuzu_1_1main_1_1_storage_driver.html#a01955d7b769cadb407276b280ebe0618", null ] ]; \ No newline at end of file diff --git a/cpp/classkuzu_1_1parser_1_1_statement-members.html b/cpp/classkuzu_1_1parser_1_1_statement-members.html index 719f26c..ff60e5b 100644 --- a/cpp/classkuzu_1_1parser_1_1_statement-members.html +++ b/cpp/classkuzu_1_1parser_1_1_statement-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1parser_1_1_statement.html b/cpp/classkuzu_1_1parser_1_1_statement.html index fe3779e..3b7054a 100644 --- a/cpp/classkuzu_1_1parser_1_1_statement.html +++ b/cpp/classkuzu_1_1parser_1_1_statement.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::parser::Statement Class Reference +Kuzu C++ API: kuzu::parser::Statement Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_flat_tuple-members.html b/cpp/classkuzu_1_1processor_1_1_flat_tuple-members.html index ff94c87..aeb22f0 100644 --- a/cpp/classkuzu_1_1processor_1_1_flat_tuple-members.html +++ b/cpp/classkuzu_1_1processor_1_1_flat_tuple-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_flat_tuple.html b/cpp/classkuzu_1_1processor_1_1_flat_tuple.html index 0729b34..4dd7d8a 100644 --- a/cpp/classkuzu_1_1processor_1_1_flat_tuple.html +++ b/cpp/classkuzu_1_1processor_1_1_flat_tuple.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::processor::FlatTuple Class Reference +Kuzu C++ API: kuzu::processor::FlatTuple Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_physical_operator-members.html b/cpp/classkuzu_1_1processor_1_1_physical_operator-members.html index a99f901..b319017 100644 --- a/cpp/classkuzu_1_1processor_1_1_physical_operator-members.html +++ b/cpp/classkuzu_1_1processor_1_1_physical_operator-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_physical_operator.html b/cpp/classkuzu_1_1processor_1_1_physical_operator.html index b6109ba..1deb05b 100644 --- a/cpp/classkuzu_1_1processor_1_1_physical_operator.html +++ b/cpp/classkuzu_1_1processor_1_1_physical_operator.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::processor::PhysicalOperator Class Reference +Kuzu C++ API: kuzu::processor::PhysicalOperator Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_physical_operator_utils-members.html b/cpp/classkuzu_1_1processor_1_1_physical_operator_utils-members.html index f630c56..06a123a 100644 --- a/cpp/classkuzu_1_1processor_1_1_physical_operator_utils-members.html +++ b/cpp/classkuzu_1_1processor_1_1_physical_operator_utils-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_physical_operator_utils.html b/cpp/classkuzu_1_1processor_1_1_physical_operator_utils.html index be582d2..185d5d9 100644 --- a/cpp/classkuzu_1_1processor_1_1_physical_operator_utils.html +++ b/cpp/classkuzu_1_1processor_1_1_physical_operator_utils.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::processor::PhysicalOperatorUtils Class Reference +Kuzu C++ API: kuzu::processor::PhysicalOperatorUtils Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_result_set-members.html b/cpp/classkuzu_1_1processor_1_1_result_set-members.html index bdce342..6218812 100644 --- a/cpp/classkuzu_1_1processor_1_1_result_set-members.html +++ b/cpp/classkuzu_1_1processor_1_1_result_set-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_result_set.html b/cpp/classkuzu_1_1processor_1_1_result_set.html index a8400a6..5202349 100644 --- a/cpp/classkuzu_1_1processor_1_1_result_set.html +++ b/cpp/classkuzu_1_1processor_1_1_result_set.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::processor::ResultSet Class Reference +Kuzu C++ API: kuzu::processor::ResultSet Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_warning_context-members.html b/cpp/classkuzu_1_1processor_1_1_warning_context-members.html index bf5dd44..cd32133 100644 --- a/cpp/classkuzu_1_1processor_1_1_warning_context-members.html +++ b/cpp/classkuzu_1_1processor_1_1_warning_context-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1processor_1_1_warning_context.html b/cpp/classkuzu_1_1processor_1_1_warning_context.html index f299999..1c92f67 100644 --- a/cpp/classkuzu_1_1processor_1_1_warning_context.html +++ b/cpp/classkuzu_1_1processor_1_1_warning_context.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::processor::WarningContext Class Reference +Kuzu C++ API: kuzu::processor::WarningContext Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/structkuzu_1_1function_1_1_d_b_version_function-members.html b/cpp/classkuzu_1_1transaction_1_1_local_cache_manager-members.html similarity index 67% rename from cpp/structkuzu_1_1function_1_1_d_b_version_function-members.html rename to cpp/classkuzu_1_1transaction_1_1_local_cache_manager-members.html index dee0ff6..063d8a1 100644 --- a/cpp/structkuzu_1_1function_1_1_d_b_version_function-members.html +++ b/cpp/classkuzu_1_1transaction_1_1_local_cache_manager-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -70,7 +70,7 @@
    @@ -96,14 +96,16 @@
    -
    kuzu::function::DBVersionFunction Member List
    +
    kuzu::transaction::LocalCacheManager Member List
    diff --git a/cpp/classkuzu_1_1transaction_1_1_local_cache_manager.html b/cpp/classkuzu_1_1transaction_1_1_local_cache_manager.html new file mode 100644 index 0000000..4bc41a6 --- /dev/null +++ b/cpp/classkuzu_1_1transaction_1_1_local_cache_manager.html @@ -0,0 +1,225 @@ + + + + + + + +Kuzu C++ API: kuzu::transaction::LocalCacheManager Class Reference + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Kuzu C++ API +
    +
    +
    + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    kuzu::transaction::LocalCacheManager Class Reference
    +
    +
    + +

    #include <transaction.h>

    + + + + + + + + + + +

    +Public Member Functions

    bool contains (const std::string &key)
     
    LocalCacheObjectat (const std::string &key)
     
    bool put (std::unique_ptr< LocalCacheObject > object)
     
    void remove (const std::string &key)
     
    +

    Member Function Documentation

    + +

    ◆ at()

    + +
    +
    + + + + + +
    + + + + + + + +
    LocalCacheObject & kuzu::transaction::LocalCacheManager::at (const std::string & key)
    +
    +inline
    +
    + +
    +
    + +

    ◆ contains()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool kuzu::transaction::LocalCacheManager::contains (const std::string & key)
    +
    +inline
    +
    + +
    +
    + +

    ◆ put()

    + +
    +
    + + + + + + + +
    bool kuzu::transaction::LocalCacheManager::put (std::unique_ptr< LocalCacheObject > object)
    +
    + +
    +
    + +

    ◆ remove()

    + +
    +
    + + + + + +
    + + + + + + + +
    void kuzu::transaction::LocalCacheManager::remove (const std::string & key)
    +
    +inline
    +
    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/cpp/classkuzu_1_1transaction_1_1_local_cache_manager.js b/cpp/classkuzu_1_1transaction_1_1_local_cache_manager.js new file mode 100644 index 0000000..d891db6 --- /dev/null +++ b/cpp/classkuzu_1_1transaction_1_1_local_cache_manager.js @@ -0,0 +1,7 @@ +var classkuzu_1_1transaction_1_1_local_cache_manager = +[ + [ "at", "classkuzu_1_1transaction_1_1_local_cache_manager.html#a31863b010e958458c4636f4a24b91d9a", null ], + [ "contains", "classkuzu_1_1transaction_1_1_local_cache_manager.html#a5654a45ed56ecd387d071ac1012ef669", null ], + [ "put", "classkuzu_1_1transaction_1_1_local_cache_manager.html#a33c50432911801e55fb8c416b44d220d", null ], + [ "remove", "classkuzu_1_1transaction_1_1_local_cache_manager.html#a03b001cea93fc88e20bffb30852b0dad", null ] +]; \ No newline at end of file diff --git a/cpp/structkuzu_1_1function_1_1_create_project_graph_function-members.html b/cpp/classkuzu_1_1transaction_1_1_local_cache_object-members.html similarity index 67% rename from cpp/structkuzu_1_1function_1_1_create_project_graph_function-members.html rename to cpp/classkuzu_1_1transaction_1_1_local_cache_object-members.html index 92dfbd0..e1af9ce 100644 --- a/cpp/structkuzu_1_1function_1_1_create_project_graph_function-members.html +++ b/cpp/classkuzu_1_1transaction_1_1_local_cache_object-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -70,7 +70,7 @@
    @@ -96,14 +96,16 @@
    -
    kuzu::function::CreateProjectGraphFunction Member List
    +
    kuzu::transaction::LocalCacheObject Member List
    -

    This is the complete list of members for kuzu::function::CreateProjectGraphFunction, including all inherited members.

    +

    This is the complete list of members for kuzu::transaction::LocalCacheObject, including all inherited members.

    - - + + + +
    getFunctionSet()kuzu::function::CreateProjectGraphFunctionstatic
    namekuzu::function::CreateProjectGraphFunctionstatic
    cast()kuzu::transaction::LocalCacheObjectinline
    getKey() constkuzu::transaction::LocalCacheObjectinline
    LocalCacheObject(std::string key)kuzu::transaction::LocalCacheObjectinlineexplicit
    ~LocalCacheObject()=defaultkuzu::transaction::LocalCacheObjectvirtual
    diff --git a/cpp/classkuzu_1_1transaction_1_1_local_cache_object.html b/cpp/classkuzu_1_1transaction_1_1_local_cache_object.html new file mode 100644 index 0000000..d668fe1 --- /dev/null +++ b/cpp/classkuzu_1_1transaction_1_1_local_cache_object.html @@ -0,0 +1,237 @@ + + + + + + + +Kuzu C++ API: kuzu::transaction::LocalCacheObject Class Reference + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Kuzu C++ API +
    +
    +
    + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    kuzu::transaction::LocalCacheObject Class Reference
    +
    +
    + +

    #include <transaction.h>

    + + + + + + + + + + + +

    +Public Member Functions

     LocalCacheObject (std::string key)
     
    virtual ~LocalCacheObject ()=default
     
    std::string getKey () const
     
    template<typename T>
    T * cast ()
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ LocalCacheObject()

    + +
    +
    + + + + + +
    + + + + + + + +
    kuzu::transaction::LocalCacheObject::LocalCacheObject (std::string key)
    +
    +inlineexplicit
    +
    + +
    +
    + +

    ◆ ~LocalCacheObject()

    + +
    +
    + + + + + +
    + + + + + + + +
    virtual kuzu::transaction::LocalCacheObject::~LocalCacheObject ()
    +
    +virtualdefault
    +
    + +
    +
    +

    Member Function Documentation

    + +

    ◆ cast()

    + +
    +
    +
    +template<typename T>
    + + + + + +
    + + + + + + + +
    T * kuzu::transaction::LocalCacheObject::cast ()
    +
    +inline
    +
    + +
    +
    + +

    ◆ getKey()

    + +
    +
    + + + + + +
    + + + + + + + +
    std::string kuzu::transaction::LocalCacheObject::getKey () const
    +
    +inline
    +
    + +
    +
    +
    The documentation for this class was generated from the following file: +
    +
    + + + + diff --git a/cpp/classkuzu_1_1transaction_1_1_local_cache_object.js b/cpp/classkuzu_1_1transaction_1_1_local_cache_object.js new file mode 100644 index 0000000..478f5d7 --- /dev/null +++ b/cpp/classkuzu_1_1transaction_1_1_local_cache_object.js @@ -0,0 +1,7 @@ +var classkuzu_1_1transaction_1_1_local_cache_object = +[ + [ "LocalCacheObject", "classkuzu_1_1transaction_1_1_local_cache_object.html#aee00ad1b19ed7713ead370517519ed19", null ], + [ "~LocalCacheObject", "classkuzu_1_1transaction_1_1_local_cache_object.html#aeb8b7473a8c2f548ce1c7c813fdabb6f", null ], + [ "cast", "classkuzu_1_1transaction_1_1_local_cache_object.html#afe6c3ae5fe450889f472970b9ad462e9", null ], + [ "getKey", "classkuzu_1_1transaction_1_1_local_cache_object.html#adb6d360f959e6d3f878f592b974a5fe9", null ] +]; \ No newline at end of file diff --git a/cpp/classkuzu_1_1transaction_1_1_transaction-members.html b/cpp/classkuzu_1_1transaction_1_1_transaction-members.html index e6c0b3a..dd605c0 100644 --- a/cpp/classkuzu_1_1transaction_1_1_transaction-members.html +++ b/cpp/classkuzu_1_1transaction_1_1_transaction-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -103,46 +103,43 @@

    This is the complete list of members for kuzu::transaction::Transaction, including all inherited members.

    - + - - - - - - + + + + + + - - - - - - + + + + - - + + - + - - - - - - - - - - - + + + + + + + + + +
    checkForceCheckpoint(common::StatementType statementType)kuzu::transaction::Transactioninline
    commit(storage::WAL *wal) constkuzu::transaction::Transaction
    commit(storage::WAL *wal)kuzu::transaction::Transaction
    DUMMY_START_TIMESTAMPkuzu::transaction::Transactionstatic
    DUMMY_TRANSACTION_IDkuzu::transaction::Transactionstatic
    getClientContext() constkuzu::transaction::Transactioninline
    getCommittedOffsetFromUncommitted(common::table_id_t tableID, common::offset_t uncommittedOffset) constkuzu::transaction::Transactioninline
    getCommitTS() constkuzu::transaction::Transactioninline
    getCurrentTS() constkuzu::transaction::Transactioninline
    getDummyTransactionFromExistingOne(const Transaction &other)kuzu::transaction::Transactionstatic
    getEstimatedMemUsage() constkuzu::transaction::Transaction
    getID() constkuzu::transaction::Transactioninline
    getCommitTS() constkuzu::transaction::Transactioninline
    getCurrentTS() constkuzu::transaction::Transactioninline
    getDummyTransactionFromExistingOne(const Transaction &other)kuzu::transaction::Transactionstatic
    getEstimatedMemUsage() constkuzu::transaction::Transaction
    getID() constkuzu::transaction::Transactioninline
    getLocalCacheManager()kuzu::transaction::Transactioninline
    getLocalRowIdx(common::table_id_t tableID, common::offset_t nodeOffset) constkuzu::transaction::Transactioninline
    getLocalStorage() constkuzu::transaction::Transactioninline
    getMaxCommittedNodeOffset(common::table_id_t tableID) constkuzu::transaction::Transactioninline
    getMinUncommittedNodeOffset(common::table_id_t tableID) constkuzu::transaction::Transactioninline
    getStartTS() constkuzu::transaction::Transactioninline
    getType() constkuzu::transaction::Transactioninline
    getUncommittedOffset(common::table_id_t tableID, common::row_idx_t localRowIdx) constkuzu::transaction::Transactioninline
    hasNewlyInsertedNodes(common::table_id_t tableID) constkuzu::transaction::Transactioninline
    getMinUncommittedNodeOffset(common::table_id_t tableID) constkuzu::transaction::Transactioninline
    getStartTS() constkuzu::transaction::Transactioninline
    getType() constkuzu::transaction::Transactioninline
    getUncommittedOffset(common::table_id_t tableID, common::row_idx_t localRowIdx) constkuzu::transaction::Transactioninline
    isDummy() constkuzu::transaction::Transactioninline
    isReadOnly() constkuzu::transaction::Transactioninline
    isRecovery() constkuzu::transaction::Transactioninline
    isUnCommitted(common::table_id_t tableID, common::offset_t nodeOffset) constkuzu::transaction::Transactioninline
    isWriteTransaction() constkuzu::transaction::Transactioninline
    pushAlterCatalogEntry(catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, const binder::BoundAlterInfo &alterInfo) constkuzu::transaction::Transaction
    pushCreateDropCatalogEntry(catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, bool isInternal, bool skipLoggingToWAL=false) constkuzu::transaction::Transaction
    pushAlterCatalogEntry(catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, const binder::BoundAlterInfo &alterInfo)kuzu::transaction::Transaction
    pushCreateDropCatalogEntry(catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, bool isInternal, bool skipLoggingToWAL=false)kuzu::transaction::Transaction
    pushDeleteInfo(common::node_group_idx_t nodeGroupIdx, common::row_idx_t startRow, common::row_idx_t numRows, const storage::VersionRecordHandler *versionRecordHandler) constkuzu::transaction::Transaction
    pushInsertInfo(common::node_group_idx_t nodeGroupIdx, common::row_idx_t startRow, common::row_idx_t numRows, const storage::VersionRecordHandler *versionRecordHandler) constkuzu::transaction::Transaction
    pushSequenceChange(catalog::SequenceCatalogEntry *sequenceEntry, int64_t kCount, const catalog::SequenceRollbackData &data) constkuzu::transaction::Transaction
    pushSequenceChange(catalog::SequenceCatalogEntry *sequenceEntry, int64_t kCount, const catalog::SequenceRollbackData &data)kuzu::transaction::Transaction
    pushVectorUpdateInfo(storage::UpdateInfo &updateInfo, common::idx_t vectorIdx, storage::VectorUpdateInfo &vectorUpdateInfo) constkuzu::transaction::Transaction
    rollback(storage::WAL *wal) constkuzu::transaction::Transaction
    setMaxCommittedNodeOffset(common::table_id_t tableID, common::offset_t offset)kuzu::transaction::Transactioninline
    shouldAppendToUndoBuffer() constkuzu::transaction::Transactioninline
    shouldForceCheckpoint() constkuzu::transaction::Transaction
    shouldLogToWAL() constkuzu::transaction::Transaction
    START_TRANSACTION_IDkuzu::transaction::Transactionstatic
    Transaction(main::ClientContext &clientContext, TransactionType transactionType, common::transaction_t transactionID, common::transaction_t startTS)kuzu::transaction::Transaction
    Transaction(TransactionType transactionType) noexceptkuzu::transaction::Transactionexplicit
    Transaction(TransactionType transactionType, common::transaction_t ID, common::transaction_t startTS) noexceptkuzu::transaction::Transaction
    TransactionManager classkuzu::transaction::Transactionfriend
    ~Transaction()kuzu::transaction::Transaction
    rollback(storage::WAL *wal)kuzu::transaction::Transaction
    shouldAppendToUndoBuffer() constkuzu::transaction::Transactioninline
    shouldForceCheckpoint() constkuzu::transaction::Transaction
    shouldLogToWAL() constkuzu::transaction::Transaction
    START_TRANSACTION_IDkuzu::transaction::Transactionstatic
    Transaction(main::ClientContext &clientContext, TransactionType transactionType, common::transaction_t transactionID, common::transaction_t startTS)kuzu::transaction::Transaction
    Transaction(TransactionType transactionType) noexceptkuzu::transaction::Transactionexplicit
    Transaction(TransactionType transactionType, common::transaction_t ID, common::transaction_t startTS) noexceptkuzu::transaction::Transaction
    TransactionManager classkuzu::transaction::Transactionfriend
    ~Transaction()kuzu::transaction::Transaction
    diff --git a/cpp/classkuzu_1_1transaction_1_1_transaction.html b/cpp/classkuzu_1_1transaction_1_1_transaction.html index 3a2ff73..26c58b3 100644 --- a/cpp/classkuzu_1_1transaction_1_1_transaction.html +++ b/cpp/classkuzu_1_1transaction_1_1_transaction.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::transaction::Transaction Class Reference +Kuzu C++ API: kuzu::transaction::Transaction Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -146,18 +146,16 @@   bool shouldForceCheckpoint () const   -KUZU_API void commit (storage::WAL *wal) const -  -void rollback (storage::WAL *wal) const -  +KUZU_API void commit (storage::WAL *wal) +  +void rollback (storage::WAL *wal) +  uint64_t getEstimatedMemUsage () const   storage::LocalStorage * getLocalStorage () const   -bool hasNewlyInsertedNodes (common::table_id_t tableID) const -  -void setMaxCommittedNodeOffset (common::table_id_t tableID, common::offset_t offset) -  +LocalCacheManagergetLocalCacheManager () +  bool isUnCommitted (common::table_id_t tableID, common::offset_t nodeOffset) const   common::row_idx_t getLocalRowIdx (common::table_id_t tableID, common::offset_t nodeOffset) const @@ -166,16 +164,12 @@   common::offset_t getMinUncommittedNodeOffset (common::table_id_t tableID) const   -common::offset_t getMaxCommittedNodeOffset (common::table_id_t tableID) const -  -common::offset_t getCommittedOffsetFromUncommitted (common::table_id_t tableID, common::offset_t uncommittedOffset) const -  -void pushCreateDropCatalogEntry (catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, bool isInternal, bool skipLoggingToWAL=false) const -  -void pushAlterCatalogEntry (catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, const binder::BoundAlterInfo &alterInfo) const -  -void pushSequenceChange (catalog::SequenceCatalogEntry *sequenceEntry, int64_t kCount, const catalog::SequenceRollbackData &data) const -  +void pushCreateDropCatalogEntry (catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, bool isInternal, bool skipLoggingToWAL=false) +  +void pushAlterCatalogEntry (catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, const binder::BoundAlterInfo &alterInfo) +  +void pushSequenceChange (catalog::SequenceCatalogEntry *sequenceEntry, int64_t kCount, const catalog::SequenceRollbackData &data) +  void pushInsertInfo (common::node_group_idx_t nodeGroupIdx, common::row_idx_t startRow, common::row_idx_t numRows, const storage::VersionRecordHandler *versionRecordHandler) const   void pushDeleteInfo (common::node_group_idx_t nodeGroupIdx, common::row_idx_t startRow, common::row_idx_t numRows, const storage::VersionRecordHandler *versionRecordHandler) const @@ -336,8 +330,8 @@

    -

    ◆ commit()

    + +

    ◆ commit()

    @@ -346,7 +340,7 @@

    KUZU_API void kuzu::transaction::Transaction::commit ( storage::WAL * wal) - const +

    @@ -376,35 +370,6 @@

    -

    -
    - -

    ◆ getCommittedOffsetFromUncommitted()

    - -
    -
    - - - - - -
    - - - - - - - - - - - -
    common::offset_t kuzu::transaction::Transaction::getCommittedOffsetFromUncommitted (common::table_id_t tableID,
    common::offset_t uncommittedOffset ) const
    -
    -inline
    -
    -
    @@ -524,8 +489,8 @@

    -

    ◆ getLocalRowIdx()

    + +

    ◆ getLocalCacheManager()

    @@ -534,14 +499,10 @@

    - + - - - - + -
    common::row_idx_t kuzu::transaction::Transaction::getLocalRowIdx LocalCacheManager & kuzu::transaction::Transaction::getLocalCacheManager (common::table_id_t tableID,
    ) common::offset_t nodeOffset ) const
    @@ -553,8 +514,8 @@

    -

    ◆ getLocalStorage()

    + +

    ◆ getLocalRowIdx()

    @@ -563,10 +524,14 @@

    - + - - + + + + + +
    storage::LocalStorage * kuzu::transaction::Transaction::getLocalStorage common::row_idx_t kuzu::transaction::Transaction::getLocalRowIdx () constcommon::table_id_t tableID,
    common::offset_t nodeOffset ) const
    @@ -578,8 +543,8 @@

    -

    ◆ getMaxCommittedNodeOffset()

    + +

    ◆ getLocalStorage()

    - -

    ◆ hasNewlyInsertedNodes()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool kuzu::transaction::Transaction::hasNewlyInsertedNodes (common::table_id_t tableID) const
    -
    -inline
    -
    -
    @@ -861,8 +801,8 @@

    -

    ◆ pushAlterCatalogEntry()

    + +

    ◆ pushAlterCatalogEntry()

    - -

    ◆ pushCreateDropCatalogEntry()

    + +

    ◆ pushCreateDropCatalogEntry()

    @@ -980,8 +920,8 @@

    -

    ◆ pushSequenceChange()

    + +

    ◆ pushSequenceChange()

    @@ -1032,8 +972,8 @@

    -

    ◆ rollback()

    + +

    ◆ rollback()

    - -

    ◆ setMaxCommittedNodeOffset()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void kuzu::transaction::Transaction::setMaxCommittedNodeOffset (common::table_id_t tableID,
    common::offset_t offset )
    -
    -inline
    diff --git a/cpp/classkuzu_1_1transaction_1_1_transaction.js b/cpp/classkuzu_1_1transaction_1_1_transaction.js index d7fda74..bb652ac 100644 --- a/cpp/classkuzu_1_1transaction_1_1_transaction.js +++ b/cpp/classkuzu_1_1transaction_1_1_transaction.js @@ -5,34 +5,31 @@ var classkuzu_1_1transaction_1_1_transaction = [ "Transaction", "classkuzu_1_1transaction_1_1_transaction.html#a35e4ec96148c7aea0e5e9cd50d7bdac3", null ], [ "~Transaction", "classkuzu_1_1transaction_1_1_transaction.html#aab1ed62d03fafd1838b98f522668d4df", null ], [ "checkForceCheckpoint", "classkuzu_1_1transaction_1_1_transaction.html#a0ae0dd2face31dfba3f11b103911bea4", null ], - [ "commit", "classkuzu_1_1transaction_1_1_transaction.html#aed49ae80cbd54acfb74bdd7dc75dcd72", null ], + [ "commit", "classkuzu_1_1transaction_1_1_transaction.html#ae3503b786362be38448d29540aaa3a35", null ], [ "getClientContext", "classkuzu_1_1transaction_1_1_transaction.html#aa9f09efe00b4345112811c620d6192d0", null ], - [ "getCommittedOffsetFromUncommitted", "classkuzu_1_1transaction_1_1_transaction.html#aa64499b10fe7664a27878caa36024cea", null ], [ "getCommitTS", "classkuzu_1_1transaction_1_1_transaction.html#a4e2faa51792f5ccc69d823e8ac7b9384", null ], [ "getCurrentTS", "classkuzu_1_1transaction_1_1_transaction.html#af78c710bbe21edcbfc47114fcf17cf78", null ], [ "getEstimatedMemUsage", "classkuzu_1_1transaction_1_1_transaction.html#aff72e86b601e807ddea6facaf01f62b4", null ], [ "getID", "classkuzu_1_1transaction_1_1_transaction.html#ac0483a499215d9e8823b5390fc54dd8f", null ], + [ "getLocalCacheManager", "classkuzu_1_1transaction_1_1_transaction.html#a9d82178ac01bba223221d36fdba1d6d0", null ], [ "getLocalRowIdx", "classkuzu_1_1transaction_1_1_transaction.html#a109b6577214c7866cbcd14e47a0004a4", null ], [ "getLocalStorage", "classkuzu_1_1transaction_1_1_transaction.html#a0669de552abda23213eb6542382cd1b5", null ], - [ "getMaxCommittedNodeOffset", "classkuzu_1_1transaction_1_1_transaction.html#af9f3b98f18082e629f032a041c3d3ecd", null ], [ "getMinUncommittedNodeOffset", "classkuzu_1_1transaction_1_1_transaction.html#a38a725d5a6f8d33d9854e16911dbcdda", null ], [ "getStartTS", "classkuzu_1_1transaction_1_1_transaction.html#a0dd34a2ee3c06973b42e4e8def0ec033", null ], [ "getType", "classkuzu_1_1transaction_1_1_transaction.html#a7cae0bc803cc88ca7964cd46b1e0fba5", null ], [ "getUncommittedOffset", "classkuzu_1_1transaction_1_1_transaction.html#a90bb25a2847aef0ac9644106549a630a", null ], - [ "hasNewlyInsertedNodes", "classkuzu_1_1transaction_1_1_transaction.html#a1dbac4b98b0e9341630d9df4fa4bd13a", null ], [ "isDummy", "classkuzu_1_1transaction_1_1_transaction.html#af79ae7f6b996e047dbc453035272a3b0", null ], [ "isReadOnly", "classkuzu_1_1transaction_1_1_transaction.html#adf261380ceb109dfe0c883132fcde9d7", null ], [ "isRecovery", "classkuzu_1_1transaction_1_1_transaction.html#a27b36951a3e768a149ff3f4be4d6e50d", null ], [ "isUnCommitted", "classkuzu_1_1transaction_1_1_transaction.html#a4ddfd1ed5469f53132f6f5d22d749d32", null ], [ "isWriteTransaction", "classkuzu_1_1transaction_1_1_transaction.html#a600e341ec7fcaf68ce614701fc8973fa", null ], - [ "pushAlterCatalogEntry", "classkuzu_1_1transaction_1_1_transaction.html#a324b3348111287aff7ad43bf04f25990", null ], - [ "pushCreateDropCatalogEntry", "classkuzu_1_1transaction_1_1_transaction.html#a226b552315c084b6326058935d58b5a3", null ], + [ "pushAlterCatalogEntry", "classkuzu_1_1transaction_1_1_transaction.html#a5957508e5b399ae38a48e46024e9aabb", null ], + [ "pushCreateDropCatalogEntry", "classkuzu_1_1transaction_1_1_transaction.html#af6c2ff65b427d640642a2d8298accbd1", null ], [ "pushDeleteInfo", "classkuzu_1_1transaction_1_1_transaction.html#aefa9742af8d7650b528304c05e6a1397", null ], [ "pushInsertInfo", "classkuzu_1_1transaction_1_1_transaction.html#a9a0921a4b96363527d89676f4e6103a1", null ], - [ "pushSequenceChange", "classkuzu_1_1transaction_1_1_transaction.html#ad489fd485354470db0118d64955f559d", null ], + [ "pushSequenceChange", "classkuzu_1_1transaction_1_1_transaction.html#aad7bba75f81fcdb0126216c388daebac", null ], [ "pushVectorUpdateInfo", "classkuzu_1_1transaction_1_1_transaction.html#a93bb60f0af16074893ab37d8a1d8464c", null ], - [ "rollback", "classkuzu_1_1transaction_1_1_transaction.html#adf8dabcdea0b49ed802b410c16cedecf", null ], - [ "setMaxCommittedNodeOffset", "classkuzu_1_1transaction_1_1_transaction.html#a0e0f3664c86a92ca9e3d738025ce28b2", null ], + [ "rollback", "classkuzu_1_1transaction_1_1_transaction.html#af631a3e540a48badee0d0a08f3374cbf", null ], [ "shouldAppendToUndoBuffer", "classkuzu_1_1transaction_1_1_transaction.html#a5be1648a39ffead3067b0c41bee86edb", null ], [ "shouldForceCheckpoint", "classkuzu_1_1transaction_1_1_transaction.html#a051934b2e9b52331991aed298e3f0096", null ], [ "shouldLogToWAL", "classkuzu_1_1transaction_1_1_transaction.html#a6221b4c82183831204f2f93a37120d48", null ], diff --git a/cpp/classkuzu_1_1transaction_1_1_transaction_context-members.html b/cpp/classkuzu_1_1transaction_1_1_transaction_context-members.html index cc8a6b7..de62a3e 100644 --- a/cpp/classkuzu_1_1transaction_1_1_transaction_context-members.html +++ b/cpp/classkuzu_1_1transaction_1_1_transaction_context-members.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: Member List @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/classkuzu_1_1transaction_1_1_transaction_context.html b/cpp/classkuzu_1_1transaction_1_1_transaction_context.html index 927cd43..557cfe2 100644 --- a/cpp/classkuzu_1_1transaction_1_1_transaction_context.html +++ b/cpp/classkuzu_1_1transaction_1_1_transaction_context.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::transaction::TransactionContext Class Reference +Kuzu C++ API: kuzu::transaction::TransactionContext Class Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/client__config_8h.html b/cpp/client__config_8h.html index b70e321..5fa492f 100644 --- a/cpp/client__config_8h.html +++ b/cpp/client__config_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/client_config.h File Reference +Kuzu C++ API: headers/client_config.h File Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/client__config_8h_source.html b/cpp/client__config_8h_source.html index b5c1a64..69c1eef 100644 --- a/cpp/client__config_8h_source.html +++ b/cpp/client__config_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/client_config.h Source File +Kuzu C++ API: headers/client_config.h Source File @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -116,14 +116,14 @@
    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 static constexpr bool ENABLE_PLAN_OPTIMIZER = true;
    +
    17 static constexpr bool ENABLE_PROGRESS_BAR = false;
    +
    18 static constexpr uint64_t SHOW_PROGRESS_AFTER = 1000;
    + +
    20 static constexpr uint32_t RECURSIVE_PATTERN_FACTOR = 100;
    +
    21 static constexpr bool DISABLE_MAP_KEY_CHECK = true;
    +
    22 static constexpr uint64_t WARNING_LIMIT = 8 * 1024;
    +
    23 static constexpr bool ENABLE_PLAN_OPTIMIZER = true;
    +
    24 static constexpr bool ENABLE_INTERNAL_CATALOG = false;
    25};
    26
    @@ -137,65 +137,64 @@
    34 // If using zone map in scan.
    -
    36 // If compiling recursive pattern as GDS.
    - -
    38 // Number of threads for execution.
    -
    39 uint64_t numThreads = 1;
    -
    40 // Timeout (milliseconds).
    - -
    42 // Variable length maximum depth.
    - -
    44 // If using progress bar.
    - -
    46 // time before displaying progress bar
    - -
    48 // Semantic for recursive pattern, can be either WALK, TRAIL, ACYCLIC
    - -
    50 // Scale factor for recursive pattern cardinality estimation.
    - -
    52 // maximum number of cached warnings
    - - - -
    56};
    +
    36 // Number of threads for execution.
    +
    37 uint64_t numThreads = 1;
    +
    38 // Timeout (milliseconds).
    + +
    40 // Variable length maximum depth.
    + +
    42 // If using progress bar.
    + +
    44 // time before displaying progress bar
    + +
    46 // Semantic for recursive pattern, can be either WALK, TRAIL, ACYCLIC
    + +
    48 // Scale factor for recursive pattern cardinality estimation.
    + +
    50 // maximum number of cached warnings
    + + + + +
    55};
    -
    57
    -
    58} // namespace main
    -
    59} // namespace kuzu
    +
    56
    +
    57} // namespace main
    +
    58} // namespace kuzu
    PathSemantic
    Definition path_semantic.h:9
    @ WALK
    Definition path_semantic.h:10
    Definition bind_input.h:16
    Definition array_utils.h:7
    Definition client_config.h:11
    -
    static constexpr bool ENABLE_PROGRESS_BAR
    Definition client_config.h:18
    +
    static constexpr bool ENABLE_PROGRESS_BAR
    Definition client_config.h:17
    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 uint64_t SHOW_PROGRESS_AFTER
    Definition client_config.h:18
    +
    static constexpr bool DISABLE_MAP_KEY_CHECK
    Definition client_config.h:21
    +
    static constexpr bool ENABLE_INTERNAL_CATALOG
    Definition client_config.h:24
    +
    static constexpr uint64_t WARNING_LIMIT
    Definition client_config.h:22
    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_PLAN_OPTIMIZER
    Definition client_config.h:24
    +
    static constexpr common::PathSemantic RECURSIVE_PATTERN_SEMANTIC
    Definition client_config.h:19
    +
    static constexpr uint32_t RECURSIVE_PATTERN_FACTOR
    Definition client_config.h:20
    +
    static constexpr bool ENABLE_PLAN_OPTIMIZER
    Definition client_config.h:23
    static constexpr bool ENABLE_SEMI_MASK
    Definition client_config.h:15
    Definition client_config.h:27
    bool enableSemiMask
    Definition client_config.h:33
    -
    bool disableMapKeyCheck
    Definition client_config.h:54
    +
    bool disableMapKeyCheck
    Definition client_config.h:52
    std::string homeDirectory
    Definition client_config.h:29
    -
    uint32_t recursivePatternCardinalityScaleFactor
    Definition client_config.h:51
    -
    uint64_t warningLimit
    Definition client_config.h:53
    -
    bool enableGDS
    Definition client_config.h:37
    -
    uint32_t varLengthMaxDepth
    Definition client_config.h:43
    +
    uint32_t recursivePatternCardinalityScaleFactor
    Definition client_config.h:49
    +
    uint64_t warningLimit
    Definition client_config.h:51
    +
    uint32_t varLengthMaxDepth
    Definition client_config.h:41
    bool enableZoneMap
    Definition client_config.h:35
    -
    uint64_t numThreads
    Definition client_config.h:39
    -
    bool enablePlanOptimizer
    Definition client_config.h:55
    -
    uint64_t showProgressAfter
    Definition client_config.h:47
    +
    uint64_t numThreads
    Definition client_config.h:37
    +
    bool enablePlanOptimizer
    Definition client_config.h:53
    +
    uint64_t showProgressAfter
    Definition client_config.h:45
    +
    bool enableInternalCatalog
    Definition client_config.h:54
    std::string fileSearchPath
    Definition client_config.h:31
    -
    bool enableProgressBar
    Definition client_config.h:45
    -
    uint64_t timeoutInMS
    Definition client_config.h:41
    -
    common::PathSemantic recursivePatternSemantic
    Definition client_config.h:49
    +
    bool enableProgressBar
    Definition client_config.h:43
    +
    uint64_t timeoutInMS
    Definition client_config.h:39
    +
    common::PathSemantic recursivePatternSemantic
    Definition client_config.h:47
    diff --git a/cpp/client__context_8h.html b/cpp/client__context_8h.html index d84a709..e476629 100644 --- a/cpp/client__context_8h.html +++ b/cpp/client__context_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/client_context.h File Reference +Kuzu C++ API: headers/client_context.h File Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/client__context_8h_source.html b/cpp/client__context_8h_source.html index 83e4b47..f88b0fc 100644 --- a/cpp/client__context_8h_source.html +++ b/cpp/client__context_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/client_context.h Source File +Kuzu C++ API: headers/client_context.h Source File @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -182,184 +182,191 @@
    74 friend class parser::StandaloneCallRewriter;
    75 friend struct SpillToDiskSetting;
    76 friend class main::EmbeddedShell;
    -
    77
    -
    78public:
    -
    79 explicit ClientContext(Database* database);
    - -
    81
    -
    82 // Client config
    -
    83 const ClientConfig* getClientConfig() const { return &clientConfig; }
    -
    84 ClientConfig* getClientConfigUnsafe() { return &clientConfig; }
    -
    85 const DBConfig* getDBConfig() const { return &dbConfig; }
    -
    86 DBConfig* getDBConfigUnsafe() { return &dbConfig; }
    -
    87 common::Value getCurrentSetting(const std::string& optionName) const;
    -
    88 // Timer and timeout
    -
    89 void interrupt() { activeQuery.interrupted = true; }
    -
    90 bool interrupted() const { return activeQuery.interrupted; }
    -
    91 bool hasTimeout() const { return clientConfig.timeoutInMS != 0; }
    -
    92 void setQueryTimeOut(uint64_t timeoutInMS);
    -
    93 uint64_t getQueryTimeOut() const;
    -
    94 void startTimer();
    -
    95 uint64_t getTimeoutRemainingInMS() const;
    -
    96 void resetActiveQuery() { activeQuery.reset(); }
    -
    97
    -
    98 // Parallelism
    -
    99 void setMaxNumThreadForExec(uint64_t numThreads);
    -
    100 uint64_t getMaxNumThreadForExec() const;
    -
    101
    -
    102 // Transaction.
    - - -
    105
    -
    106 // Progress bar
    -
    107 common::ProgressBar* getProgressBar() const;
    -
    108
    -
    109 // Replace function.
    - -
    111 std::unique_ptr<function::ScanReplacementData> tryReplace(const std::string& objectName) const;
    -
    112 // Extension
    -
    113 void setExtensionOption(std::string name, common::Value value);
    -
    114 const main::ExtensionOption* getExtensionOption(std::string optionName) const;
    -
    115 std::string getExtensionDir() const;
    -
    116
    -
    117 // Database component getters.
    -
    118 std::string getDatabasePath() const;
    -
    119 Database* getDatabase() const { return localDatabase; }
    -
    120 common::TaskScheduler* getTaskScheduler() const;
    -
    121 DatabaseManager* getDatabaseManager() const;
    -
    122 storage::StorageManager* getStorageManager() const;
    -
    123 storage::MemoryManager* getMemoryManager() const;
    -
    124 extension::ExtensionManager* getExtensionManager() const;
    -
    125 storage::WAL* getWAL() const;
    -
    126 catalog::Catalog* getCatalog() const;
    -
    127 transaction::TransactionManager* getTransactionManagerUnsafe() const;
    -
    128 common::VirtualFileSystem* getVFSUnsafe() const;
    -
    129 common::RandomEngine* getRandomEngine() const;
    -
    130
    -
    131 static std::string getEnvVariable(const std::string& name);
    -
    132
    -
    133 void setDefaultDatabase(AttachedKuzuDatabase* defaultDatabase_);
    -
    134 bool hasDefaultDatabase() const;
    -
    - -
    136 this->useInternalCatalogEntry_ = useInternalCatalogEntry;
    -
    137 }
    +
    77 friend class extension::ExtensionManager;
    +
    78
    +
    79public:
    +
    80 explicit ClientContext(Database* database);
    + +
    82
    +
    83 // Client config
    +
    84 const ClientConfig* getClientConfig() const { return &clientConfig; }
    +
    85 ClientConfig* getClientConfigUnsafe() { return &clientConfig; }
    +
    86 const DBConfig* getDBConfig() const { return &dbConfig; }
    +
    87 DBConfig* getDBConfigUnsafe() { return &dbConfig; }
    +
    88 common::Value getCurrentSetting(const std::string& optionName) const;
    +
    89 // Timer and timeout
    +
    90 void interrupt() { activeQuery.interrupted = true; }
    +
    91 bool interrupted() const { return activeQuery.interrupted; }
    +
    92 bool hasTimeout() const { return clientConfig.timeoutInMS != 0; }
    +
    93 void setQueryTimeOut(uint64_t timeoutInMS);
    +
    94 uint64_t getQueryTimeOut() const;
    +
    95 void startTimer();
    +
    96 uint64_t getTimeoutRemainingInMS() const;
    +
    97 void resetActiveQuery() { activeQuery.reset(); }
    +
    98
    +
    99 // Parallelism
    +
    100 void setMaxNumThreadForExec(uint64_t numThreads);
    +
    101 uint64_t getMaxNumThreadForExec() const;
    +
    102
    +
    103 // Transaction.
    + + +
    106
    +
    107 // Progress bar
    +
    108 common::ProgressBar* getProgressBar() const;
    +
    109
    +
    110 // Replace function.
    + +
    112 std::unique_ptr<function::ScanReplacementData> tryReplace(const std::string& objectName) const;
    +
    113 // Extension
    +
    114 void setExtensionOption(std::string name, common::Value value);
    +
    115 const main::ExtensionOption* getExtensionOption(std::string optionName) const;
    +
    116 std::string getExtensionDir() const;
    +
    117
    +
    118 // Database component getters.
    +
    119 std::string getDatabasePath() const;
    +
    120 Database* getDatabase() const { return localDatabase; }
    +
    121 common::TaskScheduler* getTaskScheduler() const;
    +
    122 DatabaseManager* getDatabaseManager() const;
    +
    123 storage::StorageManager* getStorageManager() const;
    +
    124 storage::MemoryManager* getMemoryManager() const;
    +
    125 extension::ExtensionManager* getExtensionManager() const;
    +
    126 storage::WAL* getWAL() const;
    +
    127 catalog::Catalog* getCatalog() const;
    +
    128 transaction::TransactionManager* getTransactionManagerUnsafe() const;
    +
    129 common::VirtualFileSystem* getVFSUnsafe() const;
    +
    130 common::RandomEngine* getRandomEngine() const;
    +
    131
    +
    132 static std::string getEnvVariable(const std::string& name);
    +
    133
    +
    134 void setDefaultDatabase(AttachedKuzuDatabase* defaultDatabase_);
    +
    135 bool hasDefaultDatabase() const;
    +
    + +
    137 this->useInternalCatalogEntry_ = useInternalCatalogEntry;
    +
    138 }
    +
    +
    + +
    140 return clientConfig.enableInternalCatalog ? true : useInternalCatalogEntry_;
    +
    141 }
    -
    138 bool useInternalCatalogEntry() const { return useInternalCatalogEntry_; }
    -
    139
    -
    140 void addScalarFunction(std::string name, function::function_set definitions);
    -
    141 void removeScalarFunction(const std::string& name);
    142
    - - +
    143 void addScalarFunction(std::string name, function::function_set definitions);
    +
    144 void removeScalarFunction(const std::string& name);
    145
    -
    146 graph::GraphEntrySet& getGraphEntrySetUnsafe();
    -
    147
    -
    148 void cleanUp();
    -
    149
    -
    150 // Query.
    -
    151 std::unique_ptr<PreparedStatement> prepare(std::string_view query);
    -
    152 std::unique_ptr<QueryResult> executeWithParams(PreparedStatement* preparedStatement,
    -
    153 std::unordered_map<std::string, std::unique_ptr<common::Value>> inputParams,
    -
    154 std::optional<uint64_t> queryID = std::nullopt);
    -
    155 std::unique_ptr<QueryResult> query(std::string_view queryStatement,
    -
    156 std::optional<uint64_t> queryID = std::nullopt);
    -
    157
    -
    158private:
    -
    159 struct TransactionHelper {
    -
    160 enum class TransactionCommitAction : uint8_t {
    -
    161 COMMIT_IF_NEW,
    -
    162 COMMIT_IF_AUTO,
    -
    163 COMMIT_NEW_OR_AUTO,
    -
    164 NOT_COMMIT
    -
    165 };
    -
    166 static bool commitIfNew(TransactionCommitAction action) {
    -
    167 return action == TransactionCommitAction::COMMIT_IF_NEW ||
    -
    168 action == TransactionCommitAction::COMMIT_NEW_OR_AUTO;
    -
    169 }
    -
    170 static bool commitIfAuto(TransactionCommitAction action) {
    -
    171 return action == TransactionCommitAction::COMMIT_IF_AUTO ||
    -
    172 action == TransactionCommitAction::COMMIT_NEW_OR_AUTO;
    -
    173 }
    -
    174 static TransactionCommitAction getAction(bool commitIfNew, bool commitIfAuto);
    -
    175 static void runFuncInTransaction(transaction::TransactionContext& context,
    -
    176 const std::function<void()>& fun, bool readOnlyStatement, bool isTransactionStatement,
    -
    177 TransactionCommitAction action);
    -
    178 };
    -
    179
    -
    180 static std::unique_ptr<QueryResult> queryResultWithError(std::string_view errMsg);
    -
    181 static std::unique_ptr<PreparedStatement> preparedStatementWithError(std::string_view errMsg);
    -
    182 static void bindParametersNoLock(const PreparedStatement* preparedStatement,
    -
    183 const std::unordered_map<std::string, std::unique_ptr<common::Value>>& inputParams);
    -
    184 void validateTransaction(const PreparedStatement& preparedStatement) const;
    -
    185
    -
    186 std::vector<std::shared_ptr<parser::Statement>> parseQuery(std::string_view query);
    -
    187
    -
    188 std::unique_ptr<PreparedStatement> prepareNoLock(
    -
    189 std::shared_ptr<parser::Statement> parsedStatement, bool shouldCommitNewTransaction,
    -
    190 std::optional<std::unordered_map<std::string, std::shared_ptr<common::Value>>> inputParams =
    -
    191 std::nullopt);
    + + +
    148
    +
    149 graph::GraphEntrySet& getGraphEntrySetUnsafe();
    +
    150
    +
    151 const graph::GraphEntrySet& getGraphEntrySet() const;
    +
    152
    +
    153 void cleanUp();
    +
    154
    +
    155 // Query.
    +
    156 std::unique_ptr<PreparedStatement> prepare(std::string_view query);
    +
    157 std::unique_ptr<QueryResult> executeWithParams(PreparedStatement* preparedStatement,
    +
    158 std::unordered_map<std::string, std::unique_ptr<common::Value>> inputParams,
    +
    159 std::optional<uint64_t> queryID = std::nullopt);
    +
    160 std::unique_ptr<QueryResult> query(std::string_view queryStatement,
    +
    161 std::optional<uint64_t> queryID = std::nullopt);
    +
    162
    +
    163private:
    +
    164 struct TransactionHelper {
    +
    165 enum class TransactionCommitAction : uint8_t {
    +
    166 COMMIT_IF_NEW,
    +
    167 COMMIT_IF_AUTO,
    +
    168 COMMIT_NEW_OR_AUTO,
    +
    169 NOT_COMMIT
    +
    170 };
    +
    171 static bool commitIfNew(TransactionCommitAction action) {
    +
    172 return action == TransactionCommitAction::COMMIT_IF_NEW ||
    +
    173 action == TransactionCommitAction::COMMIT_NEW_OR_AUTO;
    +
    174 }
    +
    175 static bool commitIfAuto(TransactionCommitAction action) {
    +
    176 return action == TransactionCommitAction::COMMIT_IF_AUTO ||
    +
    177 action == TransactionCommitAction::COMMIT_NEW_OR_AUTO;
    +
    178 }
    +
    179 static TransactionCommitAction getAction(bool commitIfNew, bool commitIfAuto);
    +
    180 static void runFuncInTransaction(transaction::TransactionContext& context,
    +
    181 const std::function<void()>& fun, bool readOnlyStatement, bool isTransactionStatement,
    +
    182 TransactionCommitAction action);
    +
    183 };
    +
    184
    +
    185 static std::unique_ptr<QueryResult> queryResultWithError(std::string_view errMsg);
    +
    186 static std::unique_ptr<PreparedStatement> preparedStatementWithError(std::string_view errMsg);
    +
    187 static void bindParametersNoLock(const PreparedStatement* preparedStatement,
    +
    188 const std::unordered_map<std::string, std::unique_ptr<common::Value>>& inputParams);
    +
    189 void validateTransaction(const PreparedStatement& preparedStatement) const;
    +
    190
    +
    191 std::vector<std::shared_ptr<parser::Statement>> parseQuery(std::string_view query);
    192
    -
    193 template<typename T, typename... Args>
    -
    194 std::unique_ptr<QueryResult> executeWithParams(PreparedStatement* preparedStatement,
    -
    195 std::unordered_map<std::string, std::unique_ptr<common::Value>> params,
    -
    196 std::pair<std::string, T> arg, std::pair<std::string, Args>... args) {
    -
    197 auto name = arg.first;
    -
    198 auto val = std::make_unique<common::Value>((T)arg.second);
    -
    199 params.insert({name, std::move(val)});
    -
    200 return executeWithParams(preparedStatement, std::move(params), args...);
    -
    201 }
    -
    202
    -
    203 std::unique_ptr<QueryResult> executeNoLock(PreparedStatement* preparedStatement,
    -
    204 std::optional<uint64_t> queryID = std::nullopt);
    -
    205
    -
    206 std::unique_ptr<QueryResult> queryNoLock(std::string_view query,
    -
    207 std::optional<uint64_t> queryID = std::nullopt);
    -
    208
    -
    209 bool canExecuteWriteQuery() const;
    +
    193 std::unique_ptr<PreparedStatement> prepareNoLock(
    +
    194 std::shared_ptr<parser::Statement> parsedStatement, bool shouldCommitNewTransaction,
    +
    195 std::optional<std::unordered_map<std::string, std::shared_ptr<common::Value>>> inputParams =
    +
    196 std::nullopt);
    +
    197
    +
    198 template<typename T, typename... Args>
    +
    199 std::unique_ptr<QueryResult> executeWithParams(PreparedStatement* preparedStatement,
    +
    200 std::unordered_map<std::string, std::unique_ptr<common::Value>> params,
    +
    201 std::pair<std::string, T> arg, std::pair<std::string, Args>... args) {
    +
    202 auto name = arg.first;
    +
    203 auto val = std::make_unique<common::Value>((T)arg.second);
    +
    204 params.insert({name, std::move(val)});
    +
    205 return executeWithParams(preparedStatement, std::move(params), args...);
    +
    206 }
    +
    207
    +
    208 std::unique_ptr<QueryResult> executeNoLock(PreparedStatement* preparedStatement,
    +
    209 std::optional<uint64_t> queryID = std::nullopt);
    210
    -
    211 std::unique_ptr<QueryResult> handleFailedExecution(std::optional<uint64_t> queryID,
    -
    212 const std::exception& e) const;
    +
    211 std::unique_ptr<QueryResult> queryNoLock(std::string_view query,
    +
    212 std::optional<uint64_t> queryID = std::nullopt);
    213
    -
    214 // Client side configurable settings.
    -
    215 ClientConfig clientConfig;
    -
    216 // Database configurable settings.
    -
    217 DBConfig& dbConfig;
    -
    218 // Current query.
    -
    219 ActiveQuery activeQuery;
    -
    220 // Transaction context.
    -
    221 std::unique_ptr<transaction::TransactionContext> transactionContext;
    -
    222 // Replace external object as pointer Value;
    -
    223 std::vector<function::ScanReplacement> scanReplacements;
    -
    224 // Extension configurable settings.
    -
    225 std::unordered_map<std::string, common::Value> extensionOptionValues;
    -
    226 // Random generator for UUID.
    -
    227 std::unique_ptr<common::RandomEngine> randomEngine;
    -
    228 // Local database.
    -
    229 Database* localDatabase;
    -
    230 // Remote database.
    -
    231 AttachedKuzuDatabase* remoteDatabase;
    -
    232 // Progress bar.
    -
    233 std::unique_ptr<common::ProgressBar> progressBar;
    -
    234 // Warning information
    -
    235 processor::WarningContext warningContext;
    -
    236 // Graph entries
    -
    237 std::unique_ptr<graph::GraphEntrySet> graphEntrySet;
    -
    238 std::mutex mtx;
    -
    239 // Whether the query can access internal tables/sequences or not.
    -
    240 bool useInternalCatalogEntry_ = false;
    -
    241};
    +
    214 bool canExecuteWriteQuery() const;
    +
    215
    +
    216 std::unique_ptr<QueryResult> handleFailedExecution(std::optional<uint64_t> queryID,
    +
    217 const std::exception& e) const;
    +
    218
    +
    219 // Client side configurable settings.
    +
    220 ClientConfig clientConfig;
    +
    221 // Database configurable settings.
    +
    222 DBConfig& dbConfig;
    +
    223 // Current query.
    +
    224 ActiveQuery activeQuery;
    +
    225 // Transaction context.
    +
    226 std::unique_ptr<transaction::TransactionContext> transactionContext;
    +
    227 // Replace external object as pointer Value;
    +
    228 std::vector<function::ScanReplacement> scanReplacements;
    +
    229 // Extension configurable settings.
    +
    230 std::unordered_map<std::string, common::Value> extensionOptionValues;
    +
    231 // Random generator for UUID.
    +
    232 std::unique_ptr<common::RandomEngine> randomEngine;
    +
    233 // Local database.
    +
    234 Database* localDatabase;
    +
    235 // Remote database.
    +
    236 AttachedKuzuDatabase* remoteDatabase;
    +
    237 // Progress bar.
    +
    238 std::unique_ptr<common::ProgressBar> progressBar;
    +
    239 // Warning information
    +
    240 processor::WarningContext warningContext;
    +
    241 // Graph entries
    +
    242 std::unique_ptr<graph::GraphEntrySet> graphEntrySet;
    +
    243 std::mutex mtx;
    +
    244 // Whether the query can access internal tables/sequences or not.
    +
    245 bool useInternalCatalogEntry_ = false;
    +
    246};
    -
    242
    -
    243} // namespace main
    -
    244} // namespace kuzu
    +
    247
    +
    248} // namespace main
    +
    249} // namespace kuzu
    #define KUZU_API
    Definition api.h:25
    Definition timer.h:12
    Definition value.h:26
    std::unique_ptr< QueryResult > query(std::string_view queryStatement, std::optional< uint64_t > queryID=std::nullopt)
    common::VirtualFileSystem * getVFSUnsafe() const
    -
    Database * getDatabase() const
    Definition client_context.h:119
    -
    ClientConfig * getClientConfigUnsafe()
    Definition client_context.h:84
    +
    Database * getDatabase() const
    Definition client_context.h:120
    +
    ClientConfig * getClientConfigUnsafe()
    Definition client_context.h:85
    extension::ExtensionManager * getExtensionManager() const
    common::Value getCurrentSetting(const std::string &optionName) const
    processor::WarningContext & getWarningContextUnsafe()
    @@ -367,10 +374,10 @@
    void removeScalarFunction(const std::string &name)
    storage::StorageManager * getStorageManager() const
    common::ProgressBar * getProgressBar() const
    -
    void setUseInternalCatalogEntry(bool useInternalCatalogEntry)
    Definition client_context.h:135
    +
    void setUseInternalCatalogEntry(bool useInternalCatalogEntry)
    Definition client_context.h:136
    std::unique_ptr< PreparedStatement > prepare(std::string_view query)
    common::TaskScheduler * getTaskScheduler() const
    -
    const ClientConfig * getClientConfig() const
    Definition client_context.h:83
    +
    const ClientConfig * getClientConfig() const
    Definition client_context.h:84
    friend class Connection
    Definition client_context.h:69
    uint64_t getMaxNumThreadForExec() const
    void setMaxNumThreadForExec(uint64_t numThreads)
    @@ -378,19 +385,20 @@
    catalog::Catalog * getCatalog() const
    uint64_t getQueryTimeOut() const
    transaction::Transaction * getTransaction() const
    -
    bool useInternalCatalogEntry() const
    Definition client_context.h:138
    -
    DBConfig * getDBConfigUnsafe()
    Definition client_context.h:86
    +
    bool useInternalCatalogEntry() const
    Definition client_context.h:139
    +
    DBConfig * getDBConfigUnsafe()
    Definition client_context.h:87
    void addScalarFunction(std::string name, function::function_set definitions)
    std::string getDatabasePath() const
    -
    bool interrupted() const
    Definition client_context.h:90
    +
    bool interrupted() const
    Definition client_context.h:91
    bool hasDefaultDatabase() const
    void addScanReplace(function::ScanReplacement scanReplacement)
    -
    void interrupt()
    Definition client_context.h:89
    -
    const DBConfig * getDBConfig() const
    Definition client_context.h:85
    +
    void interrupt()
    Definition client_context.h:90
    +
    const DBConfig * getDBConfig() const
    Definition client_context.h:86
    std::unique_ptr< function::ScanReplacementData > tryReplace(const std::string &objectName) const
    friend struct SpillToDiskSetting
    Definition client_context.h:75
    std::unique_ptr< QueryResult > executeWithParams(PreparedStatement *preparedStatement, std::unordered_map< std::string, std::unique_ptr< common::Value > > inputParams, std::optional< uint64_t > queryID=std::nullopt)
    +
    const graph::GraphEntrySet & getGraphEntrySet() const
    const processor::WarningContext & getWarningContext() const
    void setDefaultDatabase(AttachedKuzuDatabase *defaultDatabase_)
    void setQueryTimeOut(uint64_t timeoutInMS)
    @@ -403,17 +411,17 @@
    std::string getExtensionDir() const
    transaction::TransactionManager * getTransactionManagerUnsafe() const
    -
    void resetActiveQuery()
    Definition client_context.h:96
    +
    void resetActiveQuery()
    Definition client_context.h:97
    ClientContext(Database *database)
    graph::GraphEntrySet & getGraphEntrySetUnsafe()
    void setExtensionOption(std::string name, common::Value value)
    -
    bool hasTimeout() const
    Definition client_context.h:91
    +
    bool hasTimeout() const
    Definition client_context.h:92
    const main::ExtensionOption * getExtensionOption(std::string optionName) const
    -
    Database class is the main class of KùzuDB. It manages all database components.
    Definition database.h:80
    +
    Database class is the main class of Kuzu. It manages all database components.
    Definition database.h:80
    A prepared statement is a parameterized query which can avoid planning the same query for repeated ex...
    Definition prepared_statement.h:19
    Definition warning_context.h:35
    Definition transaction_context.h:33
    -
    Definition transaction.h:34
    +
    Definition transaction.h:76
    Definition bind_input.h:12
    Definition client_context.h:34
    diff --git a/cpp/conceptkuzu_1_1common_1_1_comparable_types.html b/cpp/conceptkuzu_1_1common_1_1_comparable_types.html index 69a010e..fec0ad1 100644 --- a/cpp/conceptkuzu_1_1common_1_1_comparable_types.html +++ b/cpp/conceptkuzu_1_1common_1_1_comparable_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::ComparableTypes Concept Reference +Kuzu C++ API: kuzu::common::ComparableTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -105,8 +105,8 @@

    Concept definition

    template<typename T>
    concept kuzu::common::ComparableTypes = NumericTypes<T> || std::is_same_v<T, ku_string_t> ||
    std::is_same_v<T, interval_t> || std::is_same_v<T, bool>
    -
    Definition types.h:150
    -
    Definition types.h:147
    +
    Definition types.h:154
    +
    Definition types.h:151
    diff --git a/cpp/conceptkuzu_1_1common_1_1_floating_point_types.html b/cpp/conceptkuzu_1_1common_1_1_floating_point_types.html index 5d55ef5..6f82baa 100644 --- a/cpp/conceptkuzu_1_1common_1_1_floating_point_types.html +++ b/cpp/conceptkuzu_1_1common_1_1_floating_point_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::FloatingPointTypes Concept Reference +Kuzu C++ API: kuzu::common::FloatingPointTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -104,7 +104,7 @@

    Concept definition

    template<typename T>
    concept kuzu::common::FloatingPointTypes = std::is_same_v<T, float> || std::is_same_v<T, double>
    -
    Definition types.h:144
    +
    Definition types.h:148
    diff --git a/cpp/conceptkuzu_1_1common_1_1_hashable_nested_types.html b/cpp/conceptkuzu_1_1common_1_1_hashable_nested_types.html index 104924f..58d6f38 100644 --- a/cpp/conceptkuzu_1_1common_1_1_hashable_nested_types.html +++ b/cpp/conceptkuzu_1_1common_1_1_hashable_nested_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::HashableNestedTypes Concept Reference +Kuzu C++ API: kuzu::common::HashableNestedTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -105,7 +105,7 @@

    Concept definition

    template<typename T>
    (std::is_same_v<T, list_entry_t> || std::is_same_v<T, struct_entry_t>)
    -
    Definition types.h:167
    +
    Definition types.h:171
    diff --git a/cpp/conceptkuzu_1_1common_1_1_hashable_non_nested_types.html b/cpp/conceptkuzu_1_1common_1_1_hashable_non_nested_types.html index 8775533..f70ed6a 100644 --- a/cpp/conceptkuzu_1_1common_1_1_hashable_non_nested_types.html +++ b/cpp/conceptkuzu_1_1common_1_1_hashable_non_nested_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::HashableNonNestedTypes Concept Reference +Kuzu C++ API: kuzu::common::HashableNonNestedTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -106,7 +106,7 @@

    Concept definition

    concept kuzu::common::HashableNonNestedTypes = (std::integral<T> || std::floating_point<T> ||
    std::is_same_v<T, int128_t> || std::is_same_v<T, internalID_t> ||
    std::is_same_v<T, interval_t> || std::is_same_v<T, ku_string_t>)
    - +
    diff --git a/cpp/conceptkuzu_1_1common_1_1_hashable_primitive.html b/cpp/conceptkuzu_1_1common_1_1_hashable_primitive.html index d695279..5a0ba1f 100644 --- a/cpp/conceptkuzu_1_1common_1_1_hashable_primitive.html +++ b/cpp/conceptkuzu_1_1common_1_1_hashable_primitive.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::HashablePrimitive Concept Reference +Kuzu C++ API: kuzu::common::HashablePrimitive Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -105,7 +105,7 @@

    Concept definition

    template<typename T>
    concept kuzu::common::HashablePrimitive = ((std::integral<T> && !std::is_same_v<T, bool>) ||
    std::floating_point<T> || std::is_same_v<T, int128_t>)
    -
    Definition types.h:154
    +
    Definition types.h:158
    diff --git a/cpp/conceptkuzu_1_1common_1_1_hashable_types.html b/cpp/conceptkuzu_1_1common_1_1_hashable_types.html index 25e4b9c..1bb7a87 100644 --- a/cpp/conceptkuzu_1_1common_1_1_hashable_types.html +++ b/cpp/conceptkuzu_1_1common_1_1_hashable_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::HashableTypes Concept Reference +Kuzu C++ API: kuzu::common::HashableTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -104,9 +104,9 @@

    Concept definition

    template<typename T>
    -
    Definition types.h:167
    - -
    Definition types.h:171
    +
    Definition types.h:171
    + +
    Definition types.h:175

    diff --git a/cpp/conceptkuzu_1_1common_1_1_index_hashable.html b/cpp/conceptkuzu_1_1common_1_1_index_hashable.html index 3d98b42..b25e735 100644 --- a/cpp/conceptkuzu_1_1common_1_1_index_hashable.html +++ b/cpp/conceptkuzu_1_1common_1_1_index_hashable.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::IndexHashable Concept Reference +Kuzu C++ API: kuzu::common::IndexHashable Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -106,7 +106,7 @@

    Concept definition

    concept kuzu::common::IndexHashable = ((std::integral<T> && !std::is_same_v<T, bool>) || std::floating_point<T> ||
    std::is_same_v<T, int128_t> || std::is_same_v<T, ku_string_t> ||
    std::is_same_v<T, std::string_view> || std::same_as<T, std::string>)
    -
    Definition types.h:157
    +
    Definition types.h:161

    diff --git a/cpp/conceptkuzu_1_1common_1_1_integer_types.html b/cpp/conceptkuzu_1_1common_1_1_integer_types.html index 0cc75a2..1d81371 100644 --- a/cpp/conceptkuzu_1_1common_1_1_integer_types.html +++ b/cpp/conceptkuzu_1_1common_1_1_integer_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::IntegerTypes Concept Reference +Kuzu C++ API: kuzu::common::IntegerTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -104,10 +104,10 @@

    Concept definition

    template<typename T>
    -
    std::is_same_v<T, int8_t> || std::is_same_v<T, int16_t> || std::is_same_v<T, int32_t> ||
    -
    std::is_same_v<T, int64_t> || std::is_same_v<T, uint8_t> || std::is_same_v<T, uint16_t> ||
    -
    std::is_same_v<T, uint32_t> || std::is_same_v<T, uint64_t> || std::is_same_v<T, int128_t>
    -
    Definition types.h:138
    +
    SignedIntegerTypes<T> || std::is_same_v<T, uint8_t> || std::is_same_v<T, uint16_t> ||
    +
    std::is_same_v<T, uint32_t> || std::is_same_v<T, uint64_t>
    +
    Definition types.h:143
    +
    Definition types.h:138
    diff --git a/cpp/conceptkuzu_1_1common_1_1_numeric_types.html b/cpp/conceptkuzu_1_1common_1_1_numeric_types.html index e1acd3a..5f57421 100644 --- a/cpp/conceptkuzu_1_1common_1_1_numeric_types.html +++ b/cpp/conceptkuzu_1_1common_1_1_numeric_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::common::NumericTypes Concept Reference +Kuzu C++ API: kuzu::common::NumericTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -104,8 +104,8 @@

    Concept definition

    template<typename T>
    concept kuzu::common::NumericTypes = IntegerTypes<T> || std::floating_point<T>
    -
    Definition types.h:138
    -
    Definition types.h:147
    +
    Definition types.h:143
    +
    Definition types.h:151

    diff --git a/cpp/structkuzu_1_1function_1_1_clear_warnings_function-members.html b/cpp/conceptkuzu_1_1common_1_1_signed_integer_types.html similarity index 70% rename from cpp/structkuzu_1_1function_1_1_clear_warnings_function-members.html rename to cpp/conceptkuzu_1_1common_1_1_signed_integer_types.html index 044f478..e3ea3bd 100644 --- a/cpp/structkuzu_1_1function_1_1_clear_warnings_function-members.html +++ b/cpp/conceptkuzu_1_1common_1_1_signed_integer_types.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Member List +Kuzu C++ API: kuzu::common::SignedIntegerTypes Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -70,7 +70,7 @@
    @@ -96,19 +96,23 @@
    -
    kuzu::function::ClearWarningsFunction Member List
    +
    kuzu::common::SignedIntegerTypes Concept Reference
    -

    This is the complete list of members for kuzu::function::ClearWarningsFunction, including all inherited members.

    - - - -
    getFunctionSet()kuzu::function::ClearWarningsFunctionstatic
    namekuzu::function::ClearWarningsFunctionstatic
    +

    #include <types.h>

    +

    Concept definition

    +
    template<typename T>
    + +
    std::is_same_v<T, int8_t> || std::is_same_v<T, int16_t> || std::is_same_v<T, int32_t> ||
    +
    std::is_same_v<T, int64_t> || std::is_same_v<T, int128_t>
    +
    Definition types.h:138
    +
    diff --git a/cpp/conceptkuzu_1_1processor_1_1_data_source.html b/cpp/conceptkuzu_1_1processor_1_1_data_source.html index 307875c..9fdb000 100644 --- a/cpp/conceptkuzu_1_1processor_1_1_data_source.html +++ b/cpp/conceptkuzu_1_1processor_1_1_data_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: kuzu::processor::DataSource Concept Reference +Kuzu C++ API: kuzu::processor::DataSource Concept Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/concepts.html b/cpp/concepts.html index 736d8ab..0702557 100644 --- a/cpp/concepts.html +++ b/cpp/concepts.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Concepts +Kuzu C++ API: Concepts @@ -27,7 +27,7 @@ -
    diff --git a/cpp/concepts.js b/cpp/concepts.js index b0ea930..5b5a807 100644 --- a/cpp/concepts.js +++ b/cpp/concepts.js @@ -2,6 +2,7 @@ var concepts = [ [ "kuzu", "namespacekuzu.html", [ [ "common", "namespacekuzu_1_1common.html", [ + [ "SignedIntegerTypes", "conceptkuzu_1_1common_1_1_signed_integer_types.html", null ], [ "IntegerTypes", "conceptkuzu_1_1common_1_1_integer_types.html", null ], [ "FloatingPointTypes", "conceptkuzu_1_1common_1_1_floating_point_types.html", null ], [ "NumericTypes", "conceptkuzu_1_1common_1_1_numeric_types.html", null ], diff --git a/cpp/connection_8h.html b/cpp/connection_8h.html index 33b57f2..d1a224f 100644 --- a/cpp/connection_8h.html +++ b/cpp/connection_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/connection.h File Reference +Kuzu C++ API: headers/connection.h File Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -111,7 +111,7 @@

    Classes

    class  kuzu::main::ConnectionConnection is used to interact with a Database instance. Each Connection is thread-safe. Multiple connections can connect to the same Database instance in a multi-threaded environment. More...
    Connection is used to interact with a Database instance. Each Connection is thread-safe. Multiple connections can connect to the same Database instance in a multi-threaded environment. More...
      @@ -170,7 +170,7 @@
    109
    110 template<typename TR, typename... Args>
    -
    111 void createVectorizedFunction(std::string name, function::scalar_func_exec_t scalarFunc) {
    +
    111 void createVectorizedFunction(std::string name, function::scalar_func_exec_t scalarFunc) {
    112 addScalarFunction(name,
    113 function::UDF::getVectorizedFunction<TR, Args...>(name, std::move(scalarFunc)));
    114 }
    @@ -179,7 +179,7 @@
    116 void createVectorizedFunction(std::string name,
    117 std::vector<common::LogicalTypeID> parameterTypes, common::LogicalTypeID returnType,
    -
    118 function::scalar_func_exec_t scalarFunc) {
    +
    118 function::scalar_func_exec_t scalarFunc) {
    119 addScalarFunction(name, function::UDF::getVectorizedFunction(name, std::move(scalarFunc),
    120 std::move(parameterTypes), returnType));
    121 }
    @@ -248,17 +248,17 @@
    friend class ConnectionQueryAsyncWorker
    Definition connection.h:21
    void createScalarFunction(std::string name, std::vector< common::LogicalTypeID > parameterTypes, common::LogicalTypeID returnType, TR(*udfFunc)(Args...))
    Definition connection.h:98
    KUZU_API std::unique_ptr< QueryResult > query(std::string_view query)
    Executes the given query and returns the result.
    -
    Database class is the main class of KùzuDB. It manages all database components.
    Definition database.h:80
    +
    Database class is the main class of Kuzu. It manages all database components.
    Definition database.h:80
    A prepared statement is a parameterized query which can avoid planning the same query for repeated ex...
    Definition prepared_statement.h:19
    -
    LogicalTypeID
    Definition types.h:173
    +
    LogicalTypeID
    Definition types.h:177
    std::vector< std::unique_ptr< Function > > function_set
    Definition function.h:44
    -
    std::function< void( const std::vector< std::shared_ptr< common::ValueVector > > &, common::ValueVector &, void *)> scalar_func_exec_t
    Definition scalar_function.h:18
    +
    std::function< void(const std::vector< std::shared_ptr< common::ValueVector > > &, const std::vector< common::SelectionVector * > &, common::ValueVector &, common::SelectionVector *, void *)> scalar_func_exec_t
    Definition scalar_function.h:18
    Definition bind_input.h:16
    Definition array_utils.h:7
    -
    static function_set getFunction(std::string name, TR(*udfFunc)(Args...), std::vector< common::LogicalTypeID > parameterTypes, common::LogicalTypeID returnType)
    Definition udf_function.h:235
    -
    static function_set getVectorizedFunction(std::string name, scalar_func_exec_t execFunc)
    Definition udf_function.h:255
    +
    static function_set getFunction(std::string name, TR(*udfFunc)(Args...), std::vector< common::LogicalTypeID > parameterTypes, common::LogicalTypeID returnType)
    Definition udf_function.h:246
    +
    static function_set getVectorizedFunction(std::string name, scalar_func_exec_t execFunc)
    Definition udf_function.h:266
    diff --git a/cpp/const__function__executor_8h.html b/cpp/const__function__executor_8h.html index 5fef67a..c488da9 100644 --- a/cpp/const__function__executor_8h.html +++ b/cpp/const__function__executor_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/const_function_executor.h File Reference +Kuzu C++ API: headers/const_function_executor.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/const__function__executor_8h_source.html b/cpp/const__function__executor_8h_source.html index 1730511..4b837ad 100644 --- a/cpp/const__function__executor_8h_source.html +++ b/cpp/const__function__executor_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/const_function_executor.h Source File +Kuzu C++ API: headers/const_function_executor.h Source File @@ -27,7 +27,7 @@ @@ -111,10 +111,10 @@
    9
    10 template<typename RESULT_TYPE, typename OP>
    -
    11 static void execute(common::ValueVector& result) {
    +
    12 KU_ASSERT(result.state->isFlat());
    13 auto resultValues = (RESULT_TYPE*)result.getData();
    -
    14 auto idx = result.state->getSelVector()[0];
    +
    14 auto idx = sel[0];
    15 KU_ASSERT(idx == 0);
    16 OP::operation(resultValues[idx]);
    17 }
    @@ -125,13 +125,14 @@
    20} // namespace function
    21} // namespace kuzu
    #define KU_ASSERT(condition)
    Definition assert.h:19
    -
    Definition value_vector.h:20
    -
    uint8_t * getData() const
    Definition value_vector.h:99
    -
    std::shared_ptr< DataChunkState > state
    Definition value_vector.h:122
    +
    Definition sel_vector.h:98
    +
    Definition value_vector.h:21
    +
    uint8_t * getData() const
    Definition value_vector.h:119
    +
    std::shared_ptr< DataChunkState > state
    Definition value_vector.h:146
    Definition binary_function_executor.h:6
    Definition array_utils.h:7
    Definition const_function_executor.h:8
    -
    static void execute(common::ValueVector &result)
    Definition const_function_executor.h:11
    +
    static void execute(common::ValueVector &result, common::SelectionVector &sel)
    Definition const_function_executor.h:11
    diff --git a/cpp/constants_8h.html b/cpp/constants_8h.html index 9cc8efd..4a48ad5 100644 --- a/cpp/constants_8h.html +++ b/cpp/constants_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/constants.h File Reference +Kuzu C++ API: headers/constants.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/constants_8h_source.html b/cpp/constants_8h_source.html index 193c94d..ad1438e 100644 --- a/cpp/constants_8h_source.html +++ b/cpp/constants_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/constants.h Source File +Kuzu C++ API: headers/constants.h Source File @@ -27,7 +27,7 @@ @@ -167,207 +167,204 @@
    61#else
    62 static constexpr uint64_t DEFAULT_VM_REGION_MAX_SIZE = static_cast<uint64_t>(1) << 43; // (8TB)
    63#endif
    -
    64 static constexpr uint64_t DEFAULT_BUFFER_POOL_SIZE_FOR_TESTING = 1ull << 26; // (64MB)
    -
    65};
    +
    64};
    + +
    65
    +
    + +
    67 static constexpr char OVERFLOW_FILE_SUFFIX[] = ".ovf";
    +
    68 static constexpr char WAL_FILE_SUFFIX[] = ".wal";
    +
    69 static constexpr char SHADOWING_SUFFIX[] = ".shadow";
    +
    70 static constexpr char INDEX_FILE_SUFFIX[] = ".hindex";
    +
    71 static constexpr char CATALOG_FILE_NAME[] = "catalog.kz";
    +
    72 static constexpr char CATALOG_FILE_NAME_FOR_WAL[] = "catalog.shadow";
    +
    73 static constexpr char DATA_FILE_NAME[] = "data.kz";
    +
    74 static constexpr char METADATA_FILE_NAME[] = "metadata.kz";
    +
    75 static constexpr char METADATA_FILE_NAME_FOR_WAL[] = "metadata.shadow";
    +
    76 static constexpr char LOCK_FILE_NAME[] = ".lock";
    +
    77
    +
    78 // The number of pages that we add at one time when we need to grow a file.
    +
    79 static constexpr uint64_t PAGE_GROUP_SIZE_LOG2 = 10;
    +
    80 static constexpr uint64_t PAGE_GROUP_SIZE = static_cast<uint64_t>(1) << PAGE_GROUP_SIZE_LOG2;
    +
    81 static constexpr uint64_t PAGE_IDX_IN_GROUP_MASK =
    +
    82 (static_cast<uint64_t>(1) << PAGE_GROUP_SIZE_LOG2) - 1;
    +
    83
    +
    84 static constexpr double PACKED_CSR_DENSITY = 0.8;
    +
    85 static constexpr double LEAF_HIGH_CSR_DENSITY = 1.0;
    +
    86
    +
    87 static constexpr uint64_t MAX_NUM_ROWS_IN_TABLE = static_cast<uint64_t>(1) << 62;
    +
    88
    +
    89 static constexpr char TEMP_SPILLING_FILE_NAME[] = ".tmp";
    +
    90};
    -
    66
    -
    - -
    68 static constexpr char OVERFLOW_FILE_SUFFIX[] = ".ovf";
    -
    69 static constexpr char WAL_FILE_SUFFIX[] = ".wal";
    -
    70 static constexpr char SHADOWING_SUFFIX[] = ".shadow";
    -
    71 static constexpr char INDEX_FILE_SUFFIX[] = ".hindex";
    -
    72 static constexpr char CATALOG_FILE_NAME[] = "catalog.kz";
    -
    73 static constexpr char CATALOG_FILE_NAME_FOR_WAL[] = "catalog.shadow";
    -
    74 static constexpr char DATA_FILE_NAME[] = "data.kz";
    -
    75 static constexpr char METADATA_FILE_NAME[] = "metadata.kz";
    -
    76 static constexpr char METADATA_FILE_NAME_FOR_WAL[] = "metadata.shadow";
    -
    77 static constexpr char LOCK_FILE_NAME[] = ".lock";
    -
    78
    -
    79 // The number of pages that we add at one time when we need to grow a file.
    -
    80 static constexpr uint64_t PAGE_GROUP_SIZE_LOG2 = 10;
    -
    81 static constexpr uint64_t PAGE_GROUP_SIZE = static_cast<uint64_t>(1) << PAGE_GROUP_SIZE_LOG2;
    -
    82 static constexpr uint64_t PAGE_IDX_IN_GROUP_MASK =
    -
    83 (static_cast<uint64_t>(1) << PAGE_GROUP_SIZE_LOG2) - 1;
    -
    84
    -
    85 static constexpr double PACKED_CSR_DENSITY = 0.8;
    -
    86 static constexpr double LEAF_HIGH_CSR_DENSITY = 1.0;
    -
    87 // The number of CSR lists in a leaf region.
    -
    88 static constexpr uint64_t CSR_LEAF_REGION_SIZE_LOG2 = 10;
    -
    89 static constexpr uint64_t CSR_LEAF_REGION_SIZE = static_cast<uint64_t>(1)
    -
    91
    -
    92 static constexpr uint64_t MAX_NUM_ROWS_IN_TABLE = static_cast<uint64_t>(1) << 62;
    -
    93
    -
    94 static constexpr char TEMP_SPILLING_FILE_NAME[] = ".tmp";
    -
    95};
    +
    + +
    93 static constexpr char REL_STORAGE_DIRECTION_OPTION[] = "STORAGE_DIRECTION";
    +
    94};
    -
    96
    +
    95
    +
    96// Hash Index Configurations
    - -
    98 static constexpr char REL_STORAGE_DIRECTION_OPTION[] = "STORAGE_DIRECTION";
    -
    99};
    -
    -
    100
    -
    101// Hash Index Configurations
    -
    - -
    103 static constexpr uint16_t SLOT_CAPACITY_BYTES = 256;
    -
    104};
    + +
    98 static constexpr uint16_t SLOT_CAPACITY_BYTES = 256;
    +
    99 static constexpr uint64_t NUM_HASH_INDEXES_LOG2 = 8;
    +
    100 static constexpr uint64_t NUM_HASH_INDEXES = 1 << NUM_HASH_INDEXES_LOG2;
    +
    101};
    -
    105
    -
    - -
    107 // Initial size of buffer for CSV Reader.
    -
    108 static constexpr uint64_t INITIAL_BUFFER_SIZE = 16384;
    -
    109 // This means that we will usually read the entirety of the contents of the file we need for a
    -
    110 // block in one read request. It is also very small, which means we can parallelize small files
    -
    111 // efficiently.
    -
    112 static constexpr uint64_t PARALLEL_BLOCK_SIZE = INITIAL_BUFFER_SIZE / 2;
    -
    113
    -
    114 static constexpr const char* IGNORE_ERRORS_OPTION_NAME = "IGNORE_ERRORS";
    +
    102
    +
    + +
    104 // Initial size of buffer for CSV Reader.
    +
    105 static constexpr uint64_t INITIAL_BUFFER_SIZE = 16384;
    +
    106 // This means that we will usually read the entirety of the contents of the file we need for a
    +
    107 // block in one read request. It is also very small, which means we can parallelize small files
    +
    108 // efficiently.
    +
    109 static constexpr uint64_t PARALLEL_BLOCK_SIZE = INITIAL_BUFFER_SIZE / 2;
    +
    110
    +
    111 static constexpr const char* IGNORE_ERRORS_OPTION_NAME = "IGNORE_ERRORS";
    +
    112
    +
    113 static constexpr const char* FROM_OPTION_NAME = "FROM";
    +
    114 static constexpr const char* TO_OPTION_NAME = "TO";
    115
    -
    116 static constexpr const char* FROM_OPTION_NAME = "FROM";
    -
    117 static constexpr const char* TO_OPTION_NAME = "TO";
    -
    118
    -
    -
    119 static constexpr const char* BOOL_CSV_PARSING_OPTIONS[] = {"HEADER", "PARALLEL",
    -
    120 "LIST_UNBRACED", "AUTODETECT", "AUTO_DETECT", CopyConstants::IGNORE_ERRORS_OPTION_NAME};
    +
    +
    116 static constexpr const char* BOOL_CSV_PARSING_OPTIONS[] = {"HEADER", "PARALLEL",
    +
    117 "LIST_UNBRACED", "AUTODETECT", "AUTO_DETECT", CopyConstants::IGNORE_ERRORS_OPTION_NAME};
    -
    121 static constexpr bool DEFAULT_CSV_HAS_HEADER = false;
    -
    122 static constexpr bool DEFAULT_CSV_PARALLEL = true;
    -
    123
    -
    124 // Default configuration for csv file parsing
    -
    -
    125 static constexpr const char* STRING_CSV_PARSING_OPTIONS[] = {"ESCAPE", "DELIM", "DELIMITER",
    -
    126 "QUOTE"};
    +
    118 static constexpr bool DEFAULT_CSV_HAS_HEADER = false;
    +
    119 static constexpr bool DEFAULT_CSV_PARALLEL = true;
    +
    120
    +
    121 // Default configuration for csv file parsing
    +
    +
    122 static constexpr const char* STRING_CSV_PARSING_OPTIONS[] = {"ESCAPE", "DELIM", "DELIMITER",
    +
    123 "QUOTE"};
    -
    127 static constexpr char DEFAULT_CSV_ESCAPE_CHAR = '"';
    -
    128 static constexpr char DEFAULT_CSV_DELIMITER = ',';
    -
    129 static constexpr bool DEFAULT_CSV_ALLOW_UNBRACED_LIST = false;
    -
    130 static constexpr char DEFAULT_CSV_QUOTE_CHAR = '"';
    -
    131 static constexpr char DEFAULT_CSV_LIST_BEGIN_CHAR = '[';
    -
    132 static constexpr char DEFAULT_CSV_LIST_END_CHAR = ']';
    -
    133 static constexpr bool DEFAULT_IGNORE_ERRORS = false;
    -
    134 static constexpr bool DEFAULT_CSV_AUTO_DETECT = true;
    -
    135 static constexpr bool DEFAULT_CSV_SET_DIALECT = false;
    -
    136 static constexpr std::array DEFAULT_CSV_DELIMITER_SEARCH_SPACE = {',', ';', '\t', '|'};
    -
    137 static constexpr std::array DEFAULT_CSV_QUOTE_SEARCH_SPACE = {'"', '\''};
    -
    138 static constexpr std::array DEFAULT_CSV_ESCAPE_SEARCH_SPACE = {'"', '\\', '\''};
    -
    139
    -
    140 static constexpr const char* INT_CSV_PARSING_OPTIONS[] = {"SKIP", "SAMPLE_SIZE"};
    -
    141 static constexpr uint64_t DEFAULT_CSV_SKIP_NUM = 0;
    -
    142 static constexpr uint64_t DEFAULT_CSV_TYPE_DEDUCTION_SAMPLE_SIZE = 256;
    -
    143
    -
    144 // metadata columns used to populate CSV warnings
    -
    -
    145 static constexpr std::array SHARED_WARNING_DATA_COLUMN_NAMES = {"blockIdx", "offsetInBlock",
    -
    146 "startByteOffset", "endByteOffset"};
    +
    124 static constexpr char DEFAULT_CSV_ESCAPE_CHAR = '"';
    +
    125 static constexpr char DEFAULT_CSV_DELIMITER = ',';
    +
    126 static constexpr bool DEFAULT_CSV_ALLOW_UNBRACED_LIST = false;
    +
    127 static constexpr char DEFAULT_CSV_QUOTE_CHAR = '"';
    +
    128 static constexpr char DEFAULT_CSV_LIST_BEGIN_CHAR = '[';
    +
    129 static constexpr char DEFAULT_CSV_LIST_END_CHAR = ']';
    +
    130 static constexpr bool DEFAULT_IGNORE_ERRORS = false;
    +
    131 static constexpr bool DEFAULT_CSV_AUTO_DETECT = true;
    +
    132 static constexpr bool DEFAULT_CSV_SET_DIALECT = false;
    +
    133 static constexpr std::array DEFAULT_CSV_DELIMITER_SEARCH_SPACE = {',', ';', '\t', '|'};
    +
    134 static constexpr std::array DEFAULT_CSV_QUOTE_SEARCH_SPACE = {'"', '\''};
    +
    135 static constexpr std::array DEFAULT_CSV_ESCAPE_SEARCH_SPACE = {'"', '\\', '\''};
    +
    136
    +
    137 static constexpr const char* INT_CSV_PARSING_OPTIONS[] = {"SKIP", "SAMPLE_SIZE"};
    +
    138 static constexpr uint64_t DEFAULT_CSV_SKIP_NUM = 0;
    +
    139 static constexpr uint64_t DEFAULT_CSV_TYPE_DEDUCTION_SAMPLE_SIZE = 256;
    +
    140
    +
    141 // metadata columns used to populate CSV warnings
    +
    +
    142 static constexpr std::array SHARED_WARNING_DATA_COLUMN_NAMES = {"blockIdx", "offsetInBlock",
    +
    143 "startByteOffset", "endByteOffset"};
    -
    - - + - - + + +
    148
    +
    149 static constexpr std::array CSV_SPECIFIC_WARNING_DATA_COLUMN_NAMES = {"fileIdx"};
    +
    151
    -
    152 static constexpr std::array CSV_SPECIFIC_WARNING_DATA_COLUMN_NAMES = {"fileIdx"};
    - -
    154
    -
    155 static constexpr std::array CSV_WARNING_DATA_COLUMN_NAMES =
    - -
    157 static constexpr std::array CSV_WARNING_DATA_COLUMN_TYPES =
    - - - - +
    152 static constexpr std::array CSV_WARNING_DATA_COLUMN_NAMES =
    + +
    154 static constexpr std::array CSV_WARNING_DATA_COLUMN_TYPES =
    + + + + +
    159
    + +
    161};
    +
    162
    - -
    164};
    +
    + +
    164 static constexpr double NON_EQUALITY_PREDICATE_SELECTIVITY = 0.1;
    +
    165 static constexpr double EQUALITY_PREDICATE_SELECTIVITY = 0.01;
    +
    166 static constexpr uint64_t BUILD_PENALTY = 2;
    +
    167 // Avoid doing probe to build SIP if we have to accumulate a probe side that is much bigger than
    +
    168 // build side. Also avoid doing build to probe SIP if probe side is not much bigger than build.
    +
    169 static constexpr uint64_t SIP_RATIO = 5;
    +
    170};
    -
    165
    -
    - -
    167 static constexpr double NON_EQUALITY_PREDICATE_SELECTIVITY = 0.1;
    -
    168 static constexpr double EQUALITY_PREDICATE_SELECTIVITY = 0.01;
    -
    169 static constexpr uint64_t BUILD_PENALTY = 2;
    -
    170 // Avoid doing probe to build SIP if we have to accumulate a probe side that is much bigger than
    -
    171 // build side. Also avoid doing build to probe SIP if probe side is not much bigger than build.
    -
    172 static constexpr uint64_t SIP_RATIO = 5;
    -
    173};
    +
    171
    +
    + +
    173 static constexpr uint64_t NUM_BYTES_FOR_PAYLOAD_IDX = 8;
    +
    174 static constexpr uint64_t MIN_LIMIT_RATIO_TO_REDUCE = 2;
    +
    175};
    -
    174
    -
    - -
    176 static constexpr uint64_t NUM_BYTES_FOR_PAYLOAD_IDX = 8;
    -
    177 static constexpr uint64_t MIN_LIMIT_RATIO_TO_REDUCE = 2;
    -
    178};
    +
    176
    +
    + +
    178 static constexpr uint64_t PARQUET_DEFINE_VALID = 65535;
    +
    179 static constexpr const char* PARQUET_MAGIC_WORDS = "PAR1";
    +
    180 // We limit the uncompressed page size to 100MB.
    +
    181 // The max size in Parquet is 2GB, but we choose a more conservative limit.
    +
    182 static constexpr uint64_t MAX_UNCOMPRESSED_PAGE_SIZE = 100000000;
    +
    183 // Dictionary pages must be below 2GB. Unlike data pages, there's only one dictionary page.
    +
    184 // For this reason we go with a much higher, but still a conservative upper bound of 1GB.
    +
    185 static constexpr uint64_t MAX_UNCOMPRESSED_DICT_PAGE_SIZE = 1e9;
    +
    186 // The maximum size a key entry in an RLE page takes.
    +
    187 static constexpr uint64_t MAX_DICTIONARY_KEY_SIZE = sizeof(uint32_t);
    +
    188 // The size of encoding the string length.
    +
    189 static constexpr uint64_t STRING_LENGTH_SIZE = sizeof(uint32_t);
    +
    190 static constexpr uint64_t MAX_STRING_STATISTICS_SIZE = 10000;
    +
    191 static constexpr uint64_t PARQUET_INTERVAL_SIZE = 12;
    +
    192 static constexpr uint64_t PARQUET_UUID_SIZE = 16;
    +
    193};
    -
    179
    -
    - -
    181 static constexpr uint64_t PARQUET_DEFINE_VALID = 65535;
    -
    182 static constexpr const char* PARQUET_MAGIC_WORDS = "PAR1";
    -
    183 // We limit the uncompressed page size to 100MB.
    -
    184 // The max size in Parquet is 2GB, but we choose a more conservative limit.
    -
    185 static constexpr uint64_t MAX_UNCOMPRESSED_PAGE_SIZE = 100000000;
    -
    186 // Dictionary pages must be below 2GB. Unlike data pages, there's only one dictionary page.
    -
    187 // For this reason we go with a much higher, but still a conservative upper bound of 1GB.
    -
    188 static constexpr uint64_t MAX_UNCOMPRESSED_DICT_PAGE_SIZE = 1e9;
    -
    189 // The maximum size a key entry in an RLE page takes.
    -
    190 static constexpr uint64_t MAX_DICTIONARY_KEY_SIZE = sizeof(uint32_t);
    -
    191 // The size of encoding the string length.
    -
    192 static constexpr uint64_t STRING_LENGTH_SIZE = sizeof(uint32_t);
    -
    193 static constexpr uint64_t MAX_STRING_STATISTICS_SIZE = 10000;
    -
    194 static constexpr uint64_t PARQUET_INTERVAL_SIZE = 12;
    -
    195 static constexpr uint64_t PARQUET_UUID_SIZE = 16;
    -
    196};
    +
    194
    +
    + +
    196 static constexpr const char* DEFAULT_CSV_NEWLINE = "\n";
    +
    197 static constexpr const char* DEFAULT_NULL_STR = "";
    +
    198 static constexpr bool DEFAULT_FORCE_QUOTE = false;
    +
    199 static constexpr uint64_t DEFAULT_CSV_FLUSH_SIZE = 4096 * 8;
    +
    200};
    -
    197
    -
    - -
    199 static constexpr const char* DEFAULT_CSV_NEWLINE = "\n";
    -
    200 static constexpr const char* DEFAULT_NULL_STR = "";
    -
    201 static constexpr bool DEFAULT_FORCE_QUOTE = false;
    -
    202 static constexpr uint64_t DEFAULT_CSV_FLUSH_SIZE = 4096 * 8;
    -
    203};
    +
    201
    +
    + +
    203 static constexpr char INDEX_FILE_NAME[] = "index.cypher";
    +
    204 static constexpr char SCHEMA_FILE_NAME[] = "schema.cypher";
    +
    205 static constexpr char COPY_FILE_NAME[] = "copy.cypher";
    +
    206};
    -
    204
    -
    - -
    206 static constexpr char INDEX_FILE_NAME[] = "index.cypher";
    -
    207 static constexpr char SCHEMA_FILE_NAME[] = "schema.cypher";
    -
    208 static constexpr char COPY_FILE_NAME[] = "copy.cypher";
    -
    209};
    +
    207
    +
    + +
    +
    209 static constexpr std::array WARNING_TABLE_COLUMN_NAMES{"query_id", "message", "file_path",
    +
    210 "line_number", "skipped_line_or_record"};
    -
    210
    - -
    -
    212 static constexpr std::array WARNING_TABLE_COLUMN_NAMES{"query_id", "message", "file_path",
    -
    213 "line_number", "skipped_line_or_record"};
    + +
    - -
    216 static constexpr uint64_t WARNING_TABLE_NUM_COLUMNS = WARNING_TABLE_COLUMN_NAMES.size();
    217
    - -
    219};
    -
    -
    220
    -
    221static constexpr char ATTACHED_KUZU_DB_TYPE[] = "KUZU";
    -
    222
    -
    223static constexpr char LOCAL_DB_NAME[] = "local(kuzu)";
    -
    224
    -
    225constexpr auto DECIMAL_PRECISION_LIMIT = 38;
    -
    226
    -
    227} // namespace common
    -
    228} // namespace kuzu
    +
    218static constexpr char ATTACHED_KUZU_DB_TYPE[] = "KUZU";
    +
    219
    +
    220static constexpr char LOCAL_DB_NAME[] = "local(kuzu)";
    +
    221
    +
    222constexpr auto DECIMAL_PRECISION_LIMIT = 38;
    +
    223
    +
    224} // namespace common
    +
    225} // namespace kuzu
    Definition array_utils.h:7
    -
    constexpr auto DECIMAL_PRECISION_LIMIT
    Definition constants.h:225
    +
    constexpr auto DECIMAL_PRECISION_LIMIT
    Definition constants.h:222
    constexpr std::array< T, N1+N2 > arrayConcat(const std::array< T, N1 > &arr1, const std::array< T, N2 > &arr2)
    Definition array_utils.h:9
    constexpr uint64_t CHUNK_RESIZE_RATIO
    Definition constants.h:25
    constexpr double DEFAULT_HT_LOAD_FACTOR
    Definition constants.h:15
    @@ -378,55 +375,56 @@
    @ TEMP_PAGE
    Definition constants.h:49
    @ REGULAR_PAGE
    Definition constants.h:48
    constexpr uint64_t DEFAULT_CHECKPOINT_WAIT_TIMEOUT_IN_MICROS
    Definition constants.h:21
    -
    @ UINT32
    Definition types.h:188
    -
    @ STRING
    Definition types.h:204
    -
    @ UINT64
    Definition types.h:187
    +
    @ UINT32
    Definition types.h:192
    +
    @ STRING
    Definition types.h:208
    +
    @ UINT64
    Definition types.h:191
    Definition array_utils.h:7
    Definition constants.h:52
    static constexpr uint64_t DEFAULT_VM_REGION_MAX_SIZE
    Definition constants.h:62
    -
    static constexpr uint64_t DEFAULT_BUFFER_POOL_SIZE_FOR_TESTING
    Definition constants.h:64
    static constexpr double DEFAULT_PHY_MEM_SIZE_RATIO_FOR_BM
    Definition constants.h:55
    -
    Definition constants.h:106
    -
    static constexpr const char * STRING_CSV_PARSING_OPTIONS[]
    Definition constants.h:125
    -
    static constexpr char DEFAULT_CSV_DELIMITER
    Definition constants.h:128
    -
    static constexpr uint64_t DEFAULT_CSV_SKIP_NUM
    Definition constants.h:141
    -
    static constexpr std::array CSV_SPECIFIC_WARNING_DATA_COLUMN_NAMES
    Definition constants.h:152
    -
    static constexpr bool DEFAULT_CSV_AUTO_DETECT
    Definition constants.h:134
    -
    static constexpr std::array SHARED_WARNING_DATA_COLUMN_NAMES
    Definition constants.h:145
    -
    static constexpr std::array CSV_SPECIFIC_WARNING_DATA_COLUMN_TYPES
    Definition constants.h:153
    -
    static constexpr uint64_t DEFAULT_CSV_TYPE_DEDUCTION_SAMPLE_SIZE
    Definition constants.h:142
    -
    static constexpr const char * INT_CSV_PARSING_OPTIONS[]
    Definition constants.h:140
    -
    static constexpr std::array DEFAULT_CSV_QUOTE_SEARCH_SPACE
    Definition constants.h:137
    -
    static constexpr char DEFAULT_CSV_QUOTE_CHAR
    Definition constants.h:130
    -
    static constexpr char DEFAULT_CSV_LIST_BEGIN_CHAR
    Definition constants.h:131
    -
    static constexpr const char * TO_OPTION_NAME
    Definition constants.h:117
    -
    static constexpr bool DEFAULT_CSV_ALLOW_UNBRACED_LIST
    Definition constants.h:129
    -
    static constexpr const char * BOOL_CSV_PARSING_OPTIONS[]
    Definition constants.h:119
    -
    static constexpr bool DEFAULT_CSV_SET_DIALECT
    Definition constants.h:135
    -
    static constexpr column_id_t CSV_WARNING_DATA_NUM_COLUMNS
    Definition constants.h:159
    -
    static constexpr std::array CSV_WARNING_DATA_COLUMN_TYPES
    Definition constants.h:157
    -
    static constexpr bool DEFAULT_IGNORE_ERRORS
    Definition constants.h:133
    -
    static constexpr column_id_t MAX_NUM_WARNING_DATA_COLUMNS
    Definition constants.h:163
    -
    static constexpr std::array DEFAULT_CSV_DELIMITER_SEARCH_SPACE
    Definition constants.h:136
    -
    static constexpr const char * IGNORE_ERRORS_OPTION_NAME
    Definition constants.h:114
    -
    static constexpr uint64_t PARALLEL_BLOCK_SIZE
    Definition constants.h:112
    -
    static constexpr std::array SHARED_WARNING_DATA_COLUMN_TYPES
    Definition constants.h:147
    -
    static constexpr column_id_t SHARED_WARNING_DATA_NUM_COLUMNS
    Definition constants.h:149
    -
    static constexpr const char * FROM_OPTION_NAME
    Definition constants.h:116
    -
    static constexpr bool DEFAULT_CSV_HAS_HEADER
    Definition constants.h:121
    -
    static constexpr bool DEFAULT_CSV_PARALLEL
    Definition constants.h:122
    -
    static constexpr char DEFAULT_CSV_LIST_END_CHAR
    Definition constants.h:132
    -
    static constexpr uint64_t INITIAL_BUFFER_SIZE
    Definition constants.h:108
    -
    static constexpr char DEFAULT_CSV_ESCAPE_CHAR
    Definition constants.h:127
    -
    static constexpr std::array CSV_WARNING_DATA_COLUMN_NAMES
    Definition constants.h:155
    -
    static constexpr std::array DEFAULT_CSV_ESCAPE_SEARCH_SPACE
    Definition constants.h:138
    -
    Definition constants.h:198
    -
    static constexpr const char * DEFAULT_CSV_NEWLINE
    Definition constants.h:199
    -
    static constexpr uint64_t DEFAULT_CSV_FLUSH_SIZE
    Definition constants.h:202
    -
    static constexpr const char * DEFAULT_NULL_STR
    Definition constants.h:200
    -
    static constexpr bool DEFAULT_FORCE_QUOTE
    Definition constants.h:201
    -
    Definition constants.h:102
    -
    static constexpr uint16_t SLOT_CAPACITY_BYTES
    Definition constants.h:103
    +
    Definition constants.h:103
    +
    static constexpr const char * STRING_CSV_PARSING_OPTIONS[]
    Definition constants.h:122
    +
    static constexpr char DEFAULT_CSV_DELIMITER
    Definition constants.h:125
    +
    static constexpr uint64_t DEFAULT_CSV_SKIP_NUM
    Definition constants.h:138
    +
    static constexpr std::array CSV_SPECIFIC_WARNING_DATA_COLUMN_NAMES
    Definition constants.h:149
    +
    static constexpr bool DEFAULT_CSV_AUTO_DETECT
    Definition constants.h:131
    +
    static constexpr std::array SHARED_WARNING_DATA_COLUMN_NAMES
    Definition constants.h:142
    +
    static constexpr std::array CSV_SPECIFIC_WARNING_DATA_COLUMN_TYPES
    Definition constants.h:150
    +
    static constexpr uint64_t DEFAULT_CSV_TYPE_DEDUCTION_SAMPLE_SIZE
    Definition constants.h:139
    +
    static constexpr const char * INT_CSV_PARSING_OPTIONS[]
    Definition constants.h:137
    +
    static constexpr std::array DEFAULT_CSV_QUOTE_SEARCH_SPACE
    Definition constants.h:134
    +
    static constexpr char DEFAULT_CSV_QUOTE_CHAR
    Definition constants.h:127
    +
    static constexpr char DEFAULT_CSV_LIST_BEGIN_CHAR
    Definition constants.h:128
    +
    static constexpr const char * TO_OPTION_NAME
    Definition constants.h:114
    +
    static constexpr bool DEFAULT_CSV_ALLOW_UNBRACED_LIST
    Definition constants.h:126
    +
    static constexpr const char * BOOL_CSV_PARSING_OPTIONS[]
    Definition constants.h:116
    +
    static constexpr bool DEFAULT_CSV_SET_DIALECT
    Definition constants.h:132
    +
    static constexpr column_id_t CSV_WARNING_DATA_NUM_COLUMNS
    Definition constants.h:156
    +
    static constexpr std::array CSV_WARNING_DATA_COLUMN_TYPES
    Definition constants.h:154
    +
    static constexpr bool DEFAULT_IGNORE_ERRORS
    Definition constants.h:130
    +
    static constexpr column_id_t MAX_NUM_WARNING_DATA_COLUMNS
    Definition constants.h:160
    +
    static constexpr std::array DEFAULT_CSV_DELIMITER_SEARCH_SPACE
    Definition constants.h:133
    +
    static constexpr const char * IGNORE_ERRORS_OPTION_NAME
    Definition constants.h:111
    +
    static constexpr uint64_t PARALLEL_BLOCK_SIZE
    Definition constants.h:109
    +
    static constexpr std::array SHARED_WARNING_DATA_COLUMN_TYPES
    Definition constants.h:144
    +
    static constexpr column_id_t SHARED_WARNING_DATA_NUM_COLUMNS
    Definition constants.h:146
    +
    static constexpr const char * FROM_OPTION_NAME
    Definition constants.h:113
    +
    static constexpr bool DEFAULT_CSV_HAS_HEADER
    Definition constants.h:118
    +
    static constexpr bool DEFAULT_CSV_PARALLEL
    Definition constants.h:119
    +
    static constexpr char DEFAULT_CSV_LIST_END_CHAR
    Definition constants.h:129
    +
    static constexpr uint64_t INITIAL_BUFFER_SIZE
    Definition constants.h:105
    +
    static constexpr char DEFAULT_CSV_ESCAPE_CHAR
    Definition constants.h:124
    +
    static constexpr std::array CSV_WARNING_DATA_COLUMN_NAMES
    Definition constants.h:152
    +
    static constexpr std::array DEFAULT_CSV_ESCAPE_SEARCH_SPACE
    Definition constants.h:135
    +
    Definition constants.h:195
    +
    static constexpr const char * DEFAULT_CSV_NEWLINE
    Definition constants.h:196
    +
    static constexpr uint64_t DEFAULT_CSV_FLUSH_SIZE
    Definition constants.h:199
    +
    static constexpr const char * DEFAULT_NULL_STR
    Definition constants.h:197
    +
    static constexpr bool DEFAULT_FORCE_QUOTE
    Definition constants.h:198
    +
    Definition constants.h:97
    +
    static constexpr uint64_t NUM_HASH_INDEXES
    Definition constants.h:100
    +
    static constexpr uint64_t NUM_HASH_INDEXES_LOG2
    Definition constants.h:99
    +
    static constexpr uint16_t SLOT_CAPACITY_BYTES
    Definition constants.h:98
    Definition constants.h:27
    static constexpr char STAR[]
    Definition constants.h:37
    static constexpr char LENGTH[]
    Definition constants.h:34
    @@ -444,54 +442,52 @@
    static constexpr char LABEL[]
    Definition constants.h:30
    static constexpr char NODES[]
    Definition constants.h:35
    static constexpr char ANONYMOUS[]
    Definition constants.h:28
    -
    Definition constants.h:175
    -
    static constexpr uint64_t MIN_LIMIT_RATIO_TO_REDUCE
    Definition constants.h:177
    -
    static constexpr uint64_t NUM_BYTES_FOR_PAYLOAD_IDX
    Definition constants.h:176
    -
    Definition constants.h:180
    -
    static constexpr uint64_t PARQUET_DEFINE_VALID
    Definition constants.h:181
    -
    static constexpr uint64_t PARQUET_UUID_SIZE
    Definition constants.h:195
    -
    static constexpr uint64_t MAX_UNCOMPRESSED_PAGE_SIZE
    Definition constants.h:185
    -
    static constexpr uint64_t STRING_LENGTH_SIZE
    Definition constants.h:192
    -
    static constexpr uint64_t MAX_STRING_STATISTICS_SIZE
    Definition constants.h:193
    -
    static constexpr uint64_t MAX_DICTIONARY_KEY_SIZE
    Definition constants.h:190
    -
    static constexpr const char * PARQUET_MAGIC_WORDS
    Definition constants.h:182
    -
    static constexpr uint64_t MAX_UNCOMPRESSED_DICT_PAGE_SIZE
    Definition constants.h:188
    -
    static constexpr uint64_t PARQUET_INTERVAL_SIZE
    Definition constants.h:194
    -
    Definition constants.h:166
    -
    static constexpr double NON_EQUALITY_PREDICATE_SELECTIVITY
    Definition constants.h:167
    -
    static constexpr double EQUALITY_PREDICATE_SELECTIVITY
    Definition constants.h:168
    -
    static constexpr uint64_t BUILD_PENALTY
    Definition constants.h:169
    -
    static constexpr uint64_t SIP_RATIO
    Definition constants.h:172
    -
    Definition constants.h:205
    -
    static constexpr char SCHEMA_FILE_NAME[]
    Definition constants.h:207
    -
    static constexpr char INDEX_FILE_NAME[]
    Definition constants.h:206
    -
    static constexpr char COPY_FILE_NAME[]
    Definition constants.h:208
    -
    Definition constants.h:67
    -
    static constexpr char CATALOG_FILE_NAME_FOR_WAL[]
    Definition constants.h:73
    -
    static constexpr char CATALOG_FILE_NAME[]
    Definition constants.h:72
    -
    static constexpr char METADATA_FILE_NAME_FOR_WAL[]
    Definition constants.h:76
    -
    static constexpr char TEMP_SPILLING_FILE_NAME[]
    Definition constants.h:94
    -
    static constexpr char WAL_FILE_SUFFIX[]
    Definition constants.h:69
    -
    static constexpr char LOCK_FILE_NAME[]
    Definition constants.h:77
    -
    static constexpr uint64_t MAX_NUM_ROWS_IN_TABLE
    Definition constants.h:92
    -
    static constexpr uint64_t CSR_LEAF_REGION_SIZE
    Definition constants.h:89
    -
    static constexpr char METADATA_FILE_NAME[]
    Definition constants.h:75
    -
    static constexpr uint64_t PAGE_IDX_IN_GROUP_MASK
    Definition constants.h:82
    -
    static constexpr char OVERFLOW_FILE_SUFFIX[]
    Definition constants.h:68
    -
    static constexpr uint64_t CSR_LEAF_REGION_SIZE_LOG2
    Definition constants.h:88
    -
    static constexpr char SHADOWING_SUFFIX[]
    Definition constants.h:70
    -
    static constexpr uint64_t PAGE_GROUP_SIZE
    Definition constants.h:81
    -
    static constexpr char DATA_FILE_NAME[]
    Definition constants.h:74
    -
    static constexpr char INDEX_FILE_SUFFIX[]
    Definition constants.h:71
    -
    static constexpr double PACKED_CSR_DENSITY
    Definition constants.h:85
    -
    static constexpr uint64_t PAGE_GROUP_SIZE_LOG2
    Definition constants.h:80
    -
    static constexpr double LEAF_HIGH_CSR_DENSITY
    Definition constants.h:86
    -
    Definition constants.h:97
    -
    static constexpr char REL_STORAGE_DIRECTION_OPTION[]
    Definition constants.h:98
    -
    Definition constants.h:211
    -
    static constexpr std::array WARNING_TABLE_COLUMN_DATA_TYPES
    Definition constants.h:214
    -
    static constexpr std::array WARNING_TABLE_COLUMN_NAMES
    Definition constants.h:212
    -
    static constexpr uint64_t WARNING_TABLE_NUM_COLUMNS
    Definition constants.h:216
    +
    Definition constants.h:172
    +
    static constexpr uint64_t MIN_LIMIT_RATIO_TO_REDUCE
    Definition constants.h:174
    +
    static constexpr uint64_t NUM_BYTES_FOR_PAYLOAD_IDX
    Definition constants.h:173
    +
    Definition constants.h:177
    +
    static constexpr uint64_t PARQUET_DEFINE_VALID
    Definition constants.h:178
    +
    static constexpr uint64_t PARQUET_UUID_SIZE
    Definition constants.h:192
    +
    static constexpr uint64_t MAX_UNCOMPRESSED_PAGE_SIZE
    Definition constants.h:182
    +
    static constexpr uint64_t STRING_LENGTH_SIZE
    Definition constants.h:189
    +
    static constexpr uint64_t MAX_STRING_STATISTICS_SIZE
    Definition constants.h:190
    +
    static constexpr uint64_t MAX_DICTIONARY_KEY_SIZE
    Definition constants.h:187
    +
    static constexpr const char * PARQUET_MAGIC_WORDS
    Definition constants.h:179
    +
    static constexpr uint64_t MAX_UNCOMPRESSED_DICT_PAGE_SIZE
    Definition constants.h:185
    +
    static constexpr uint64_t PARQUET_INTERVAL_SIZE
    Definition constants.h:191
    +
    Definition constants.h:163
    +
    static constexpr double NON_EQUALITY_PREDICATE_SELECTIVITY
    Definition constants.h:164
    +
    static constexpr double EQUALITY_PREDICATE_SELECTIVITY
    Definition constants.h:165
    +
    static constexpr uint64_t BUILD_PENALTY
    Definition constants.h:166
    +
    static constexpr uint64_t SIP_RATIO
    Definition constants.h:169
    +
    Definition constants.h:202
    +
    static constexpr char SCHEMA_FILE_NAME[]
    Definition constants.h:204
    +
    static constexpr char INDEX_FILE_NAME[]
    Definition constants.h:203
    +
    static constexpr char COPY_FILE_NAME[]
    Definition constants.h:205
    +
    Definition constants.h:66
    +
    static constexpr char CATALOG_FILE_NAME_FOR_WAL[]
    Definition constants.h:72
    +
    static constexpr char CATALOG_FILE_NAME[]
    Definition constants.h:71
    +
    static constexpr char METADATA_FILE_NAME_FOR_WAL[]
    Definition constants.h:75
    +
    static constexpr char TEMP_SPILLING_FILE_NAME[]
    Definition constants.h:89
    +
    static constexpr char WAL_FILE_SUFFIX[]
    Definition constants.h:68
    +
    static constexpr char LOCK_FILE_NAME[]
    Definition constants.h:76
    +
    static constexpr uint64_t MAX_NUM_ROWS_IN_TABLE
    Definition constants.h:87
    +
    static constexpr char METADATA_FILE_NAME[]
    Definition constants.h:74
    +
    static constexpr uint64_t PAGE_IDX_IN_GROUP_MASK
    Definition constants.h:81
    +
    static constexpr char OVERFLOW_FILE_SUFFIX[]
    Definition constants.h:67
    +
    static constexpr char SHADOWING_SUFFIX[]
    Definition constants.h:69
    +
    static constexpr uint64_t PAGE_GROUP_SIZE
    Definition constants.h:80
    +
    static constexpr char DATA_FILE_NAME[]
    Definition constants.h:73
    +
    static constexpr char INDEX_FILE_SUFFIX[]
    Definition constants.h:70
    +
    static constexpr double PACKED_CSR_DENSITY
    Definition constants.h:84
    +
    static constexpr uint64_t PAGE_GROUP_SIZE_LOG2
    Definition constants.h:79
    +
    static constexpr double LEAF_HIGH_CSR_DENSITY
    Definition constants.h:85
    +
    Definition constants.h:92
    +
    static constexpr char REL_STORAGE_DIRECTION_OPTION[]
    Definition constants.h:93
    +
    Definition constants.h:208
    +
    static constexpr std::array WARNING_TABLE_COLUMN_DATA_TYPES
    Definition constants.h:211
    +
    static constexpr std::array WARNING_TABLE_COLUMN_NAMES
    Definition constants.h:209
    +
    static constexpr uint64_t WARNING_TABLE_NUM_COLUMNS
    Definition constants.h:213
    diff --git a/cpp/copy__constructors_8h.html b/cpp/copy__constructors_8h.html index ed33193..3d8be45 100644 --- a/cpp/copy__constructors_8h.html +++ b/cpp/copy__constructors_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/copy_constructors.h File Reference +Kuzu C++ API: headers/copy_constructors.h File Reference @@ -27,7 +27,7 @@
    diff --git a/cpp/copy__constructors_8h_source.html b/cpp/copy__constructors_8h_source.html index a6ff644..0efa2ab 100644 --- a/cpp/copy__constructors_8h_source.html +++ b/cpp/copy__constructors_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/copy_constructors.h Source File +Kuzu C++ API: headers/copy_constructors.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/copy__from__error_8h.html b/cpp/copy__from__error_8h.html index 0f386eb..84ad587 100644 --- a/cpp/copy__from__error_8h.html +++ b/cpp/copy__from__error_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/copy_from_error.h File Reference +Kuzu C++ API: headers/copy_from_error.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/copy__from__error_8h_source.html b/cpp/copy__from__error_8h_source.html index 4fe3b52..cd38ced 100644 --- a/cpp/copy__from__error_8h_source.html +++ b/cpp/copy__from__error_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/copy_from_error.h Source File +Kuzu C++ API: headers/copy_from_error.h Source File @@ -27,7 +27,7 @@ @@ -232,7 +232,7 @@
    #define KUZU_API
    Definition api.h:25
    #define KU_ASSERT(condition)
    Definition assert.h:19
    static void paramPackForEach(const Func &func, Types &&... values)
    Definition type_utils.h:35
    -
    Definition value_vector.h:20
    +
    Definition value_vector.h:21
    Definition copy_from_error.h:24
    Definition array_utils.h:7
    diff --git a/cpp/csv__reader__config_8h.html b/cpp/csv__reader__config_8h.html index 50a4207..6d994ae 100644 --- a/cpp/csv__reader__config_8h.html +++ b/cpp/csv__reader__config_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/csv_reader_config.h File Reference +Kuzu C++ API: headers/csv_reader_config.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/csv__reader__config_8h_source.html b/cpp/csv__reader__config_8h_source.html index f2e79fc..b8ab7e7 100644 --- a/cpp/csv__reader__config_8h_source.html +++ b/cpp/csv__reader__config_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/csv_reader_config.h Source File +Kuzu C++ API: headers/csv_reader_config.h Source File @@ -27,7 +27,7 @@ @@ -246,7 +246,7 @@
    bool parallel
    Definition csv_reader_config.h:94
    EXPLICIT_COPY_DEFAULT_MOVE(CSVReaderConfig)
    static CSVReaderConfig construct(const case_insensitive_map_t< common::Value > &options)
    -
    Definition constants.h:106
    +
    Definition constants.h:103
    diff --git a/cpp/data__chunk_8h.html b/cpp/data__chunk_8h.html index 383af6b..6562705 100644 --- a/cpp/data__chunk_8h.html +++ b/cpp/data__chunk_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/data_chunk.h File Reference +Kuzu C++ API: headers/data_chunk.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/data__chunk_8h_source.html b/cpp/data__chunk_8h_source.html index 809dfb5..82d912a 100644 --- a/cpp/data__chunk_8h_source.html +++ b/cpp/data__chunk_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/data_chunk.h Source File +Kuzu C++ API: headers/data_chunk.h Source File @@ -27,7 +27,7 @@ @@ -171,7 +171,7 @@
    std::vector< std::shared_ptr< ValueVector > > valueVectors
    Definition data_chunk.h:44
    DataChunk(uint32_t numValueVectors, const std::shared_ptr< DataChunkState > &state)
    Definition data_chunk.h:26
    Definition data_chunk_state.h:14
    -
    Definition value_vector.h:20
    +
    Definition value_vector.h:21
    Definition array_utils.h:7
    diff --git a/cpp/data__chunk__state_8h.html b/cpp/data__chunk__state_8h.html index 6bd6bb2..1468752 100644 --- a/cpp/data__chunk__state_8h.html +++ b/cpp/data__chunk__state_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/data_chunk_state.h File Reference +Kuzu C++ API: headers/data_chunk_state.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/data__chunk__state_8h_source.html b/cpp/data__chunk__state_8h_source.html index ab1e842..e7cdde7 100644 --- a/cpp/data__chunk__state_8h_source.html +++ b/cpp/data__chunk__state_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/data_chunk_state.h Source File +Kuzu C++ API: headers/data_chunk_state.h Source File @@ -27,7 +27,7 @@ @@ -167,7 +167,7 @@
    void setToFlat()
    Definition data_chunk_state.h:26
    std::shared_ptr< SelectionVector > getSelVectorShared()
    Definition data_chunk_state.h:32
    sel_t getSelSize() const
    Definition data_chunk_state.h:30
    -
    Definition sel_vector.h:13
    +
    Definition sel_vector.h:98
    Definition array_utils.h:7
    FStateType
    Definition data_chunk_state.h:9
    @ FLAT
    Definition data_chunk_state.h:10
    diff --git a/cpp/data__pos_8h.html b/cpp/data__pos_8h.html index 9ab1d3a..ff9e342 100644 --- a/cpp/data__pos_8h.html +++ b/cpp/data__pos_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/data_pos.h File Reference +Kuzu C++ API: headers/data_pos.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/data__pos_8h_source.html b/cpp/data__pos_8h_source.html index 764f144..3eb68bd 100644 --- a/cpp/data__pos_8h_source.html +++ b/cpp/data__pos_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/data_pos.h Source File +Kuzu C++ API: headers/data_pos.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/database_8h.html b/cpp/database_8h.html index 42cc53d..e711972 100644 --- a/cpp/database_8h.html +++ b/cpp/database_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/database.h File Reference +Kuzu C++ API: headers/database.h File Reference @@ -27,7 +27,7 @@ @@ -114,10 +114,10 @@ - + - +

    diff --git a/cpp/connection_8h_source.html b/cpp/connection_8h_source.html index e45fcd1..e7dce9c 100644 --- a/cpp/connection_8h_source.html +++ b/cpp/connection_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/connection.h Source File +Kuzu C++ API: headers/connection.h Source File @@ -27,7 +27,7 @@

    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API

    Classes

    struct  kuzu::main::SystemConfig
     Stores runtime configuration for creating or opening a Database. More...
     Stores runtime configuration for creating or opening a Database. More...
     
    class  kuzu::main::Database
     Database class is the main class of KùzuDB. It manages all database components. More...
     Database class is the main class of Kuzu. It manages all database components. More...
     
    @@ -229,7 +229,7 @@
    #define KUZU_API
    Definition api.h:25
    Definition value.h:26
    Contain client side configuration. We make profiler associated per query, so profiler is not maintain...
    Definition client_context.h:68
    -
    Database class is the main class of KùzuDB. It manages all database components.
    Definition database.h:80
    +
    Database class is the main class of Kuzu. It manages all database components.
    Definition database.h:80
    std::vector< storage::StorageExtension * > getStorageExtensions()
    friend class testing::PrivateGraphTest
    Definition database.h:86
    friend class Connection
    Definition database.h:83
    @@ -251,7 +251,7 @@
    Definition database.h:17
    Definition array_utils.h:7
    -
    LogicalTypeID
    Definition types.h:173
    +
    LogicalTypeID
    Definition types.h:177
    Definition binary_function_executor.h:6
    Definition bind_input.h:16
    Definition copy_from_error.h:17
    diff --git a/cpp/date__t_8h.html b/cpp/date__t_8h.html index e6bef45..eb13474 100644 --- a/cpp/date__t_8h.html +++ b/cpp/date__t_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/date_t.h File Reference +Kuzu C++ API: headers/date_t.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/date__t_8h_source.html b/cpp/date__t_8h_source.html index 0d8d0cf..1e5031f 100644 --- a/cpp/date__t_8h_source.html +++ b/cpp/date__t_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/date_t.h Source File +Kuzu C++ API: headers/date_t.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/db__config_8h.html b/cpp/db__config_8h.html index 98a4448..b48dd96 100644 --- a/cpp/db__config_8h.html +++ b/cpp/db__config_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/db_config.h File Reference +Kuzu C++ API: headers/db_config.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/db__config_8h_source.html b/cpp/db__config_8h_source.html index 45c3a63..9c346b4 100644 --- a/cpp/db__config_8h_source.html +++ b/cpp/db__config_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/db_config.h Source File +Kuzu C++ API: headers/db_config.h Source File @@ -27,7 +27,7 @@ @@ -193,7 +193,7 @@
    Definition value.h:26
    Contain client side configuration. We make profiler associated per query, so profiler is not maintain...
    Definition client_context.h:68
    Definition array_utils.h:7
    -
    LogicalTypeID
    Definition types.h:173
    +
    LogicalTypeID
    Definition types.h:177
    Definition bind_input.h:16
    OptionType
    Definition db_config.h:21
    @ EXTENSION
    Definition db_config.h:21
    diff --git a/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html b/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html index f192800..8e5bc0d 100644 --- a/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html +++ b/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers Directory Reference +Kuzu C++ API: headers Directory Reference @@ -27,7 +27,7 @@ @@ -186,6 +186,8 @@ + + diff --git a/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.js b/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.js index afeab87..19ee2fb 100644 --- a/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.js +++ b/cpp/dir_7f57b1e41c5acd0e859ae5f3a2b075a9.js @@ -42,6 +42,7 @@ var dir_7f57b1e41c5acd0e859ae5f3a2b075a9 = [ "ku_string.h", "ku__string_8h.html", "ku__string_8h" ], [ "kuzu.h", "kuzu_8h.html", null ], [ "kuzu_fwd.h", "kuzu__fwd_8h.html", null ], + [ "mask.h", "mask_8h.html", "mask_8h" ], [ "nested.h", "nested_8h.html", "nested_8h" ], [ "node.h", "node_8h.html", "node_8h" ], [ "null_mask.h", "null__mask_8h.html", "null__mask_8h" ], diff --git a/cpp/doxygen_crawl.html b/cpp/doxygen_crawl.html index 68e5666..5b17492 100644 --- a/cpp/doxygen_crawl.html +++ b/cpp/doxygen_crawl.html @@ -333,7 +333,7 @@ - + @@ -420,6 +420,21 @@ + + + + + + + + + + + + + + + @@ -437,7 +452,6 @@ - @@ -449,6 +463,7 @@ + @@ -474,23 +489,53 @@ - - + + + - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -631,7 +676,7 @@ - + @@ -800,7 +845,9 @@ + + @@ -839,9 +886,11 @@ + + @@ -916,8 +965,6 @@ - - @@ -926,11 +973,11 @@ + - @@ -961,9 +1008,9 @@ - + - + @@ -1053,24 +1100,33 @@ + + + + + + + + + + + + - - - - + @@ -1079,22 +1135,22 @@ - + + - - + - + + - @@ -1125,6 +1181,7 @@ + @@ -1186,6 +1243,7 @@ + @@ -1276,6 +1334,8 @@ + + @@ -1523,22 +1583,24 @@ + - - + - - - + + + + + - - + + @@ -1589,7 +1651,6 @@ - @@ -1607,12 +1668,11 @@ + - - @@ -1755,7 +1815,6 @@ - @@ -1839,10 +1898,10 @@ - + @@ -1868,6 +1927,8 @@ + + @@ -1968,6 +2029,9 @@ + + + @@ -1977,11 +2041,9 @@ - - @@ -2182,9 +2244,9 @@ - - + + @@ -2239,41 +2301,29 @@ - - - - - - - + - - - - - - - - - - - - - - - - + + + + + + + + + + - + - + @@ -2286,6 +2336,9 @@ + + + @@ -2301,29 +2354,9 @@ - - - - - - - - - - - - - - - - - - - - - + @@ -2342,6 +2375,7 @@ + @@ -2362,7 +2396,7 @@ - + @@ -2372,32 +2406,33 @@ - - + + - - - - - - - + + + + + + - + + - + + - - + - - - - + - + + + + + @@ -2414,50 +2449,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2467,9 +2458,26 @@ + + + + + + + + + + + + + + + + + @@ -2483,79 +2491,65 @@ - - - - - - - - - - - + + + + - - + + - + + + + - - - - + - + + - + + + + + + + + - - - - - - - - - - - - - + + + - - - - - - - - - - - + + + + + + @@ -2604,10 +2598,11 @@ - - - - + + + + + @@ -2642,12 +2637,12 @@ - + @@ -2658,8 +2653,8 @@ - + @@ -2767,6 +2762,7 @@ + diff --git a/cpp/dtime__t_8h.html b/cpp/dtime__t_8h.html index 67962e1..5abfa4c 100644 --- a/cpp/dtime__t_8h.html +++ b/cpp/dtime__t_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/dtime_t.h File Reference +Kuzu C++ API: headers/dtime_t.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/dtime__t_8h_source.html b/cpp/dtime__t_8h_source.html index e5320f2..1b942c9 100644 --- a/cpp/dtime__t_8h_source.html +++ b/cpp/dtime__t_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/dtime_t.h Source File +Kuzu C++ API: headers/dtime_t.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/exception_8h.html b/cpp/exception_8h.html index f6bcb7c..3c5d34b 100644 --- a/cpp/exception_8h.html +++ b/cpp/exception_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/exception.h File Reference +Kuzu C++ API: headers/exception.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/exception_8h_source.html b/cpp/exception_8h_source.html index cacadd3..e2220e6 100644 --- a/cpp/exception_8h_source.html +++ b/cpp/exception_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/exception.h Source File +Kuzu C++ API: headers/exception.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/expression_8h.html b/cpp/expression_8h.html index f203235..e3bbe48 100644 --- a/cpp/expression_8h.html +++ b/cpp/expression_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/expression.h File Reference +Kuzu C++ API: headers/expression.h File Reference @@ -27,7 +27,7 @@ @@ -107,6 +107,7 @@ #include <memory>
    #include <unordered_map>
    #include <unordered_set>
    +#include <vector>
    #include "
    assert.h"
    #include "cast.h"
    #include "copy_constructors.h"
    diff --git a/cpp/expression_8h_source.html b/cpp/expression_8h_source.html index 58f3c65..91f4ebc 100644 --- a/cpp/expression_8h_source.html +++ b/cpp/expression_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/expression.h Source File +Kuzu C++ API: headers/expression.h Source File @@ -27,7 +27,7 @@ @@ -105,225 +105,226 @@
    4#include <memory>
    5#include <unordered_map>
    6#include <unordered_set>
    -
    7
    -
    8#include "assert.h"
    -
    9#include "cast.h"
    -
    10#include "copy_constructors.h"
    -
    11#include "expression_type.h"
    -
    12#include "internal.h"
    -
    13#include "types.h"
    -
    14
    -
    15namespace kuzu {
    -
    16namespace binder {
    -
    17
    -
    18class Expression;
    -
    19using expression_vector = std::vector<std::shared_ptr<Expression>>;
    -
    20using expression_pair = std::pair<std::shared_ptr<Expression>, std::shared_ptr<Expression>>;
    -
    21
    -
    22struct ExpressionHasher;
    - - -
    25 std::unordered_set<std::shared_ptr<Expression>, ExpressionHasher, ExpressionEquality>;
    -
    26template<typename T>
    - -
    28 std::unordered_map<std::shared_ptr<Expression>, T, ExpressionHasher, ExpressionEquality>;
    -
    29
    -
    -
    30class KUZU_API Expression : public std::enable_shared_from_this<Expression> {
    - -
    32
    -
    33public:
    -
    - - - -
    37 uniqueName{std::move(uniqueName)}, children{std::move(children)} {}
    +
    7#include <vector>
    +
    8
    +
    9#include "assert.h"
    +
    10#include "cast.h"
    +
    11#include "copy_constructors.h"
    +
    12#include "expression_type.h"
    +
    13#include "internal.h"
    +
    14#include "types.h"
    +
    15
    +
    16namespace kuzu {
    +
    17namespace binder {
    +
    18
    +
    19class Expression;
    +
    20using expression_vector = std::vector<std::shared_ptr<Expression>>;
    +
    21using expression_pair = std::pair<std::shared_ptr<Expression>, std::shared_ptr<Expression>>;
    +
    22
    +
    23struct ExpressionHasher;
    + + +
    26 std::unordered_set<std::shared_ptr<Expression>, ExpressionHasher, ExpressionEquality>;
    +
    27template<typename T>
    + +
    29 std::unordered_map<std::shared_ptr<Expression>, T, ExpressionHasher, ExpressionEquality>;
    +
    30
    +
    +
    31class KUZU_API Expression : public std::enable_shared_from_this<Expression> {
    + +
    33
    +
    34public:
    + -
    38 // Create binary expression.
    -
    - -
    40 const std::shared_ptr<Expression>& left, const std::shared_ptr<Expression>& right,
    -
    41 std::string uniqueName)
    -
    42 : Expression{expressionType, std::move(dataType), expression_vector{left, right},
    -
    43 std::move(uniqueName)} {}
    +
    39 // Create binary expression.
    +
    + +
    41 const std::shared_ptr<Expression>& left, const std::shared_ptr<Expression>& right,
    +
    42 std::string uniqueName)
    +
    43 : Expression{expressionType, std::move(dataType), expression_vector{left, right},
    +
    44 std::move(uniqueName)} {}
    -
    44 // Create unary expression.
    -
    - -
    46 const std::shared_ptr<Expression>& child, std::string uniqueName)
    - -
    48 std::move(uniqueName)} {}
    +
    45 // Create unary expression.
    +
    + +
    47 const std::shared_ptr<Expression>& child, std::string uniqueName)
    + +
    49 std::move(uniqueName)} {}
    -
    49 // Create leaf expression
    -
    - -
    51 std::string uniqueName)
    - -
    53 std::move(uniqueName)} {}
    +
    50 // Create leaf expression
    + - -
    55 virtual ~Expression() = default;
    -
    56
    -
    57 void setUniqueName(const std::string& name) { uniqueName = name; }
    -
    -
    58 std::string getUniqueName() const {
    -
    59 KU_ASSERT(!uniqueName.empty());
    -
    60 return uniqueName;
    -
    61 }
    + +
    56 virtual ~Expression() = default;
    +
    57
    +
    58 void setUniqueName(const std::string& name) { uniqueName = name; }
    +
    +
    59 std::string getUniqueName() const {
    +
    60 KU_ASSERT(!uniqueName.empty());
    +
    61 return uniqueName;
    +
    62 }
    -
    62
    -
    63 virtual void cast(const common::LogicalType& type);
    -
    64 const common::LogicalType& getDataType() const { return dataType; }
    -
    65
    -
    66 void setAlias(const std::string& newAlias) { alias = newAlias; }
    -
    67 bool hasAlias() const { return !alias.empty(); }
    -
    68 std::string getAlias() const { return alias; }
    -
    69
    -
    70 common::idx_t getNumChildren() const { return children.size(); }
    -
    -
    71 std::shared_ptr<Expression> getChild(common::idx_t idx) const {
    -
    72 KU_ASSERT(idx < children.size());
    -
    73 return children[idx];
    -
    74 }
    +
    63
    +
    64 virtual void cast(const common::LogicalType& type);
    +
    65 const common::LogicalType& getDataType() const { return dataType; }
    +
    66
    +
    67 void setAlias(const std::string& newAlias) { alias = newAlias; }
    +
    68 bool hasAlias() const { return !alias.empty(); }
    +
    69 std::string getAlias() const { return alias; }
    +
    70
    +
    71 common::idx_t getNumChildren() const { return children.size(); }
    +
    +
    72 std::shared_ptr<Expression> getChild(common::idx_t idx) const {
    +
    73 KU_ASSERT(idx < children.size());
    +
    74 return children[idx];
    +
    75 }
    - -
    -
    76 void setChild(common::idx_t idx, std::shared_ptr<Expression> child) {
    -
    77 KU_ASSERT(idx < children.size());
    -
    78 children[idx] = std::move(child);
    -
    79 }
    + +
    +
    77 void setChild(common::idx_t idx, std::shared_ptr<Expression> child) {
    +
    78 KU_ASSERT(idx < children.size());
    +
    79 children[idx] = std::move(child);
    +
    80 }
    -
    80
    - -
    82
    -
    83 bool operator==(const Expression& rhs) const { return uniqueName == rhs.uniqueName; }
    -
    84
    -
    85 std::string toString() const { return hasAlias() ? alias : toStringInternal(); }
    -
    86
    -
    -
    87 virtual std::unique_ptr<Expression> copy() const {
    -
    88 throw common::InternalException("Unimplemented expression copy().");
    -
    89 }
    +
    81
    + +
    83
    +
    84 bool operator==(const Expression& rhs) const { return uniqueName == rhs.uniqueName; }
    +
    85
    +
    86 std::string toString() const { return hasAlias() ? alias : toStringInternal(); }
    +
    87
    +
    +
    88 virtual std::unique_ptr<Expression> copy() const {
    +
    89 throw common::InternalException("Unimplemented expression copy().");
    +
    90 }
    -
    90
    -
    91 template<class TARGET>
    -
    -
    92 TARGET& cast() {
    - -
    94 }
    +
    91
    +
    92 template<class TARGET>
    +
    +
    93 TARGET& cast() {
    + +
    95 }
    -
    95 template<class TARGET>
    -
    -
    96 TARGET* ptrCast() {
    - -
    98 }
    +
    96 template<class TARGET>
    +
    +
    97 TARGET* ptrCast() {
    + +
    99 }
    -
    99 template<class TARGET>
    -
    -
    100 const TARGET& constCast() const {
    - -
    102 }
    +
    100 template<class TARGET>
    +
    +
    101 const TARGET& constCast() const {
    + +
    103 }
    -
    103 template<class TARGET>
    -
    -
    104 const TARGET* constPtrCast() const {
    - -
    106 }
    +
    104 template<class TARGET>
    +
    +
    105 const TARGET* constPtrCast() const {
    + +
    107 }
    -
    107
    -
    108protected:
    -
    109 virtual std::string toStringInternal() const = 0;
    -
    110
    -
    111public:
    - - -
    114
    -
    115protected:
    -
    116 // Name that serves as the unique identifier.
    -
    117 std::string uniqueName;
    -
    118 std::string alias;
    - -
    120};
    +
    108
    +
    109protected:
    +
    110 virtual std::string toStringInternal() const = 0;
    +
    111
    +
    112public:
    + + +
    115
    +
    116protected:
    +
    117 // Name that serves as the unique identifier.
    +
    118 std::string uniqueName;
    +
    119 std::string alias;
    + +
    121};
    -
    121
    -
    - -
    -
    123 std::size_t operator()(const std::shared_ptr<Expression>& expression) const {
    -
    124 return std::hash<std::string>{}(expression->getUniqueName());
    -
    125 }
    +
    122
    +
    + +
    +
    124 std::size_t operator()(const std::shared_ptr<Expression>& expression) const {
    +
    125 return std::hash<std::string>{}(expression->getUniqueName());
    +
    126 }
    -
    126};
    +
    127};
    -
    127
    -
    - -
    -
    129 bool operator()(const std::shared_ptr<Expression>& left,
    -
    130 const std::shared_ptr<Expression>& right) const {
    -
    131 return left->getUniqueName() == right->getUniqueName();
    -
    132 }
    +
    128
    +
    + +
    +
    130 bool operator()(const std::shared_ptr<Expression>& left,
    +
    131 const std::shared_ptr<Expression>& right) const {
    +
    132 return left->getUniqueName() == right->getUniqueName();
    +
    133 }
    -
    133};
    +
    134};
    -
    134
    -
    135} // namespace binder
    -
    136} // namespace kuzu
    +
    135
    +
    136} // namespace binder
    +
    137} // namespace kuzu
    #define KUZU_API
    Definition api.h:25
    #define KU_ASSERT(condition)
    Definition assert.h:19
    -
    Definition expression.h:30
    -
    const TARGET * constPtrCast() const
    Definition expression.h:104
    -
    bool operator==(const Expression &rhs) const
    Definition expression.h:83
    -
    std::string uniqueName
    Definition expression.h:117
    -
    std::string toString() const
    Definition expression.h:85
    +
    Definition expression.h:31
    +
    const TARGET * constPtrCast() const
    Definition expression.h:105
    +
    bool operator==(const Expression &rhs) const
    Definition expression.h:84
    +
    std::string uniqueName
    Definition expression.h:118
    +
    std::string toString() const
    Definition expression.h:86
    expression_vector splitOnAND()
    -
    const common::LogicalType & getDataType() const
    Definition expression.h:64
    -
    void setAlias(const std::string &newAlias)
    Definition expression.h:66
    -
    std::shared_ptr< Expression > getChild(common::idx_t idx) const
    Definition expression.h:71
    -
    common::ExpressionType expressionType
    Definition expression.h:112
    -
    const TARGET & constCast() const
    Definition expression.h:100
    -
    std::string getUniqueName() const
    Definition expression.h:58
    -
    expression_vector children
    Definition expression.h:119
    -
    virtual std::unique_ptr< Expression > copy() const
    Definition expression.h:87
    -
    TARGET * ptrCast()
    Definition expression.h:96
    -
    friend class ExpressionChildrenCollector
    Definition expression.h:31
    -
    void setChild(common::idx_t idx, std::shared_ptr< Expression > child)
    Definition expression.h:76
    +
    const common::LogicalType & getDataType() const
    Definition expression.h:65
    +
    void setAlias(const std::string &newAlias)
    Definition expression.h:67
    +
    std::shared_ptr< Expression > getChild(common::idx_t idx) const
    Definition expression.h:72
    +
    common::ExpressionType expressionType
    Definition expression.h:113
    +
    const TARGET & constCast() const
    Definition expression.h:101
    +
    std::string getUniqueName() const
    Definition expression.h:59
    +
    expression_vector children
    Definition expression.h:120
    +
    virtual std::unique_ptr< Expression > copy() const
    Definition expression.h:88
    +
    TARGET * ptrCast()
    Definition expression.h:97
    +
    friend class ExpressionChildrenCollector
    Definition expression.h:32
    +
    void setChild(common::idx_t idx, std::shared_ptr< Expression > child)
    Definition expression.h:77
    virtual ~Expression()=default
    -
    bool hasAlias() const
    Definition expression.h:67
    -
    std::string getAlias() const
    Definition expression.h:68
    +
    bool hasAlias() const
    Definition expression.h:68
    +
    std::string getAlias() const
    Definition expression.h:69
    virtual std::string toStringInternal() const =0
    -
    common::idx_t getNumChildren() const
    Definition expression.h:70
    -
    expression_vector getChildren() const
    Definition expression.h:75
    +
    common::idx_t getNumChildren() const
    Definition expression.h:71
    +
    expression_vector getChildren() const
    Definition expression.h:76
    DELETE_COPY_DEFAULT_MOVE(Expression)
    -
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, expression_vector children, std::string uniqueName)
    Definition expression.h:34
    -
    void setUniqueName(const std::string &name)
    Definition expression.h:57
    +
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, expression_vector children, std::string uniqueName)
    Definition expression.h:35
    +
    void setUniqueName(const std::string &name)
    Definition expression.h:58
    virtual void cast(const common::LogicalType &type)
    -
    common::LogicalType dataType
    Definition expression.h:113
    -
    std::string alias
    Definition expression.h:118
    -
    TARGET & cast()
    Definition expression.h:92
    -
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, const std::shared_ptr< Expression > &left, const std::shared_ptr< Expression > &right, std::string uniqueName)
    Definition expression.h:39
    -
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, std::string uniqueName)
    Definition expression.h:50
    -
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, const std::shared_ptr< Expression > &child, std::string uniqueName)
    Definition expression.h:45
    +
    common::LogicalType dataType
    Definition expression.h:114
    +
    std::string alias
    Definition expression.h:119
    +
    TARGET & cast()
    Definition expression.h:93
    +
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, const std::shared_ptr< Expression > &left, const std::shared_ptr< Expression > &right, std::string uniqueName)
    Definition expression.h:40
    +
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, std::string uniqueName)
    Definition expression.h:51
    +
    Expression(common::ExpressionType expressionType, common::LogicalType dataType, const std::shared_ptr< Expression > &child, std::string uniqueName)
    Definition expression.h:46
    Definition internal.h:9
    -
    Definition types.h:252
    +
    Definition types.h:256
    Definition bind_input.h:12
    -
    std::unordered_map< std::shared_ptr< Expression >, T, ExpressionHasher, ExpressionEquality > expression_map
    Definition expression.h:27
    -
    std::unordered_set< std::shared_ptr< Expression >, ExpressionHasher, ExpressionEquality > expression_set
    Definition expression.h:24
    -
    std::pair< std::shared_ptr< Expression >, std::shared_ptr< Expression > > expression_pair
    Definition expression.h:20
    -
    std::vector< std::shared_ptr< Expression > > expression_vector
    Definition expression.h:19
    +
    std::unordered_map< std::shared_ptr< Expression >, T, ExpressionHasher, ExpressionEquality > expression_map
    Definition expression.h:28
    +
    std::unordered_set< std::shared_ptr< Expression >, ExpressionHasher, ExpressionEquality > expression_set
    Definition expression.h:25
    +
    std::pair< std::shared_ptr< Expression >, std::shared_ptr< Expression > > expression_pair
    Definition expression.h:21
    +
    std::vector< std::shared_ptr< Expression > > expression_vector
    Definition expression.h:20
    uint32_t idx_t
    Definition types.h:45
    -
    ExpressionType
    Definition expression_type.h:9
    +
    ExpressionType
    Definition expression_type.h:11
    TO ku_dynamic_cast(FROM *old)
    Definition cast.h:11
    Definition array_utils.h:7
    -
    Definition expression.h:128
    -
    bool operator()(const std::shared_ptr< Expression > &left, const std::shared_ptr< Expression > &right) const
    Definition expression.h:129
    -
    Definition expression.h:122
    -
    std::size_t operator()(const std::shared_ptr< Expression > &expression) const
    Definition expression.h:123
    +
    Definition expression.h:129
    +
    bool operator()(const std::shared_ptr< Expression > &left, const std::shared_ptr< Expression > &right) const
    Definition expression.h:130
    +
    Definition expression.h:123
    +
    std::size_t operator()(const std::shared_ptr< Expression > &expression) const
    Definition expression.h:124
    diff --git a/cpp/expression__type_8h.html b/cpp/expression__type_8h.html index 4fb5a04..202c6d8 100644 --- a/cpp/expression__type_8h.html +++ b/cpp/expression__type_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/expression_type.h File Reference +Kuzu C++ API: headers/expression_type.h File Reference @@ -27,7 +27,7 @@
    @@ -105,6 +105,7 @@
    #include <cstdint>
    #include <string>
    +#include "api.h"

    Go to the source code of this file.

    diff --git a/cpp/database_8h_source.html b/cpp/database_8h_source.html index 722e8ff..01c2c38 100644 --- a/cpp/database_8h_source.html +++ b/cpp/database_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/database.h Source File +Kuzu C++ API: headers/database.h Source File @@ -27,7 +27,7 @@

    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
     
     kuzu_fwd.h
     
     mask.h
     
     nested.h
     
     node.h
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/expression__type_8h_source.html b/cpp/expression__type_8h_source.html index 71f674c..5547826 100644 --- a/cpp/expression__type_8h_source.html +++ b/cpp/expression__type_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/expression_type.h Source File +Kuzu C++ API: headers/expression_type.h Source File @@ -27,7 +27,7 @@ @@ -104,113 +104,117 @@
    3#include <cstdint>
    4#include <string>
    5
    -
    6namespace kuzu {
    -
    7namespace common {
    -
    8
    -
    -
    9enum class ExpressionType : uint8_t {
    -
    10 // Boolean Connection Expressions
    -
    11 OR = 0,
    -
    12 XOR = 1,
    -
    13 AND = 2,
    -
    14 NOT = 3,
    -
    15
    -
    16 // Comparison Expressions
    -
    17 EQUALS = 10,
    - - - - - -
    23
    -
    24 // Null Operator Expressions
    -
    25 IS_NULL = 50,
    - -
    27
    - +
    6#include "api.h"
    +
    7
    +
    8namespace kuzu {
    +
    9namespace common {
    +
    10
    +
    +
    11enum class ExpressionType : uint8_t {
    +
    12 // Boolean Connection Expressions
    +
    13 OR = 0,
    +
    14 XOR = 1,
    +
    15 AND = 2,
    +
    16 NOT = 3,
    +
    17
    +
    18 // Comparison Expressions
    +
    19 EQUALS = 10,
    + + + + + +
    25
    +
    26 // Null Operator Expressions
    +
    27 IS_NULL = 50,
    +
    29
    -
    30 LITERAL = 70,
    +
    31
    -
    32 STAR = 80,
    +
    32 LITERAL = 70,
    33
    - -
    35 PATH = 91,
    -
    36 PATTERN = 92, // Node & Rel pattern
    -
    37
    -
    38 PARAMETER = 100,
    +
    34 STAR = 80,
    +
    35
    + +
    37 PATH = 91,
    +
    38 PATTERN = 92, // Node & Rel pattern
    39
    -
    40 // At parsing stage, both aggregate and scalar functions have type FUNCTION.
    -
    41 // After binding, only scalar function have type FUNCTION.
    -
    42 FUNCTION = 110,
    -
    43
    - +
    40 PARAMETER = 100,
    +
    41
    +
    42 // At parsing stage, both aggregate and scalar functions have type FUNCTION.
    +
    43 // After binding, only scalar function have type FUNCTION.
    +
    44 FUNCTION = 110,
    45
    -
    46 SUBQUERY = 190,
    +
    47
    -
    48 CASE_ELSE = 200,
    +
    48 SUBQUERY = 190,
    49
    -
    50 GRAPH = 210,
    +
    50 CASE_ELSE = 200,
    51
    -
    52 LAMBDA = 220,
    +
    52 GRAPH = 210,
    53
    -
    54 // NOTE: this enum has type uint8_t so don't assign over 255.
    -
    55 INVALID = 255,
    -
    56};
    +
    54 LAMBDA = 220,
    +
    55
    +
    56 // NOTE: this enum has type uint8_t so don't assign over 255.
    +
    57 INVALID = 255,
    +
    58};
    -
    57
    -
    - -
    59 static bool isUnary(ExpressionType type);
    -
    60 static bool isBinary(ExpressionType type);
    -
    61 static bool isBoolean(ExpressionType type);
    -
    62 static bool isComparison(ExpressionType type);
    -
    63 static bool isNullOperator(ExpressionType type);
    -
    64
    - +
    59
    +
    + +
    61 static bool isUnary(ExpressionType type);
    +
    62 static bool isBinary(ExpressionType type);
    +
    63 static bool isBoolean(ExpressionType type);
    +
    64 static bool isComparison(ExpressionType type);
    +
    65 static bool isNullOperator(ExpressionType type);
    66
    -
    67 static std::string toString(ExpressionType type);
    -
    68 static std::string toParsableString(ExpressionType type);
    -
    69};
    + +
    68
    +
    69 static KUZU_API std::string toString(ExpressionType type);
    +
    70 static std::string toParsableString(ExpressionType type);
    +
    71};
    -
    70
    -
    71} // namespace common
    -
    72} // namespace kuzu
    +
    72
    +
    73} // namespace common
    +
    74} // namespace kuzu
    + +
    #define KUZU_API
    Definition api.h:25
    Definition array_utils.h:7
    -
    ExpressionType
    Definition expression_type.h:9
    -
    @ PATTERN
    Definition expression_type.h:36
    -
    @ IS_NOT_NULL
    Definition expression_type.h:26
    -
    @ NOT
    Definition expression_type.h:14
    -
    @ GREATER_THAN
    Definition expression_type.h:19
    -
    @ CASE_ELSE
    Definition expression_type.h:48
    -
    @ OR
    Definition expression_type.h:11
    -
    @ GREATER_THAN_EQUALS
    Definition expression_type.h:20
    -
    @ AND
    Definition expression_type.h:13
    -
    @ PATH
    Definition expression_type.h:35
    -
    @ LAMBDA
    Definition expression_type.h:52
    -
    @ EQUALS
    Definition expression_type.h:17
    -
    @ FUNCTION
    Definition expression_type.h:42
    -
    @ PROPERTY
    Definition expression_type.h:28
    -
    @ STAR
    Definition expression_type.h:32
    -
    @ XOR
    Definition expression_type.h:12
    -
    @ AGGREGATE_FUNCTION
    Definition expression_type.h:44
    -
    @ LITERAL
    Definition expression_type.h:30
    -
    @ LESS_THAN
    Definition expression_type.h:21
    -
    @ LESS_THAN_EQUALS
    Definition expression_type.h:22
    -
    @ PARAMETER
    Definition expression_type.h:38
    -
    @ INVALID
    Definition expression_type.h:55
    -
    @ NOT_EQUALS
    Definition expression_type.h:18
    -
    @ IS_NULL
    Definition expression_type.h:25
    -
    @ GRAPH
    Definition expression_type.h:50
    -
    @ VARIABLE
    Definition expression_type.h:34
    -
    @ SUBQUERY
    Definition expression_type.h:46
    +
    ExpressionType
    Definition expression_type.h:11
    +
    @ PATTERN
    Definition expression_type.h:38
    +
    @ IS_NOT_NULL
    Definition expression_type.h:28
    +
    @ NOT
    Definition expression_type.h:16
    +
    @ GREATER_THAN
    Definition expression_type.h:21
    +
    @ CASE_ELSE
    Definition expression_type.h:50
    +
    @ OR
    Definition expression_type.h:13
    +
    @ GREATER_THAN_EQUALS
    Definition expression_type.h:22
    +
    @ AND
    Definition expression_type.h:15
    +
    @ PATH
    Definition expression_type.h:37
    +
    @ LAMBDA
    Definition expression_type.h:54
    +
    @ EQUALS
    Definition expression_type.h:19
    +
    @ FUNCTION
    Definition expression_type.h:44
    +
    @ PROPERTY
    Definition expression_type.h:30
    +
    @ STAR
    Definition expression_type.h:34
    +
    @ XOR
    Definition expression_type.h:14
    +
    @ AGGREGATE_FUNCTION
    Definition expression_type.h:46
    +
    @ LITERAL
    Definition expression_type.h:32
    +
    @ LESS_THAN
    Definition expression_type.h:23
    +
    @ LESS_THAN_EQUALS
    Definition expression_type.h:24
    +
    @ PARAMETER
    Definition expression_type.h:40
    +
    @ INVALID
    Definition expression_type.h:57
    +
    @ NOT_EQUALS
    Definition expression_type.h:20
    +
    @ IS_NULL
    Definition expression_type.h:27
    +
    @ GRAPH
    Definition expression_type.h:52
    +
    @ VARIABLE
    Definition expression_type.h:36
    +
    @ SUBQUERY
    Definition expression_type.h:48
    Definition array_utils.h:7
    -
    Definition expression_type.h:58
    +
    Definition expression_type.h:60
    static bool isBoolean(ExpressionType type)
    static bool isBinary(ExpressionType type)
    -
    static std::string toString(ExpressionType type)
    static bool isUnary(ExpressionType type)
    static bool isComparison(ExpressionType type)
    static std::string toParsableString(ExpressionType type)
    +
    static KUZU_API std::string toString(ExpressionType type)
    static ExpressionType reverseComparisonDirection(ExpressionType type)
    static bool isNullOperator(ExpressionType type)
    diff --git a/cpp/file__scan__info_8h.html b/cpp/file__scan__info_8h.html index fd99d13..89b439c 100644 --- a/cpp/file__scan__info_8h.html +++ b/cpp/file__scan__info_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/file_scan_info.h File Reference +Kuzu C++ API: headers/file_scan_info.h File Reference @@ -27,7 +27,7 @@ diff --git a/cpp/file__scan__info_8h_source.html b/cpp/file__scan__info_8h_source.html index 698390d..8a2fa3f 100644 --- a/cpp/file__scan__info_8h_source.html +++ b/cpp/file__scan__info_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/file_scan_info.h Source File +Kuzu C++ API: headers/file_scan_info.h Source File @@ -27,7 +27,7 @@ diff --git a/cpp/files.html b/cpp/files.html index d17ab3c..f832e9c 100644 --- a/cpp/files.html +++ b/cpp/files.html @@ -5,7 +5,7 @@ -Kùzu C++ API: File List +Kuzu C++ API: File List @@ -27,7 +27,7 @@ @@ -144,44 +144,45 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
    -
    Kùzu C++ API +
    Kuzu C++ API
     ku_string.h
     kuzu.h
     kuzu_fwd.h
     nested.h
     node.h
     null_mask.h
     operator_print_info.h
     path_semantic.h
     physical_operator.h
     pointer_function_executor.h
     prepared_statement.h
     query_result.h
     query_summary.h
     recursive_rel.h
     rel.h
     result_set.h
     result_set_descriptor.h
     scalar_function.h
     scan_replacement.h
     sel_vector.h
     statement.h
     statement_type.h
     storage_driver.h
     storage_version_info.h
     string_format.h
     table_function.h
     ternary_function_executor.h
     timer.h
     timestamp_t.h
     transaction.h
     transaction_context.h
     type_utils.h
     types.h
     udf_function.h
     unary_function_executor.h
     uuid.h
     value.h
     value_vector.h
     version.h
     warning_context.h
     yield_variable.h
     mask.h
     nested.h
     node.h
     null_mask.h
     operator_print_info.h
     path_semantic.h
     physical_operator.h
     pointer_function_executor.h
     prepared_statement.h
     query_result.h
     query_summary.h
     recursive_rel.h
     rel.h
     result_set.h
     result_set_descriptor.h
     scalar_function.h
     scan_replacement.h
     sel_vector.h
     statement.h
     statement_type.h
     storage_driver.h
     storage_version_info.h
     string_format.h
     table_function.h
     ternary_function_executor.h
     timer.h
     timestamp_t.h
     transaction.h
     transaction_context.h
     type_utils.h
     types.h
     udf_function.h
     unary_function_executor.h
     uuid.h
     value.h
     value_vector.h
     version.h
     warning_context.h
     yield_variable.h
    diff --git a/cpp/flat__tuple_8h.html b/cpp/flat__tuple_8h.html index cd7496d..186b2f6 100644 --- a/cpp/flat__tuple_8h.html +++ b/cpp/flat__tuple_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/flat_tuple.h File Reference +Kuzu C++ API: headers/flat_tuple.h File Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/flat__tuple_8h_source.html b/cpp/flat__tuple_8h_source.html index bee97a8..dd358ec 100644 --- a/cpp/flat__tuple_8h_source.html +++ b/cpp/flat__tuple_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/flat_tuple.h Source File +Kuzu C++ API: headers/flat_tuple.h Source File @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/function_8h.html b/cpp/function_8h.html index 04be1ac..34fccf8 100644 --- a/cpp/function_8h.html +++ b/cpp/function_8h.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/function.h File Reference +Kuzu C++ API: headers/function.h File Reference @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    diff --git a/cpp/function_8h_source.html b/cpp/function_8h_source.html index d5eee61..e52d59d 100644 --- a/cpp/function_8h_source.html +++ b/cpp/function_8h_source.html @@ -5,7 +5,7 @@ -Kùzu C++ API: headers/function.h Source File +Kuzu C++ API: headers/function.h Source File @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -179,79 +179,81 @@
    63 std::vector<common::LogicalTypeID> parameterTypeIDs;
    64 // Currently we only one variable-length function which is list creation. The expectation is
    65 // that all parameters must have the same type as parameterTypes[0].
    - - -
    68
    -
    69 Function() : isVarLength{false}, isListLambda{false} {};
    -
    -
    70 Function(std::string name, std::vector<common::LogicalTypeID> parameterTypeIDs)
    -
    71 : name{std::move(name)}, parameterTypeIDs{std::move(parameterTypeIDs)}, isVarLength{false},
    -
    72 isListLambda{false} {}
    +
    66 // For variable length function. A
    +
    67 bool isVarLength = false;
    +
    68 bool isListLambda = false;
    +
    69 bool isReadOnly = true;
    +
    70
    +
    71 Function() : isVarLength{false}, isListLambda{false}, isReadOnly{true} {};
    +
    +
    72 Function(std::string name, std::vector<common::LogicalTypeID> parameterTypeIDs)
    +
    73 : name{std::move(name)}, parameterTypeIDs{std::move(parameterTypeIDs)}, isVarLength{false},
    +
    74 isListLambda{false} {}
    -
    73 Function(const Function&) = default;
    -
    74
    -
    75 virtual ~Function() = default;
    +
    75 Function(const Function&) = default;
    76
    -
    -
    77 virtual std::string signatureToString() const {
    - -
    79 }
    +
    77 virtual ~Function() = default;
    +
    78
    +
    +
    79 virtual std::string signatureToString() const {
    + +
    81 }
    -
    80
    -
    81 template<class TARGET>
    -
    -
    82 const TARGET* constPtrCast() const {
    - -
    84 }
    +
    82
    +
    83 template<class TARGET>
    +
    +
    84 const TARGET* constPtrCast() const {
    + +
    86 }
    -
    85 template<class TARGET>
    -
    -
    86 TARGET* ptrCast() {
    - -
    88 }
    +
    87 template<class TARGET>
    +
    +
    88 TARGET* ptrCast() {
    + +
    90 }
    -
    89};
    +
    91};
    -
    90
    -
    - - - -
    94
    - -
    -
    96 ScalarOrAggregateFunction(std::string name, std::vector<common::LogicalTypeID> parameterTypeIDs,
    - -
    98 : Function{std::move(name), std::move(parameterTypeIDs)}, returnTypeID{returnTypeID} {}
    +
    92
    +
    + + + +
    96
    + +
    +
    98 ScalarOrAggregateFunction(std::string name, std::vector<common::LogicalTypeID> parameterTypeIDs,
    + +
    100 : Function{std::move(name), std::move(parameterTypeIDs)}, returnTypeID{returnTypeID} {}
    -
    -
    99 ScalarOrAggregateFunction(std::string name, std::vector<common::LogicalTypeID> parameterTypeIDs,
    - -
    101 : Function{std::move(name), std::move(parameterTypeIDs)}, returnTypeID{returnTypeID},
    -
    102 bindFunc{std::move(bindFunc)} {}
    +
    +
    101 ScalarOrAggregateFunction(std::string name, std::vector<common::LogicalTypeID> parameterTypeIDs,
    + +
    103 : Function{std::move(name), std::move(parameterTypeIDs)}, returnTypeID{returnTypeID},
    +
    104 bindFunc{std::move(bindFunc)} {}
    -
    103
    -
    -
    104 std::string signatureToString() const override {
    -
    105 auto result = Function::signatureToString();
    - -
    107 return result;
    -
    108 }
    +
    105
    +
    +
    106 std::string signatureToString() const override {
    +
    107 auto result = Function::signatureToString();
    + +
    109 return result;
    +
    110 }
    -
    109};
    +
    111};
    -
    110
    -
    111} // namespace function
    -
    112} // namespace kuzu
    +
    112
    +
    113} // namespace function
    +
    114} // namespace kuzu
    #define KUZU_API
    Definition api.h:25
    -
    Definition types.h:252
    +
    Definition types.h:256
    static KUZU_API std::vector< LogicalType > copy(const std::vector< LogicalType > &types)
    Contain client side configuration. We make profiler associated per query, so profiler is not maintain...
    Definition client_context.h:68
    -
    std::vector< std::shared_ptr< Expression > > expression_vector
    Definition expression.h:19
    -
    LogicalTypeID
    Definition types.h:173
    -
    @ ANY
    Definition types.h:174
    +
    std::vector< std::shared_ptr< Expression > > expression_vector
    Definition expression.h:20
    +
    LogicalTypeID
    Definition types.h:177
    +
    @ ANY
    Definition types.h:178
    TO ku_dynamic_cast(FROM *old)
    Definition cast.h:11
    Definition binary_function_executor.h:6
    std::vector< std::unique_ptr< Function > > function_set
    Definition function.h:44
    @@ -271,29 +273,30 @@
    FunctionBindData(common::LogicalType dataType)
    Definition function.h:21
    static std::unique_ptr< FunctionBindData > getSimpleBindData(const binder::expression_vector &params, const common::LogicalType &resultType)
    Definition function.h:61
    -
    Function()
    Definition function.h:69
    +
    Function()
    Definition function.h:71
    std::string name
    Definition function.h:62
    -
    TARGET * ptrCast()
    Definition function.h:86
    -
    const TARGET * constPtrCast() const
    Definition function.h:82
    +
    TARGET * ptrCast()
    Definition function.h:88
    +
    const TARGET * constPtrCast() const
    Definition function.h:84
    std::vector< common::LogicalTypeID > parameterTypeIDs
    Definition function.h:63
    Function(const Function &)=default
    +
    bool isReadOnly
    Definition function.h:69
    virtual ~Function()=default
    -
    Function(std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs)
    Definition function.h:70
    -
    virtual std::string signatureToString() const
    Definition function.h:77
    -
    bool isVarLength
    Definition function.h:66
    -
    bool isListLambda
    Definition function.h:67
    +
    Function(std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs)
    Definition function.h:72
    +
    virtual std::string signatureToString() const
    Definition function.h:79
    +
    bool isVarLength
    Definition function.h:67
    +
    bool isListLambda
    Definition function.h:68
    Definition function.h:46
    std::vector< std::string > optionalArguments
    Definition function.h:50
    ScalarBindFuncInput(const binder::expression_vector &arguments, Function *definition, main::ClientContext *context, std::vector< std::string > optionalArguments)
    Definition function.h:52
    Function * definition
    Definition function.h:48
    const binder::expression_vector & arguments
    Definition function.h:47
    main::ClientContext * context
    Definition function.h:49
    -
    ScalarOrAggregateFunction(std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs, common::LogicalTypeID returnTypeID)
    Definition function.h:96
    -
    ScalarOrAggregateFunction()
    Definition function.h:95
    -
    common::LogicalTypeID returnTypeID
    Definition function.h:92
    -
    ScalarOrAggregateFunction(std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs, common::LogicalTypeID returnTypeID, scalar_bind_func bindFunc)
    Definition function.h:99
    -
    std::string signatureToString() const override
    Definition function.h:104
    -
    scalar_bind_func bindFunc
    Definition function.h:93
    +
    ScalarOrAggregateFunction(std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs, common::LogicalTypeID returnTypeID)
    Definition function.h:98
    +
    ScalarOrAggregateFunction()
    Definition function.h:97
    +
    common::LogicalTypeID returnTypeID
    Definition function.h:94
    +
    ScalarOrAggregateFunction(std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs, common::LogicalTypeID returnTypeID, scalar_bind_func bindFunc)
    Definition function.h:101
    +
    std::string signatureToString() const override
    Definition function.h:106
    +
    scalar_bind_func bindFunc
    Definition function.h:95
    diff --git a/cpp/functions.html b/cpp/functions.html index 60166d0..1637454 100644 --- a/cpp/functions.html +++ b/cpp/functions.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Class Members +Kuzu C++ API: Class Members @@ -27,7 +27,7 @@ -
    Kùzu C++ API +
    Kuzu C++ API
    @@ -108,6 +108,7 @@

    - a -

    • addition() : kuzu::common::Interval
    • addList() : kuzu::common::ListAuxiliaryBuffer, kuzu::common::ListVector
    • addLiteralParam() : kuzu::function::TableFuncBindInput
    • +
    • addMask() : kuzu::common::NodeOffsetMaskMap
    • addScalarFunction() : kuzu::main::ClientContext
    • addScanReplace() : kuzu::main::ClientContext
    • addString() : kuzu::common::StringVector
    • @@ -131,6 +132,7 @@

      - a -

      diff --git a/cpp/functions_b.html b/cpp/functions_b.html index 067e410..6c8c64e 100644 --- a/cpp/functions_b.html +++ b/cpp/functions_b.html @@ -5,7 +5,7 @@ -Kùzu C++ API: Class Members +Kuzu C++ API: Class Members @@ -27,7 +27,7 @@ -
      Kùzu C++ API +
      Kuzu C++ API
      @@ -106,14 +106,15 @@

      - b -

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

closeSync()

+ + + + + + +
+ Close the database synchronously. +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -511,6 +767,35 @@

(async) closeThrows:

+ + + +
+
+
+ if there is an ongoing asynchronous initialization. +
+
+
+
+
+
+ Type +
+
+ +Error + + +
+
+
+
+
+ + + @@ -607,6 +892,96 @@

(async) initinitSync()

+ + + + + + +
+ Initialize the database synchronously. Calling this function is optional, as the +database is initialized automatically when the first query is executed. This function +may block the main thread, so use it with caution. +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + @@ -849,7 +1224,7 @@

Home

Classes

  • diff --git a/nodejs/PreparedStatement.html b/nodejs/PreparedStatement.html index 5859930..677e097 100644 --- a/nodejs/PreparedStatement.html +++ b/nodejs/PreparedStatement.html @@ -458,7 +458,7 @@

    Home

    Classes

    • diff --git a/nodejs/QueryResult.html b/nodejs/QueryResult.html index 89236ad..edb4f62 100644 --- a/nodejs/QueryResult.html +++ b/nodejs/QueryResult.html @@ -274,7 +274,7 @@

      _checkClo
      Source:
      @@ -463,7 +463,7 @@

      Parameters:
      Source:
      @@ -551,7 +551,7 @@

      closeSource:
      @@ -734,7 +734,7 @@
      Parameters:
      Source:
      @@ -822,7 +822,7 @@

      (async) getAll<
      Source:
      @@ -880,6 +880,116 @@

      Returns:
      +

      getAllSync() → {Array.<Object>}

      + + + + + + +
      + Get all rows of the query result synchronously. Note that this function can block the main thread if the number of rows is large, so use it with caution. +
      + + + + + + + + + + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Source:
      +
      + + + + + + + +
      + + + + + + + + + + + + + + + +
      Returns:
      + + +
      + all rows of the query result. +
      + + + +
      +
      + Type +
      +
      + +Array.<Object> + + +
      +
      + + + + + + + + + + + + +

      getColumnDataTypes() → {Promise.<Array.<String>>}

      @@ -932,7 +1042,7 @@

      get
      Source:
      @@ -990,6 +1100,116 @@

      Returns:
      +

      getColumnDataTypesSync() → {Array.<String>}

      + + + + + + +
      + Get the data types of the columns of the query result synchronously. +
      + + + + + + + + + + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Source:
      +
      + + + + + + + +
      + + + + + + + + + + + + + + + +
      Returns:
      + + +
      + the data types of the columns of the query result. +
      + + + +
      +
      + Type +
      +
      + +Array.<String> + + +
      +
      + + + + + + + + + + + + +

      getColumnNames() → {Promise.<Array.<String>>}

      @@ -1042,7 +1262,7 @@

      getColu
      Source:
      @@ -1100,6 +1320,116 @@

      Returns:
      +

      getColumnNamesSync() → {Array.<String>}

      + + + + + + +
      + Get the names of the columns of the query result synchronously. +
      + + + + + + + + + + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Source:
      +
      + + + + + + + +
      + + + + + + + + + + + + + + + +
      Returns:
      + + +
      + the names of the columns of the query result. +
      + + + +
      +
      + Type +
      +
      + +Array.<String> + + +
      +
      + + + + + + + + + + + + +

      getNext() → {Promise.<Object>}

      @@ -1210,6 +1540,116 @@
      Returns:
      +

      getNextSync() → {Object}

      + + + + + + +
      + Get the next row of the query result synchronously. +
      + + + + + + + + + + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Source:
      +
      + + + + + + + +
      + + + + + + + + + + + + + + + +
      Returns:
      + + +
      + the next row of the query result. +
      + + + +
      +
      + Type +
      +
      + +Object + + +
      +
      + + + + + + + + + + + + +

      getNumTuples() → {Number}

      @@ -1535,7 +1975,7 @@

      Home

      Classes

      • diff --git a/nodejs/connection.js.html b/nodejs/connection.js.html index 41e3158..fcf4fe7 100644 --- a/nodejs/connection.js.html +++ b/nodejs/connection.js.html @@ -96,9 +96,33 @@

        Source: connection.js

        } } + /** + * Initialize the connection synchronously. Calling this function is optional, as the + * connection is initialized automatically when the first query is executed. This function + * may block the main thread, so use it with caution. + */ + initSync() { + if (this._isClosed) { + throw new Error("Connection is closed."); + } + if (this._isInitialized) { + return; + } + if (this._initPromise) { + throw new Error("There is an ongoing asynchronous initialization. Please wait for it to finish."); + } + if (!this._connection) { + const database = this._database._getDatabaseSync(); + this._connection = new KuzuNative.NodeConnection(database); + } + this._connection.initSync(); + this._isInitialized = true; + } + /** * Internal function to get the underlying native connection object. * @returns {KuzuNative.NodeConnection} the underlying native connection. + * @throws {Error} if the connection is closed. */ async _getConnection() { if (this._isClosed) { @@ -108,6 +132,19 @@

        Source: connection.js

        return this._connection; } + /** + * Internal function to get the underlying native connection object synchronously. + * @returns {KuzuNative.NodeConnection} the underlying native connection. + * @throws {Error} if the connection is closed. + */ + _getConnectionSync() { + if (this._isClosed) { + throw new Error("Connection is closed."); + } + this.initSync(); + return this._connection; + } + /** * Execute a prepared statement with the given parameters. * @param {kuzu.PreparedStatement} preparedStatement the prepared statement to execute. @@ -173,6 +210,37 @@

        Source: connection.js

        }); } + /** + * Execute a prepared statement with the given parameters synchronously. This function blocks the main thread for the duration of the query, so use it with caution. + * @param {kuzu.PreparedStatement} preparedStatement the prepared statement + * @param {Object} params a plain object mapping parameter names to values. + * @returns {Array<kuzu.QueryResult> | kuzu.QueryResult} an array of query results. If there is only one query result, the function returns the query result directly. + * @throws {Error} if there is an error. + */ + executeSync(preparedStatement, params = {}) { + if ( + !typeof preparedStatement === "object" || + preparedStatement.constructor.name !== "PreparedStatement" + ) { + throw new Error("preparedStatement must be a valid PreparedStatement object."); + } + if (!preparedStatement.isSuccess()) { + throw new Error(preparedStatement.getErrorMessage()); + } + if (params.constructor !== Object) { + throw new Error("params must be a plain object."); + } + const paramArray = []; + for (const key in params) { + const value = params[key]; + paramArray.push([key, value]); + } + const connection = this._getConnectionSync(); + const nodeQueryResult = new KuzuNative.NodeQueryResult(); + connection.executeSync(preparedStatement._preparedStatement, nodeQueryResult, paramArray); + return this._unwrapMultipleQueryResultsSync(nodeQueryResult); + } + /** * Prepare a statement for execution. * @param {String} statement the statement to prepare. @@ -202,6 +270,25 @@

        Source: connection.js

        }); } + /** + * Prepare a statement for execution synchronously. This function blocks the main thread so use it with caution. + * @param {String} statement the statement to prepare. + * @returns {kuzu.PreparedStatement} the prepared statement. + * @throws {Error} if there is an error. + */ + prepareSync(statement) { + if (typeof statement !== "string") { + throw new Error("statement must be a string."); + } + const connection = this._getConnectionSync(); + const preparedStatement = new KuzuNative.NodePreparedStatement( + connection, + statement + ); + preparedStatement.initSync(); + return new PreparedStatement(this, preparedStatement); + } + /** * Execute a query. * @param {String} statement the statement to execute. @@ -243,6 +330,24 @@

        Source: connection.js

        }); } + /** + * Execute a query synchronously. + * @param {String} statement the statement to execute. This function blocks the main thread for the duration of the query, so use it with caution. + * @returns {Array<kuzu.QueryResult> | kuzu.QueryResult} an array of query results. If there is only one query result, the function returns the query result directly. + * @throws {Error} if there is an error. + * @throws {Error} if the statement is not a string. + * @throws {Error} if the connection is closed. + */ + querySync(statement) { + if (typeof statement !== "string") { + throw new Error("statement must be a string."); + } + const connection = this._getConnectionSync(); + const nodeQueryResult = new KuzuNative.NodeQueryResult(); + connection.querySync(statement, nodeQueryResult); + return this._unwrapMultipleQueryResultsSync(nodeQueryResult); + } + /** * Internal function to get the next query result for multiple query results. * @param {KuzuNative.NodeQueryResult} nodeQueryResult the current node query result. @@ -279,6 +384,29 @@

        Source: connection.js

        return queryResults; } + /** + * Internal function to unwrap multiple query results into an array of query results synchronously. + * @param {KuzuNative.NodeQueryResult} nodeQueryResult the node query result. + * @returns {Array<kuzu.QueryResult> | kuzu.QueryResult} an array of query results. + * @throws {Error} if there is an error. + */ + _unwrapMultipleQueryResultsSync(nodeQueryResult) { + const wrappedQueryResult = new QueryResult(this, nodeQueryResult); + if (!nodeQueryResult.hasNextQueryResult()) { + return wrappedQueryResult; + } + const queryResults = [wrappedQueryResult]; + let currentQueryResult = nodeQueryResult; + while (currentQueryResult.hasNextQueryResult()) { + const nextNodeQueryResult = new KuzuNative.NodeQueryResult(); + currentQueryResult.getNextQueryResultSync(nextNodeQueryResult); + const nextQueryResult = new QueryResult(this, nextNodeQueryResult); + queryResults.push(nextQueryResult); + currentQueryResult = nextNodeQueryResult; + } + return queryResults; + } + /** * Set the maximum number of threads to use for query execution. * @param {Number} numThreads the maximum number of threads to use for query execution. @@ -343,6 +471,28 @@

        Source: connection.js

        delete this._connection; this._isClosed = true; } + + /** + * Close the connection synchronously. + * @throws {Error} if there is an undergoing asynchronous initialization. + */ + closeSync() { + if (this._isClosed) { + return; + } + if (!this._isInitialized) { + if (this._initPromise) { + throw new Error("There is an ongoing asynchronous initialization. Please wait for it to finish."); + } + this._isInitialized = true; + this._isClosed = true; + delete this._connection; + return; + } + this._connection.close(); + delete this._connection; + this._isClosed = true; + } } module.exports = Connection; @@ -362,7 +512,7 @@

        Home

        Classes

        • diff --git a/nodejs/database.js.html b/nodejs/database.js.html index 23c4845..3b17931 100644 --- a/nodejs/database.js.html +++ b/nodejs/database.js.html @@ -65,7 +65,7 @@

          Source: database.js

          throw new Error("Buffer manager size must be a positive integer."); } if (typeof maxDBSize !== "number" || maxDBSize < 0) { - throw new Error("Max DB size must be a positive integer."); + throw new Error("Max DB size must be a positive integer."); } if (typeof checkpointThreshold !== "number" || maxDBSize < -1) { throw new Error("Checkpoint threshold must be a positive integer."); @@ -130,9 +130,26 @@

          Source: database.js

          } } + /** + * Initialize the database synchronously. Calling this function is optional, as the + * database is initialized automatically when the first query is executed. This function + * may block the main thread, so use it with caution. + */ + initSync() { + if (this._initPromise) { + throw new Error("There is an ongoing asynchronous initialization. Please wait for it to finish."); + } + if (this._isInitialized) { + return; + } + this._database.initSync(); + this._isInitialized = true; + } + /** * Internal function to get the underlying native database object. * @returns {KuzuNative.NodeDatabase} the underlying native database. + * @throws {Error} if the database is closed. */ async _getDatabase() { if (this._isClosed) { @@ -142,6 +159,21 @@

          Source: database.js

          return this._database; } + /** + * Internal function to get the underlying native database object synchronously. + * @returns {KuzuNative.NodeDatabase} the underlying native database. + * @throws {Error} if the database is closed. + */ + _getDatabaseSync() { + if (this._isClosed) { + throw new Error("Database is closed."); + } + if (!this._isInitialized) { + this.initSync(); + } + return this._database; + } + /** * Close the database. */ @@ -166,6 +198,29 @@

          Source: database.js

          delete this._database; this._isClosed = true; } + + /** + * Close the database synchronously. + * @throws {Error} if there is an ongoing asynchronous initialization. + */ + closeSync() { + if (this._isClosed) { + return; + } + if (!this._isInitialized) { + if (this._initPromise) { + throw new Error("There is an ongoing asynchronous initialization. Please wait for it to finish."); + } else { + this._isInitialized = true; + this._isClosed = true; + delete this._database; + return; + } + } + this._database.close(); + delete this._database; + this._isClosed = true; + } } module.exports = Database; @@ -185,7 +240,7 @@

          Home

          Classes

          • diff --git a/nodejs/index.html b/nodejs/index.html index 44e234c..fa41c36 100644 --- a/nodejs/index.html +++ b/nodejs/index.html @@ -43,7 +43,7 @@

            -

            Kùzu Node.js API

            +

            Kuzu Node.js API

            Install

            npm i kuzu
             
            @@ -122,7 +122,7 @@

            Home

            Classes

            • diff --git a/nodejs/prepared_statement.js.html b/nodejs/prepared_statement.js.html index 4adceaf..2f81b7b 100644 --- a/nodejs/prepared_statement.js.html +++ b/nodejs/prepared_statement.js.html @@ -84,7 +84,7 @@

              Home

              Classes

              • diff --git a/nodejs/query_result.js.html b/nodejs/query_result.js.html index 7b5defd..ddc9d2b 100644 --- a/nodejs/query_result.js.html +++ b/nodejs/query_result.js.html @@ -94,6 +94,15 @@

                Source: query_result.js

                }); } + /** + * Get the next row of the query result synchronously. + * @returns {Object} the next row of the query result. + */ + getNextSync() { + this._checkClosed(); + return this._queryResult.getNextSync(); + } + /** * Iterate through the query result with callback functions. * @param {Function} resultCallback the callback function that is called for each row of the query result. @@ -129,6 +138,20 @@

                Source: query_result.js

                return result; } + /** + * Get all rows of the query result synchronously. Note that this function can block the main thread if the number of rows is large, so use it with caution. + * @returns {Array<Object>} all rows of the query result. + */ + getAllSync() { + this._checkClosed(); + this._queryResult.resetIterator(); + const result = []; + while (this.hasNext()) { + result.push(this.getNextSync()); + } + return result; + } + /** * Get all rows of the query result with callback functions. * @param {Function} resultCallback the callback function that is called with all rows of the query result. @@ -161,6 +184,15 @@

                Source: query_result.js

                }); } + /** + * Get the data types of the columns of the query result synchronously. + * @returns {Array<String>} the data types of the columns of the query result. + */ + getColumnDataTypesSync() { + this._checkClosed(); + return this._queryResult.getColumnDataTypesSync(); + } + /** * Get the names of the columns of the query result. * @returns {Promise<Array<String>>} a promise that resolves to the names of the columns of the query result. The promise is rejected if there is an error. @@ -177,6 +209,15 @@

                Source: query_result.js

                }); } + /** + * Get the names of the columns of the query result synchronously. + * @returns {Array<String>} the names of the columns of the query result. + */ + getColumnNamesSync() { + this._checkClosed(); + return this._queryResult.getColumnNamesSync(); + } + /** * Close the query result. */ @@ -218,7 +259,7 @@

                Home

                Classes

                • diff --git a/python/kuzu.html b/python/kuzu.html index 4141c7a..a099398 100644 --- a/python/kuzu.html +++ b/python/kuzu.html @@ -21,13 +21,55 @@

                  Contents

                  API Documentation

                    +
                  • + AsyncConnection + + +
                  • Connection
                      @@ -61,6 +103,9 @@

                      API Documentation

                    • set_query_timeout
                    • +
                    • + interrupt +
                    • create_function
                    • @@ -332,9 +377,9 @@

                      API Documentation

                      kuzu

                      -

                      Kùzu Python API bindings.

                      +

                      Kuzu Python API bindings.

                      -

                      This package provides a Python API for Kùzu graph database management system.

                      +

                      This package provides a Python API for Kuzu graph database management system.

                      To install the package, run:

                      @@ -376,9 +421,9 @@

                       1"""
                      - 2# Kùzu Python API bindings.
                      + 2# Kuzu Python API bindings.
                        3
                      - 4This package provides a Python API for Kùzu graph database management system.
                      + 4This package provides a Python API for Kuzu graph database management system.
                        5
                        6To install the package, run:
                        7```
                      @@ -425,41 +470,659 @@ 

                      48 original_dlopen_flags = sys.getdlopenflags() 49 sys.setdlopenflags(os.RTLD_GLOBAL | os.RTLD_LAZY) 50 -51from .connection import Connection -52from .database import Database -53from .prepared_statement import PreparedStatement -54from .query_result import QueryResult -55from .types import Type -56 +51from .async_connection import AsyncConnection +52from .connection import Connection +53from .database import Database +54from .prepared_statement import PreparedStatement +55from .query_result import QueryResult +56from .types import Type 57 -58def __getattr__(name: str) -> str | int: -59 if name in ("version", "__version__"): -60 return Database.get_version() -61 elif name == "storage_version": -62 return Database.get_storage_version() -63 else: -64 msg = f"module {__name__!r} has no attribute {name!r}" -65 raise AttributeError(msg) -66 +58 +59def __getattr__(name: str) -> str | int: +60 if name in ("version", "__version__"): +61 return Database.get_version() +62 elif name == "storage_version": +63 return Database.get_storage_version() +64 else: +65 msg = f"module {__name__!r} has no attribute {name!r}" +66 raise AttributeError(msg) 67 -68# Restore the original dlopen flags -69if sys.platform == "linux": -70 sys.setdlopenflags(original_dlopen_flags) -71 -72__all__ = [ -73 "Connection", -74 "Database", -75 "PreparedStatement", -76 "QueryResult", -77 "Type", -78 "__version__", -79 "storage_version", -80 "version", -81] +68 +69# Restore the original dlopen flags +70if sys.platform == "linux": +71 sys.setdlopenflags(original_dlopen_flags) +72 +73__all__ = [ +74 "AsyncConnection", +75 "Connection", +76 "Database", +77 "PreparedStatement", +78 "QueryResult", +79 "Type", +80 "__version__", +81 "storage_version", +82 "version", +83]

            +
            + +
            + + class + AsyncConnection: + + + +
            + +
             25class AsyncConnection:
            + 26    """AsyncConnection enables asynchronous execution of queries with a pool of connections and threads."""
            + 27
            + 28    def __init__(
            + 29        self,
            + 30        database: Database,
            + 31        max_concurrent_queries: int = 4,
            + 32        max_threads_per_query: int = 0,
            + 33    ) -> None:
            + 34        """
            + 35        Initialise the async connection.
            + 36
            + 37        Parameters
            + 38        ----------
            + 39        database : Database
            + 40            Database to connect to.
            + 41
            + 42        max_concurrent_queries : int
            + 43            Maximum number of concurrent queries to execute. This corresponds to the
            + 44            number of connections and thread pool size. Default is 4.
            + 45
            + 46        max_threads_per_query : int
            + 47            Controls the maximum number of threads per connection that can be used
            + 48            to execute one query. Default is 0, which means no limit.
            + 49        """
            + 50        self.database = database
            + 51        self.connections = [Connection(database) for _ in range(max_concurrent_queries)]
            + 52        self.connections_counter = [0 for _ in range(max_concurrent_queries)]
            + 53        self.lock = threading.Lock()
            + 54
            + 55        for conn in self.connections:
            + 56            conn.init_connection()
            + 57            conn.set_max_threads_for_exec(max_threads_per_query)
            + 58
            + 59        self.executor = ThreadPoolExecutor(max_workers=max_concurrent_queries)
            + 60
            + 61    def __enter__(self) -> Self:
            + 62        return self
            + 63
            + 64    def __exit__(
            + 65        self,
            + 66        exc_type: type[BaseException] | None,
            + 67        exc_value: BaseException | None,
            + 68        exc_traceback: TracebackType | None,
            + 69    ) -> None:
            + 70        self.close()
            + 71
            + 72    def __del__(self) -> None:
            + 73        self.close()
            + 74
            + 75    def __get_connection_with_least_queries(self) -> tuple[Connection, int]:
            + 76        with self.lock:
            + 77            conn_index = self.connections_counter.index(min(self.connections_counter))
            + 78            self.connections_counter[conn_index] += 1
            + 79        return self.connections[conn_index], conn_index
            + 80
            + 81    def __decrement_connection_counter(self, conn_index: int) -> None:
            + 82        """Decrement the query counter for a connection."""
            + 83        with self.lock:
            + 84            self.connections_counter[conn_index] -= 1
            + 85            if self.connections_counter[conn_index] < 0:
            + 86                self.connections_counter[conn_index] = 0
            + 87
            + 88    def acquire_connection(self) -> Connection:
            + 89        """
            + 90        Acquire a connection from the connection pool for temporary synchronous
            + 91        calls. If the connection pool is oversubscribed, the method will return
            + 92        the connection with the least number of queued queries. It is required
            + 93        to release the connection by calling `release_connection` after the
            + 94        connection is no longer needed.
            + 95
            + 96        Returns
            + 97        -------
            + 98        Connection
            + 99            A connection object.
            +100        """
            +101        conn, _ = self.__get_connection_with_least_queries()
            +102        return conn
            +103
            +104    def release_connection(self, conn: Connection) -> None:
            +105        """
            +106        Release a connection acquired by `acquire_connection` back to the
            +107        connection pool. Calling this method is required when the connection is
            +108        no longer needed.
            +109
            +110        Parameters
            +111        ----------
            +112        conn : Connection
            +113            Connection object to release.
            +114
            +115
            +116        """
            +117        for i, existing_conn in enumerate(self.connections):
            +118            if existing_conn == conn:
            +119                self.__decrement_connection_counter(i)
            +120                break
            +121
            +122    def set_query_timeout(self, timeout_in_ms: int) -> None:
            +123        """
            +124        Set the query timeout value in ms for executing queries.
            +125
            +126        Parameters
            +127        ----------
            +128        timeout_in_ms : int
            +129            query timeout value in ms for executing queries.
            +130
            +131        """
            +132        for conn in self.connections:
            +133            conn.set_query_timeout(timeout_in_ms)
            +134
            +135    async def execute(
            +136        self, query: str | PreparedStatement, parameters: dict[str, Any] | None = None
            +137    ) -> QueryResult | list[QueryResult]:
            +138        """
            +139        Execute a query asynchronously.
            +140
            +141        Parameters
            +142        ----------
            +143        query : str | PreparedStatement
            +144            A prepared statement or a query string.
            +145            If a query string is given, a prepared statement will be created
            +146            automatically.
            +147
            +148        parameters : dict[str, Any]
            +149            Parameters for the query.
            +150
            +151        Returns
            +152        -------
            +153        QueryResult
            +154            Query result.
            +155
            +156        """
            +157        loop = asyncio.get_running_loop()
            +158        # If the query is a prepared statement, use the connection associated with it
            +159        if isinstance(query, PreparedStatement):
            +160            conn = query._connection
            +161            for i, existing_conn in enumerate(self.connections):
            +162                if existing_conn == conn:
            +163                    conn_index = i
            +164                    with self.lock:
            +165                        self.connections_counter[conn_index] += 1
            +166                    break
            +167        else:
            +168            conn, conn_index = self.__get_connection_with_least_queries()
            +169
            +170        try:
            +171            return await loop.run_in_executor(self.executor, conn.execute, query, parameters)
            +172        except asyncio.CancelledError:
            +173            conn.interrupt()
            +174        finally:
            +175            self.__decrement_connection_counter(conn_index)
            +176
            +177    async def prepare(self, query: str) -> PreparedStatement:
            +178        """
            +179        Create a prepared statement for a query asynchronously.
            +180
            +181        Parameters
            +182        ----------
            +183        query : str
            +184            Query to prepare.
            +185
            +186        Returns
            +187        -------
            +188        PreparedStatement
            +189            Prepared statement.
            +190
            +191        """
            +192        loop = asyncio.get_running_loop()
            +193        conn, conn_index = self.__get_connection_with_least_queries()
            +194
            +195        try:
            +196            preparedStatement = await loop.run_in_executor(self.executor, conn.prepare, query)
            +197            return preparedStatement
            +198        finally:
            +199            self.__decrement_connection_counter(conn_index)
            +200
            +201    def close(self) -> None:
            +202        """
            +203        Close all connections and shutdown the thread pool.
            +204
            +205        Note: Call to this method is optional. The connections and thread pool
            +206        will be closed automatically when the instance is garbage collected.
            +207        """
            +208        for conn in self.connections:
            +209            conn.close()
            +210
            +211        self.executor.shutdown(wait=True)
            +
            + + +

            AsyncConnection enables asynchronous execution of queries with a pool of connections and threads.

            +
            + + +
            + +
            + + AsyncConnection( database: Database, max_concurrent_queries: int = 4, max_threads_per_query: int = 0) + + + +
            + +
            28    def __init__(
            +29        self,
            +30        database: Database,
            +31        max_concurrent_queries: int = 4,
            +32        max_threads_per_query: int = 0,
            +33    ) -> None:
            +34        """
            +35        Initialise the async connection.
            +36
            +37        Parameters
            +38        ----------
            +39        database : Database
            +40            Database to connect to.
            +41
            +42        max_concurrent_queries : int
            +43            Maximum number of concurrent queries to execute. This corresponds to the
            +44            number of connections and thread pool size. Default is 4.
            +45
            +46        max_threads_per_query : int
            +47            Controls the maximum number of threads per connection that can be used
            +48            to execute one query. Default is 0, which means no limit.
            +49        """
            +50        self.database = database
            +51        self.connections = [Connection(database) for _ in range(max_concurrent_queries)]
            +52        self.connections_counter = [0 for _ in range(max_concurrent_queries)]
            +53        self.lock = threading.Lock()
            +54
            +55        for conn in self.connections:
            +56            conn.init_connection()
            +57            conn.set_max_threads_for_exec(max_threads_per_query)
            +58
            +59        self.executor = ThreadPoolExecutor(max_workers=max_concurrent_queries)
            +
            + + +

            Initialise the async connection.

            + +
            Parameters
            + +
              +
            • database (Database): +Database to connect to.
            • +
            • max_concurrent_queries (int): +Maximum number of concurrent queries to execute. This corresponds to the +number of connections and thread pool size. Default is 4.
            • +
            • max_threads_per_query (int): +Controls the maximum number of threads per connection that can be used +to execute one query. Default is 0, which means no limit.
            • +
            +
            + + +
            +
            +
            + database + + +
            + + + + +
            +
            +
            + connections + + +
            + + + + +
            +
            +
            + connections_counter + + +
            + + + + +
            +
            +
            + lock + + +
            + + + + +
            +
            +
            + executor + + +
            + + + + +
            +
            + +
            + + def + acquire_connection(self) -> Connection: + + + +
            + +
             88    def acquire_connection(self) -> Connection:
            + 89        """
            + 90        Acquire a connection from the connection pool for temporary synchronous
            + 91        calls. If the connection pool is oversubscribed, the method will return
            + 92        the connection with the least number of queued queries. It is required
            + 93        to release the connection by calling `release_connection` after the
            + 94        connection is no longer needed.
            + 95
            + 96        Returns
            + 97        -------
            + 98        Connection
            + 99            A connection object.
            +100        """
            +101        conn, _ = self.__get_connection_with_least_queries()
            +102        return conn
            +
            + + +

            Acquire a connection from the connection pool for temporary synchronous +calls. If the connection pool is oversubscribed, the method will return +the connection with the least number of queued queries. It is required +to release the connection by calling release_connection after the +connection is no longer needed.

            + +
            Returns
            + +
              +
            • Connection: A connection object.
            • +
            +
            + + +
            +
            + +
            + + def + release_connection(self, conn: Connection) -> None: + + + +
            + +
            104    def release_connection(self, conn: Connection) -> None:
            +105        """
            +106        Release a connection acquired by `acquire_connection` back to the
            +107        connection pool. Calling this method is required when the connection is
            +108        no longer needed.
            +109
            +110        Parameters
            +111        ----------
            +112        conn : Connection
            +113            Connection object to release.
            +114
            +115
            +116        """
            +117        for i, existing_conn in enumerate(self.connections):
            +118            if existing_conn == conn:
            +119                self.__decrement_connection_counter(i)
            +120                break
            +
            + + +

            Release a connection acquired by acquire_connection back to the +connection pool. Calling this method is required when the connection is +no longer needed.

            + +
            Parameters
            + +
              +
            • conn (Connection): +Connection object to release.
            • +
            +
            + + +
            +
            + +
            + + def + set_query_timeout(self, timeout_in_ms: int) -> None: + + + +
            + +
            122    def set_query_timeout(self, timeout_in_ms: int) -> None:
            +123        """
            +124        Set the query timeout value in ms for executing queries.
            +125
            +126        Parameters
            +127        ----------
            +128        timeout_in_ms : int
            +129            query timeout value in ms for executing queries.
            +130
            +131        """
            +132        for conn in self.connections:
            +133            conn.set_query_timeout(timeout_in_ms)
            +
            + + +

            Set the query timeout value in ms for executing queries.

            + +
            Parameters
            + +
              +
            • timeout_in_ms (int): +query timeout value in ms for executing queries.
            • +
            +
            + + +
            +
            + +
            + + async def + execute( self, query: str | PreparedStatement, parameters: dict[str, typing.Any] | None = None) -> QueryResult | list[QueryResult]: + + + +
            + +
            135    async def execute(
            +136        self, query: str | PreparedStatement, parameters: dict[str, Any] | None = None
            +137    ) -> QueryResult | list[QueryResult]:
            +138        """
            +139        Execute a query asynchronously.
            +140
            +141        Parameters
            +142        ----------
            +143        query : str | PreparedStatement
            +144            A prepared statement or a query string.
            +145            If a query string is given, a prepared statement will be created
            +146            automatically.
            +147
            +148        parameters : dict[str, Any]
            +149            Parameters for the query.
            +150
            +151        Returns
            +152        -------
            +153        QueryResult
            +154            Query result.
            +155
            +156        """
            +157        loop = asyncio.get_running_loop()
            +158        # If the query is a prepared statement, use the connection associated with it
            +159        if isinstance(query, PreparedStatement):
            +160            conn = query._connection
            +161            for i, existing_conn in enumerate(self.connections):
            +162                if existing_conn == conn:
            +163                    conn_index = i
            +164                    with self.lock:
            +165                        self.connections_counter[conn_index] += 1
            +166                    break
            +167        else:
            +168            conn, conn_index = self.__get_connection_with_least_queries()
            +169
            +170        try:
            +171            return await loop.run_in_executor(self.executor, conn.execute, query, parameters)
            +172        except asyncio.CancelledError:
            +173            conn.interrupt()
            +174        finally:
            +175            self.__decrement_connection_counter(conn_index)
            +
            + + +

            Execute a query asynchronously.

            + +
            Parameters
            + +
              +
            • query (str | PreparedStatement): +A prepared statement or a query string. +If a query string is given, a prepared statement will be created +automatically.
            • +
            • parameters (dict[str, Any]): +Parameters for the query.
            • +
            + +
            Returns
            + +
              +
            • QueryResult: Query result.
            • +
            +
            + + +
            +
            + +
            + + async def + prepare(self, query: str) -> PreparedStatement: + + + +
            + +
            177    async def prepare(self, query: str) -> PreparedStatement:
            +178        """
            +179        Create a prepared statement for a query asynchronously.
            +180
            +181        Parameters
            +182        ----------
            +183        query : str
            +184            Query to prepare.
            +185
            +186        Returns
            +187        -------
            +188        PreparedStatement
            +189            Prepared statement.
            +190
            +191        """
            +192        loop = asyncio.get_running_loop()
            +193        conn, conn_index = self.__get_connection_with_least_queries()
            +194
            +195        try:
            +196            preparedStatement = await loop.run_in_executor(self.executor, conn.prepare, query)
            +197            return preparedStatement
            +198        finally:
            +199            self.__decrement_connection_counter(conn_index)
            +
            + + +

            Create a prepared statement for a query asynchronously.

            + +
            Parameters
            + +
              +
            • query (str): +Query to prepare.
            • +
            + +
            Returns
            + +
              +
            • PreparedStatement: Prepared statement.
            • +
            +
            + + +
            +
            + +
            + + def + close(self) -> None: + + + +
            + +
            201    def close(self) -> None:
            +202        """
            +203        Close all connections and shutdown the thread pool.
            +204
            +205        Note: Call to this method is optional. The connections and thread pool
            +206        will be closed automatically when the instance is garbage collected.
            +207        """
            +208        for conn in self.connections:
            +209            conn.close()
            +210
            +211        self.executor.shutdown(wait=True)
            +
            + + +

            Close all connections and shutdown the thread pool.

            + +

            Note: Call to this method is optional. The connections and thread pool +will be closed automatically when the instance is garbage collected.

            +
            + + +
            +
            @@ -578,7 +1241,7 @@

            127 msg = f"Parameters must be a dict; found {type(parameters)}." 128 raise RuntimeError(msg) # noqa: TRY004 129 -130 if len(parameters) == 0: +130 if len(parameters) == 0 and isinstance(query, str): 131 _query_result = self._connection.query(query) 132 else: 133 prepared_statement = self.prepare(query) if isinstance(query, str) else query @@ -681,65 +1344,73 @@

            230 self.init_connection() 231 self._connection.set_query_timeout(timeout_in_ms) 232 -233 def create_function( -234 self, -235 name: str, -236 udf: Callable[[...], Any], -237 params_type: list[Type | str] | None = None, -238 return_type: Type | str = "", -239 *, -240 default_null_handling: bool = True, -241 catch_exceptions: bool = False, -242 ) -> None: -243 """ -244 Sets a User Defined Function (UDF) to use in cypher queries. -245 -246 Parameters -247 ---------- -248 name: str -249 name of function -250 -251 udf: Callable[[...], Any] -252 function to be executed +233 def interrupt(self) -> None: +234 """ +235 Interrupts execution of the current query. +236 +237 If there is no currently executing query, this function does nothing. +238 """ +239 self._connection.interrupt() +240 +241 def create_function( +242 self, +243 name: str, +244 udf: Callable[[...], Any], +245 params_type: list[Type | str] | None = None, +246 return_type: Type | str = "", +247 *, +248 default_null_handling: bool = True, +249 catch_exceptions: bool = False, +250 ) -> None: +251 """ +252 Sets a User Defined Function (UDF) to use in cypher queries. 253 -254 params_type: Optional[list[Type]] -255 list of Type enums to describe the input parameters -256 -257 return_type: Optional[Type] -258 a Type enum to describe the returned value -259 -260 default_null_handling: Optional[bool] -261 if true, when any parameter is null, the resulting value will be null -262 -263 catch_exceptions: Optional[bool] -264 if true, when an exception is thrown from python, the function output will be null -265 Otherwise, the exception will be rethrown -266 """ -267 if params_type is None: -268 params_type = [] -269 parsed_params_type = [x if type(x) is str else x.value for x in params_type] -270 if type(return_type) is not str: -271 return_type = return_type.value -272 -273 self._connection.create_function( -274 name=name, -275 udf=udf, -276 params_type=parsed_params_type, -277 return_value=return_type, -278 default_null=default_null_handling, -279 catch_exceptions=catch_exceptions, -280 ) -281 -282 def remove_function(self, name: str) -> None: -283 """ -284 Removes a User Defined Function (UDF). -285 -286 Parameters -287 ---------- -288 name: str -289 name of function to be removed. -290 """ -291 self._connection.remove_function(name) +254 Parameters +255 ---------- +256 name: str +257 name of function +258 +259 udf: Callable[[...], Any] +260 function to be executed +261 +262 params_type: Optional[list[Type]] +263 list of Type enums to describe the input parameters +264 +265 return_type: Optional[Type] +266 a Type enum to describe the returned value +267 +268 default_null_handling: Optional[bool] +269 if true, when any parameter is null, the resulting value will be null +270 +271 catch_exceptions: Optional[bool] +272 if true, when an exception is thrown from python, the function output will be null +273 Otherwise, the exception will be rethrown +274 """ +275 if params_type is None: +276 params_type = [] +277 parsed_params_type = [x if type(x) is str else x.value for x in params_type] +278 if type(return_type) is not str: +279 return_type = return_type.value +280 +281 self._connection.create_function( +282 name=name, +283 udf=udf, +284 params_type=parsed_params_type, +285 return_value=return_type, +286 default_null=default_null_handling, +287 catch_exceptions=catch_exceptions, +288 ) +289 +290 def remove_function(self, name: str) -> None: +291 """ +292 Removes a User Defined Function (UDF). +293 +294 Parameters +295 ---------- +296 name: str +297 name of function to be removed. +298 """ +299 self._connection.remove_function(name)

            @@ -966,7 +1637,7 @@
            Parameters
            127 msg = f"Parameters must be a dict; found {type(parameters)}." 128 raise RuntimeError(msg) # noqa: TRY004 129 -130 if len(parameters) == 0: +130 if len(parameters) == 0 and isinstance(query, str): 131 _query_result = self._connection.query(query) 132 else: 133 prepared_statement = self.prepare(query) if isinstance(query, str) else query @@ -1093,6 +1764,34 @@
            Parameters

+
+
+ +
+ + def + interrupt(self) -> None: + + + +
+ +
233    def interrupt(self) -> None:
+234        """
+235        Interrupts execution of the current query.
+236
+237        If there is no currently executing query, this function does nothing.
+238        """
+239        self._connection.interrupt()
+
+ + +

Interrupts execution of the current query.

+ +

If there is no currently executing query, this function does nothing.

+
+ +
@@ -1105,54 +1804,54 @@
Parameters
-
233    def create_function(
-234        self,
-235        name: str,
-236        udf: Callable[[...], Any],
-237        params_type: list[Type | str] | None = None,
-238        return_type: Type | str = "",
-239        *,
-240        default_null_handling: bool = True,
-241        catch_exceptions: bool = False,
-242    ) -> None:
-243        """
-244        Sets a User Defined Function (UDF) to use in cypher queries.
-245
-246        Parameters
-247        ----------
-248        name: str
-249            name of function
-250
-251        udf: Callable[[...], Any]
-252            function to be executed
+            
241    def create_function(
+242        self,
+243        name: str,
+244        udf: Callable[[...], Any],
+245        params_type: list[Type | str] | None = None,
+246        return_type: Type | str = "",
+247        *,
+248        default_null_handling: bool = True,
+249        catch_exceptions: bool = False,
+250    ) -> None:
+251        """
+252        Sets a User Defined Function (UDF) to use in cypher queries.
 253
-254        params_type: Optional[list[Type]]
-255            list of Type enums to describe the input parameters
-256
-257        return_type: Optional[Type]
-258            a Type enum to describe the returned value
-259
-260        default_null_handling: Optional[bool]
-261            if true, when any parameter is null, the resulting value will be null
-262
-263        catch_exceptions: Optional[bool]
-264            if true, when an exception is thrown from python, the function output will be null
-265            Otherwise, the exception will be rethrown
-266        """
-267        if params_type is None:
-268            params_type = []
-269        parsed_params_type = [x if type(x) is str else x.value for x in params_type]
-270        if type(return_type) is not str:
-271            return_type = return_type.value
-272
-273        self._connection.create_function(
-274            name=name,
-275            udf=udf,
-276            params_type=parsed_params_type,
-277            return_value=return_type,
-278            default_null=default_null_handling,
-279            catch_exceptions=catch_exceptions,
-280        )
+254        Parameters
+255        ----------
+256        name: str
+257            name of function
+258
+259        udf: Callable[[...], Any]
+260            function to be executed
+261
+262        params_type: Optional[list[Type]]
+263            list of Type enums to describe the input parameters
+264
+265        return_type: Optional[Type]
+266            a Type enum to describe the returned value
+267
+268        default_null_handling: Optional[bool]
+269            if true, when any parameter is null, the resulting value will be null
+270
+271        catch_exceptions: Optional[bool]
+272            if true, when an exception is thrown from python, the function output will be null
+273            Otherwise, the exception will be rethrown
+274        """
+275        if params_type is None:
+276            params_type = []
+277        parsed_params_type = [x if type(x) is str else x.value for x in params_type]
+278        if type(return_type) is not str:
+279            return_type = return_type.value
+280
+281        self._connection.create_function(
+282            name=name,
+283            udf=udf,
+284            params_type=parsed_params_type,
+285            return_value=return_type,
+286            default_null=default_null_handling,
+287            catch_exceptions=catch_exceptions,
+288        )
 
@@ -1190,16 +1889,16 @@
Parameters
-
282    def remove_function(self, name: str) -> None:
-283        """
-284        Removes a User Defined Function (UDF).
-285
-286        Parameters
-287        ----------
-288        name: str
-289            name of function to be removed.
-290        """
-291        self._connection.remove_function(name)
+            
290    def remove_function(self, name: str) -> None:
+291        """
+292        Removes a User Defined Function (UDF).
+293
+294        Parameters
+295        ----------
+296        name: str
+297            name of function to be removed.
+298        """
+299        self._connection.remove_function(name)
 
@@ -1228,7 +1927,7 @@
Parameters
 26class Database:
- 27    """Kùzu database instance."""
+ 27    """Kuzu database instance."""
  28
  29    def __init__(
  30        self,
@@ -1498,7 +2197,7 @@ 
Parameters
-

Kùzu database instance.

+

Kuzu database instance.

@@ -2063,28 +2762,29 @@
Raises
23 Query to prepare. 24 """ 25 self._prepared_statement = connection._connection.prepare(query) -26 -27 def is_success(self) -> bool: -28 """ -29 Check if the prepared statement is successfully prepared. -30 -31 Returns -32 ------- -33 bool -34 True if the prepared statement is successfully prepared. -35 """ -36 return self._prepared_statement.is_success() -37 -38 def get_error_message(self) -> str: -39 """ -40 Get the error message if the query is not prepared successfully. -41 -42 Returns -43 ------- -44 str -45 Error message. -46 """ -47 return self._prepared_statement.get_error_message() +26 self._connection = connection +27 +28 def is_success(self) -> bool: +29 """ +30 Check if the prepared statement is successfully prepared. +31 +32 Returns +33 ------- +34 bool +35 True if the prepared statement is successfully prepared. +36 """ +37 return self._prepared_statement.is_success() +38 +39 def get_error_message(self) -> str: +40 """ +41 Get the error message if the query is not prepared successfully. +42 +43 Returns +44 ------- +45 str +46 Error message. +47 """ +48 return self._prepared_statement.get_error_message()
@@ -2113,6 +2813,7 @@
Raises
23 Query to prepare. 24 """ 25 self._prepared_statement = connection._connection.prepare(query) +26 self._connection = connection
@@ -2139,16 +2840,16 @@
Raises
-
27    def is_success(self) -> bool:
-28        """
-29        Check if the prepared statement is successfully prepared.
-30
-31        Returns
-32        -------
-33        bool
-34            True if the prepared statement is successfully prepared.
-35        """
-36        return self._prepared_statement.is_success()
+            
28    def is_success(self) -> bool:
+29        """
+30        Check if the prepared statement is successfully prepared.
+31
+32        Returns
+33        -------
+34        bool
+35            True if the prepared statement is successfully prepared.
+36        """
+37        return self._prepared_statement.is_success()
 
@@ -2174,16 +2875,16 @@
Returns
-
38    def get_error_message(self) -> str:
-39        """
-40        Get the error message if the query is not prepared successfully.
-41
-42        Returns
-43        -------
-44        str
-45            Error message.
-46        """
-47        return self._prepared_statement.get_error_message()
+            
39    def get_error_message(self) -> str:
+40        """
+41        Get the error message if the query is not prepared successfully.
+42
+43        Returns
+44        -------
+45        str
+46            Error message.
+47        """
+48        return self._prepared_statement.get_error_message()
 
diff --git a/python/search.js b/python/search.js index 9a635bb..3d58afd 100644 --- a/python/search.js +++ b/python/search.js @@ -1,6 +1,6 @@ window.pdocSearch = (function(){ /** elasticlunr - http://weixsong.github.io * Copyright (C) 2017 Oliver Nightingale * Copyright (C) 2017 Wei Song * MIT Licensed */!function(){function e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),t.utils.toString=function(e){return void 0===e||null===e?"":e.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},t.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);-1!==n&&(this.events[e].splice(n,1),0==this.events[e].length&&delete this.events[e])}},t.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)},this)}},t.EventEmitter.prototype.hasHandler=function(e){return e in this.events},t.tokenizer=function(e){if(!arguments.length||null===e||void 0===e)return[];if(Array.isArray(e)){var n=e.filter(function(e){return null===e||void 0===e?!1:!0});n=n.map(function(e){return t.utils.toString(e).toLowerCase()});var i=[];return n.forEach(function(e){var n=e.split(t.tokenizer.seperator);i=i.concat(n)},this),i}return e.toString().trim().toLowerCase().split(t.tokenizer.seperator)},t.tokenizer.defaultSeperator=/[\s\-]+/,t.tokenizer.seperator=t.tokenizer.defaultSeperator,t.tokenizer.setSeperator=function(e){null!==e&&void 0!==e&&"object"==typeof e&&(t.tokenizer.seperator=e)},t.tokenizer.resetSeperator=function(){t.tokenizer.seperator=t.tokenizer.defaultSeperator},t.tokenizer.getSeperator=function(){return t.tokenizer.seperator},t.Pipeline=function(){this._queue=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in t.Pipeline.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[n]=e},t.Pipeline.getRegisteredFunction=function(e){return e in t.Pipeline.registeredFunctions!=!0?null:t.Pipeline.registeredFunctions[e]},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.getRegisteredFunction(e);if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i+1,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i,0,n)},t.Pipeline.prototype.remove=function(e){var t=this._queue.indexOf(e);-1!==t&&this._queue.splice(t,1)},t.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._queue.length,o=0;n>o;o++){for(var r=e[o],s=0;i>s&&(r=this._queue[s](r,o,e),void 0!==r&&null!==r);s++);void 0!==r&&null!==r&&t.push(r)}return t},t.Pipeline.prototype.reset=function(){this._queue=[]},t.Pipeline.prototype.get=function(){return this._queue},t.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.DocumentStore,this.index={},this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},t.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;n._fields=e.fields,n._ref=e.ref,n.documentStore=t.DocumentStore.load(e.documentStore),n.pipeline=t.Pipeline.load(e.pipeline),n.index={};for(var i in e.index)n.index[i]=t.InvertedIndex.load(e.index[i]);return n},t.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new t.InvertedIndex,this},t.Index.prototype.setRef=function(e){return this._ref=e,this},t.Index.prototype.saveDocument=function(e){return this.documentStore=new t.DocumentStore(e),this},t.Index.prototype.addDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.addDoc(i,e),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));this.documentStore.addFieldLength(i,n,o.length);var r={};o.forEach(function(e){e in r?r[e]+=1:r[e]=1},this);for(var s in r){var u=r[s];u=Math.sqrt(u),this.index[n].addToken(s,{ref:i,tf:u})}},this),n&&this.eventEmitter.emit("add",e,this)}},t.Index.prototype.removeDocByRef=function(e){if(e&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(e)){var t=this.documentStore.getDoc(e);this.removeDoc(t,!1)}},t.Index.prototype.removeDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.hasDoc(i)&&(this.documentStore.removeDoc(i),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));o.forEach(function(e){this.index[n].removeToken(e,i)},this)},this),n&&this.eventEmitter.emit("remove",e,this))}},t.Index.prototype.updateDoc=function(e,t){var t=void 0===t?!0:t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},t.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var i=this.index[t].getDocFreq(e),o=1+Math.log(this.documentStore.length/(i+1));return this._idfCache[n]=o,o},t.Index.prototype.getFields=function(){return this._fields.slice()},t.Index.prototype.search=function(e,n){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var i=null;null!=n&&(i=JSON.stringify(n));for(var o=new t.Configuration(i,this.getFields()).get(),r={},s=Object.keys(e),u=0;u0&&t.push(e);for(var i in n)"docs"!==i&&"df"!==i&&this.expandToken(e+i,t,n[i]);return t},t.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},t.Configuration=function(e,n){var e=e||"";if(void 0==n||null==n)throw new Error("fields should not be null");this.config={};var i;try{i=JSON.parse(e),this.buildUserConfig(i,n)}catch(o){t.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(n)}},t.Configuration.prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},t.Configuration.prototype.buildUserConfig=function(e,n){var i="OR",o=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(o=e.expand||o),"fields"in e)for(var r in e.fields)if(n.indexOf(r)>-1){var s=e.fields[r],u=o;void 0!=s.expand&&(u=s.expand),this.config[r]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||i,expand:u}}else t.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,o,n)},t.Configuration.prototype.addAllFields2UserConfig=function(e,t,n){n.forEach(function(n){this.config[n]={boost:1,bool:e,expand:t}},this)},t.Configuration.prototype.get=function(){return this.config},t.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){var e,t;for(e=0;e1;){if(r===e)return o;e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o]}return r===e?o:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,i=n-t,o=t+Math.floor(i/2),r=this.elements[o];i>1;)e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o];return r>e?o:e>r?o+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,i=0,o=this.length,r=e.length,s=this.elements,u=e.elements;;){if(n>o-1||i>r-1)break;s[n]!==u[i]?s[n]u[i]&&i++:(t.add(s[n]),n++,i++)}return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();oK\u00f9zu Python API bindings.\n\n

This package provides a Python API for K\u00f9zu graph database management system.

\n\n

To install the package, run:

\n\n
python3 -m pip install kuzu\n
\n\n

Example usage:

\n\n
\n
import kuzu\n\ndb = kuzu.Database("./test")\nconn = kuzu.Connection(db)\n\n# Define the schema\nconn.execute("CREATE NODE TABLE User(name STRING, age INT64, PRIMARY KEY (name))")\nconn.execute("CREATE NODE TABLE City(name STRING, population INT64, PRIMARY KEY (name))")\nconn.execute("CREATE REL TABLE Follows(FROM User TO User, since INT64)")\nconn.execute("CREATE REL TABLE LivesIn(FROM User TO City)")\n\n# Load some data\nconn.execute('COPY User FROM "user.csv"')\nconn.execute('COPY City FROM "city.csv"')\nconn.execute('COPY Follows FROM "follows.csv"')\nconn.execute('COPY LivesIn FROM "lives-in.csv"')\n\n# Query the data\nresults = conn.execute("MATCH (u:User) RETURN u.name, u.age;")\nwhile results.has_next():\n    print(results.get_next())\n
\n
\n\n

The dataset used in this example can be found here.

\n"}, {"fullname": "kuzu.Connection", "modulename": "kuzu", "qualname": "Connection", "kind": "class", "doc": "

Connection to a database.

\n"}, {"fullname": "kuzu.Connection.__init__", "modulename": "kuzu", "qualname": "Connection.__init__", "kind": "function", "doc": "

Initialise kuzu database connection.

\n\n
Parameters
\n\n
    \n
  • database (Database):\nDatabase to connect to.
  • \n
  • num_threads (int):\nMaximum number of threads to use for executing queries.
  • \n
\n", "signature": "(database: kuzu.database.Database, num_threads: int = 0)"}, {"fullname": "kuzu.Connection.database", "modulename": "kuzu", "qualname": "Connection.database", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Connection.num_threads", "modulename": "kuzu", "qualname": "Connection.num_threads", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Connection.is_closed", "modulename": "kuzu", "qualname": "Connection.is_closed", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Connection.init_connection", "modulename": "kuzu", "qualname": "Connection.init_connection", "kind": "function", "doc": "

Establish a connection to the database, if not already initalised.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.set_max_threads_for_exec", "modulename": "kuzu", "qualname": "Connection.set_max_threads_for_exec", "kind": "function", "doc": "

Set the maximum number of threads for executing queries.

\n\n
Parameters
\n\n
    \n
  • num_threads (int):\nMaximum number of threads to use for executing queries.
  • \n
\n", "signature": "(self, num_threads: int) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.close", "modulename": "kuzu", "qualname": "Connection.close", "kind": "function", "doc": "

Close the connection.

\n\n

Note: Call to this method is optional. The connection will be closed\nautomatically when the object goes out of scope.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.execute", "modulename": "kuzu", "qualname": "Connection.execute", "kind": "function", "doc": "

Execute a query.

\n\n
Parameters
\n\n
    \n
  • query (str | PreparedStatement):\nA prepared statement or a query string.\nIf a query string is given, a prepared statement will be created\nautomatically.
  • \n
  • parameters (dict[str, Any]):\nParameters for the query.
  • \n
\n\n
Returns
\n\n
    \n
  • QueryResult: Query result.
  • \n
\n", "signature": "(\tself,\tquery: str | kuzu.prepared_statement.PreparedStatement,\tparameters: dict[str, typing.Any] | None = None) -> kuzu.query_result.QueryResult | list[kuzu.query_result.QueryResult]:", "funcdef": "def"}, {"fullname": "kuzu.Connection.prepare", "modulename": "kuzu", "qualname": "Connection.prepare", "kind": "function", "doc": "

Create a prepared statement for a query.

\n\n
Parameters
\n\n
    \n
  • query (str):\nQuery to prepare.
  • \n
\n\n
Returns
\n\n
    \n
  • PreparedStatement: Prepared statement.
  • \n
\n", "signature": "(self, query: str) -> kuzu.prepared_statement.PreparedStatement:", "funcdef": "def"}, {"fullname": "kuzu.Connection.set_query_timeout", "modulename": "kuzu", "qualname": "Connection.set_query_timeout", "kind": "function", "doc": "

Set the query timeout value in ms for executing queries.

\n\n
Parameters
\n\n
    \n
  • timeout_in_ms (int):\nquery timeout value in ms for executing queries.
  • \n
\n", "signature": "(self, timeout_in_ms: int) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.create_function", "modulename": "kuzu", "qualname": "Connection.create_function", "kind": "function", "doc": "

Sets a User Defined Function (UDF) to use in cypher queries.

\n\n
Parameters
\n\n
    \n
  • name (str):\nname of function
  • \n
  • udf (Callable[[...], Any]):\nfunction to be executed
  • \n
  • params_type (Optional[list[Type]]):\nlist of Type enums to describe the input parameters
  • \n
  • return_type (Optional[Type]):\na Type enum to describe the returned value
  • \n
  • default_null_handling (Optional[bool]):\nif true, when any parameter is null, the resulting value will be null
  • \n
  • catch_exceptions (Optional[bool]):\nif true, when an exception is thrown from python, the function output will be null\nOtherwise, the exception will be rethrown
  • \n
\n", "signature": "(\tself,\tname: str,\tudf: Callable[..., Any],\tparams_type: list[kuzu.types.Type | str] | None = None,\treturn_type: kuzu.types.Type | str = '',\t*,\tdefault_null_handling: bool = True,\tcatch_exceptions: bool = False) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.remove_function", "modulename": "kuzu", "qualname": "Connection.remove_function", "kind": "function", "doc": "

Removes a User Defined Function (UDF).

\n\n
Parameters
\n\n
    \n
  • name (str):\nname of function to be removed.
  • \n
\n", "signature": "(self, name: str) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Database", "modulename": "kuzu", "qualname": "Database", "kind": "class", "doc": "

K\u00f9zu database instance.

\n"}, {"fullname": "kuzu.Database.__init__", "modulename": "kuzu", "qualname": "Database.__init__", "kind": "function", "doc": "
Parameters
\n\n
    \n
  • database_path (str, Path):\nThe path to database files. If the path is not specified, or empty, or equal to :memory:, the database\nwill be created in memory.
  • \n
  • buffer_pool_size (int):\nThe maximum size of buffer pool in bytes. Defaults to ~80% of system memory.
  • \n
  • max_num_threads (int):\nThe maximum number of threads to use for executing queries.
  • \n
  • compression (bool):\nEnable database compression.
  • \n
  • lazy_init (bool):\nIf True, the database will not be initialized until the first query.\nThis is useful when the database is not used in the main thread or\nwhen the main process is forked.\nDefault to False.
  • \n
  • read_only (bool):\nIf true, the database is opened read-only. No write transactions is\nallowed on the Database object. Multiple read-only Database\nobjects can be created with the same database path. However, there\ncannot be multiple Database objects created with the same\ndatabase path.\nDefault to False.
  • \n
  • max_db_size (int):\nThe maximum size of the database in bytes. Note that this is introduced\ntemporarily for now to get around with the default 8TB mmap address\n space limit some environment. This will be removed once we implemente\n a better solution later. The value is default to 1 << 43 (8TB) under 64-bit\n environment and 1GB under 32-bit one.
  • \n
  • auto_checkpoint (bool):\nIf true, the database will automatically checkpoint when the size of\nthe WAL file exceeds the checkpoint threshold.
  • \n
  • checkpoint_threshold (int):\nThe threshold of the WAL file size in bytes. When the size of the\nWAL file exceeds this threshold, the database will checkpoint if autoCheckpoint is true.
  • \n
\n", "signature": "(\tdatabase_path: str | pathlib.Path | None = None,\t*,\tbuffer_pool_size: int = 0,\tmax_num_threads: int = 0,\tcompression: bool = True,\tlazy_init: bool = False,\tread_only: bool = False,\tmax_db_size: int = 8796093022208,\tauto_checkpoint: bool = True,\tcheckpoint_threshold: int = -1)"}, {"fullname": "kuzu.Database.database_path", "modulename": "kuzu", "qualname": "Database.database_path", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.buffer_pool_size", "modulename": "kuzu", "qualname": "Database.buffer_pool_size", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.max_num_threads", "modulename": "kuzu", "qualname": "Database.max_num_threads", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.compression", "modulename": "kuzu", "qualname": "Database.compression", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.read_only", "modulename": "kuzu", "qualname": "Database.read_only", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.max_db_size", "modulename": "kuzu", "qualname": "Database.max_db_size", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.auto_checkpoint", "modulename": "kuzu", "qualname": "Database.auto_checkpoint", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.checkpoint_threshold", "modulename": "kuzu", "qualname": "Database.checkpoint_threshold", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.is_closed", "modulename": "kuzu", "qualname": "Database.is_closed", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.get_version", "modulename": "kuzu", "qualname": "Database.get_version", "kind": "function", "doc": "

Get the version of the database.

\n\n
Returns
\n\n
    \n
  • str: The version of the database.
  • \n
\n", "signature": "() -> str:", "funcdef": "def"}, {"fullname": "kuzu.Database.get_storage_version", "modulename": "kuzu", "qualname": "Database.get_storage_version", "kind": "function", "doc": "

Get the storage version of the database.

\n\n
Returns
\n\n
    \n
  • int: The storage version of the database.
  • \n
\n", "signature": "() -> int:", "funcdef": "def"}, {"fullname": "kuzu.Database.init_database", "modulename": "kuzu", "qualname": "Database.init_database", "kind": "function", "doc": "

Initialize the database.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Database.get_torch_geometric_remote_backend", "modulename": "kuzu", "qualname": "Database.get_torch_geometric_remote_backend", "kind": "function", "doc": "

Use the database as the remote backend for torch_geometric.

\n\n

For the interface of the remote backend, please refer to\nhttps://pytorch-geometric.readthedocs.io/en/latest/advanced/remote.html.\nThe current implementation is read-only and does not support edge\nfeatures. The IDs of the nodes are based on the internal IDs (i.e., node\noffsets). For the remote node IDs to be consistent with the positions in\nthe output tensors, please ensure that no deletion has been performed\non the node tables.

\n\n

The remote backend can also be plugged into the data loader of\ntorch_geometric, which is useful for mini-batch training. For example:

\n\n
\n
    loader_kuzu = NeighborLoader(\n        data=(feature_store, graph_store),\n        num_neighbors={('paper', 'cites', 'paper'): [12, 12, 12]},\n        batch_size=LOADER_BATCH_SIZE,\n        input_nodes=('paper', input_nodes),\n        num_workers=4,\n        filter_per_worker=False,\n    )\n
\n
\n\n

Please note that the database instance is not fork-safe, so if more than\none worker is used, filter_per_worker must be set to False.

\n\n
Parameters
\n\n
    \n
  • num_threads (int):\nNumber of threads to use for data loading. Default to None, which\nmeans using the number of CPU cores.
  • \n
\n\n
Returns
\n\n
    \n
  • feature_store (KuzuFeatureStore):\nFeature store compatible with torch_geometric.
  • \n
  • graph_store (KuzuGraphStore):\nGraph store compatible with torch_geometric.
  • \n
\n", "signature": "(\tself,\tnum_threads: int | None = None) -> tuple[kuzu.torch_geometric_feature_store.KuzuFeatureStore, kuzu.torch_geometric_graph_store.KuzuGraphStore]:", "funcdef": "def"}, {"fullname": "kuzu.Database.close", "modulename": "kuzu", "qualname": "Database.close", "kind": "function", "doc": "

Close the database. Once the database is closed, the lock on the database\nfiles is released and the database can be opened in another process.

\n\n

Note: Call to this method is not required. The Python garbage collector\nwill automatically close the database when no references to the database\nobject exist. It is recommended not to call this method explicitly. If you\ndecide to manually close the database, make sure that all the QueryResult\nand Connection objects are closed before calling this method.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Database.check_for_database_close", "modulename": "kuzu", "qualname": "Database.check_for_database_close", "kind": "function", "doc": "

Check if the database is closed and raise an exception if it is.

\n\n
Raises
\n\n
    \n
  • Exception: If the database is closed.
  • \n
\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.PreparedStatement", "modulename": "kuzu", "qualname": "PreparedStatement", "kind": "class", "doc": "

A prepared statement is a parameterized query which can avoid planning the\nsame query for repeated execution.

\n"}, {"fullname": "kuzu.PreparedStatement.__init__", "modulename": "kuzu", "qualname": "PreparedStatement.__init__", "kind": "function", "doc": "
Parameters
\n\n
    \n
  • connection (Connection):\nConnection to a database.
  • \n
  • query (str):\nQuery to prepare.
  • \n
\n", "signature": "(connection: kuzu.connection.Connection, query: str)"}, {"fullname": "kuzu.PreparedStatement.is_success", "modulename": "kuzu", "qualname": "PreparedStatement.is_success", "kind": "function", "doc": "

Check if the prepared statement is successfully prepared.

\n\n
Returns
\n\n
    \n
  • bool: True if the prepared statement is successfully prepared.
  • \n
\n", "signature": "(self) -> bool:", "funcdef": "def"}, {"fullname": "kuzu.PreparedStatement.get_error_message", "modulename": "kuzu", "qualname": "PreparedStatement.get_error_message", "kind": "function", "doc": "

Get the error message if the query is not prepared successfully.

\n\n
Returns
\n\n
    \n
  • str: Error message.
  • \n
\n", "signature": "(self) -> str:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult", "modulename": "kuzu", "qualname": "QueryResult", "kind": "class", "doc": "

QueryResult stores the result of a query execution.

\n"}, {"fullname": "kuzu.QueryResult.__init__", "modulename": "kuzu", "qualname": "QueryResult.__init__", "kind": "function", "doc": "
Parameters
\n\n
    \n
  • connection (_kuzu.Connection):\nThe underlying C++ connection object from pybind11.
  • \n
  • query_result (_kuzu.QueryResult):\nThe underlying C++ query result object from pybind11.
  • \n
\n", "signature": "(connection: kuzu._kuzu.Connection, query_result: '_kuzu.QueryResult')"}, {"fullname": "kuzu.QueryResult.connection", "modulename": "kuzu", "qualname": "QueryResult.connection", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.QueryResult.is_closed", "modulename": "kuzu", "qualname": "QueryResult.is_closed", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.QueryResult.check_for_query_result_close", "modulename": "kuzu", "qualname": "QueryResult.check_for_query_result_close", "kind": "function", "doc": "

Check if the query result is closed and raise an exception if it is.

\n\n
Raises
\n\n
    \n
  • Exception: If the query result is closed.
  • \n
\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.has_next", "modulename": "kuzu", "qualname": "QueryResult.has_next", "kind": "function", "doc": "

Check if there are more rows in the query result.

\n\n
Returns
\n\n
    \n
  • bool: True if there are more rows in the query result, False otherwise.
  • \n
\n", "signature": "(self) -> bool:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_next", "modulename": "kuzu", "qualname": "QueryResult.get_next", "kind": "function", "doc": "

Get the next row in the query result.

\n\n
Returns
\n\n
    \n
  • list: Next row in the query result.
  • \n
\n", "signature": "(self) -> list[typing.Any]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.close", "modulename": "kuzu", "qualname": "QueryResult.close", "kind": "function", "doc": "

Close the query result.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_df", "modulename": "kuzu", "qualname": "QueryResult.get_as_df", "kind": "function", "doc": "

Get the query result as a Pandas DataFrame.

\n\n
See Also
\n\n

get_as_pl: Get the query result as a Polars DataFrame.
\nget_as_arrow: Get the query result as a PyArrow Table.

\n\n
Returns
\n\n
    \n
  • pandas.DataFrame: Query result as a Pandas DataFrame.
  • \n
\n", "signature": "(self) -> pandas.core.frame.DataFrame:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_pl", "modulename": "kuzu", "qualname": "QueryResult.get_as_pl", "kind": "function", "doc": "

Get the query result as a Polars DataFrame.

\n\n
See Also
\n\n

get_as_df: Get the query result as a Pandas DataFrame.
\nget_as_arrow: Get the query result as a PyArrow Table.

\n\n
Returns
\n\n
    \n
  • polars.DataFrame: Query result as a Polars DataFrame.
  • \n
\n", "signature": "(self) -> polars.dataframe.frame.DataFrame:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_arrow", "modulename": "kuzu", "qualname": "QueryResult.get_as_arrow", "kind": "function", "doc": "

Get the query result as a PyArrow Table.

\n\n
Parameters
\n\n
    \n
  • chunk_size (Number of rows to include in each chunk.):\nNone\n The chunk size is adaptive and depends on the number of columns in the query result.\n-1 or 0\n The entire result is returned as a single chunk.\n> 0\n The chunk size is the number of rows specified.
  • \n
\n\n
See Also
\n\n

get_as_pl: Get the query result as a Polars DataFrame.
\nget_as_df: Get the query result as a Pandas DataFrame.

\n\n
Returns
\n\n
    \n
  • pyarrow.Table: Query result as a PyArrow Table.
  • \n
\n", "signature": "(self, chunk_size: int | None = None) -> pyarrow.lib.Table:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_column_data_types", "modulename": "kuzu", "qualname": "QueryResult.get_column_data_types", "kind": "function", "doc": "

Get the data types of the columns in the query result.

\n\n
Returns
\n\n
    \n
  • list: Data types of the columns in the query result.
  • \n
\n", "signature": "(self) -> list[str]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_column_names", "modulename": "kuzu", "qualname": "QueryResult.get_column_names", "kind": "function", "doc": "

Get the names of the columns in the query result.

\n\n
Returns
\n\n
    \n
  • list: Names of the columns in the query result.
  • \n
\n", "signature": "(self) -> list[str]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_schema", "modulename": "kuzu", "qualname": "QueryResult.get_schema", "kind": "function", "doc": "

Get the column schema of the query result.

\n\n
Returns
\n\n
    \n
  • dict: Schema of the query result.
  • \n
\n", "signature": "(self) -> dict[str, str]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.reset_iterator", "modulename": "kuzu", "qualname": "QueryResult.reset_iterator", "kind": "function", "doc": "

Reset the iterator of the query result.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_networkx", "modulename": "kuzu", "qualname": "QueryResult.get_as_networkx", "kind": "function", "doc": "

Convert the nodes and rels in query result into a NetworkX directed or undirected graph\nwith the following rules:\nColumns with data type other than node or rel will be ignored.\nDuplicated nodes and rels will be converted only once.

\n\n
Parameters
\n\n
    \n
  • directed (bool):\nWhether the graph should be directed. Defaults to True.
  • \n
\n\n
Returns
\n\n
    \n
  • networkx.MultiDiGraph or networkx.MultiGraph: Query result as a NetworkX graph.
  • \n
\n", "signature": "(\tself,\tdirected: bool = True) -> networkx.classes.multigraph.MultiGraph | networkx.classes.multidigraph.MultiDiGraph:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_torch_geometric", "modulename": "kuzu", "qualname": "QueryResult.get_as_torch_geometric", "kind": "function", "doc": "

Converts the nodes and rels in query result into a PyTorch Geometric graph representation\ntorch_geometric.data.Data or torch_geometric.data.HeteroData.

\n\n

For node conversion, numerical and boolean properties are directly converted into tensor and\nstored in Data/HeteroData. For properties cannot be converted into tensor automatically\n(please refer to the notes below for more detail), they are returned as unconverted_properties.

\n\n

For rel conversion, rel is converted into edge_index tensor director. Edge properties are returned\nas edge_properties.

\n\n

Node properties that cannot be converted into tensor automatically:

\n\n
    \n
  • If the type of a node property is not one of INT64, DOUBLE, or BOOL, it cannot be converted\nautomatically.
  • \n
  • If a node property contains a null value, it cannot be converted automatically.
  • \n
  • If a node property contains a nested list of variable length (e.g. [[1,2],[3]]), it cannot be\nconverted automatically.
  • \n
  • If a node property is a list or nested list, but the shape is inconsistent (e.g. the list length\nis 6 for one node but 5 for another node), it cannot be converted automatically.
  • \n
\n\n

Additional conversion rules:

\n\n
    \n
  • Columns with data type other than node or rel will be ignored.
  • \n
  • Duplicated nodes and rels will be converted only once.
  • \n
\n\n
Returns
\n\n
    \n
  • torch_geometric.data.Data or torch_geometric.data.HeteroData: Query result as a PyTorch Geometric graph. Containing numeric or boolean node properties\nand edge_index tensor.
  • \n
  • dict: A dictionary that maps the positional offset of each node in Data/HeteroData to its primary\nkey in the database.
  • \n
  • dict: A dictionary contains node properties that cannot be converted into tensor automatically. The\norder of values for each property is aligned with nodes in Data/HeteroData.
  • \n
  • dict: A dictionary contains edge properties. The order of values for each property is aligned with\nedge_index in Data/HeteroData.
  • \n
\n", "signature": "(\tself) -> tuple[torch_geometric.data.data.Data | torch_geometric.data.hetero_data.HeteroData, dict, dict, dict]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_execution_time", "modulename": "kuzu", "qualname": "QueryResult.get_execution_time", "kind": "function", "doc": "

Get the time in ms which was required for executing the query.

\n\n
Returns
\n\n
    \n
  • double: Query execution time as double in ms.
  • \n
\n", "signature": "(self) -> int:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_compiling_time", "modulename": "kuzu", "qualname": "QueryResult.get_compiling_time", "kind": "function", "doc": "

Get the time in ms which was required for compiling the query.

\n\n
Returns
\n\n
    \n
  • double: Query compile time as double in ms.
  • \n
\n", "signature": "(self) -> int:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_num_tuples", "modulename": "kuzu", "qualname": "QueryResult.get_num_tuples", "kind": "function", "doc": "

Get the number of tuples which the query returned.

\n\n
Returns
\n\n
    \n
  • int: Number of tuples.
  • \n
\n", "signature": "(self) -> int:", "funcdef": "def"}, {"fullname": "kuzu.Type", "modulename": "kuzu", "qualname": "Type", "kind": "class", "doc": "

The type of a value in the database.

\n", "bases": "enum.Enum"}, {"fullname": "kuzu.Type.ANY", "modulename": "kuzu", "qualname": "Type.ANY", "kind": "variable", "doc": "

\n", "default_value": "<Type.ANY: 'ANY'>"}, {"fullname": "kuzu.Type.NODE", "modulename": "kuzu", "qualname": "Type.NODE", "kind": "variable", "doc": "

\n", "default_value": "<Type.NODE: 'NODE'>"}, {"fullname": "kuzu.Type.REL", "modulename": "kuzu", "qualname": "Type.REL", "kind": "variable", "doc": "

\n", "default_value": "<Type.REL: 'REL'>"}, {"fullname": "kuzu.Type.RECURSIVE_REL", "modulename": "kuzu", "qualname": "Type.RECURSIVE_REL", "kind": "variable", "doc": "

\n", "default_value": "<Type.RECURSIVE_REL: 'RECURSIVE_REL'>"}, {"fullname": "kuzu.Type.SERIAL", "modulename": "kuzu", "qualname": "Type.SERIAL", "kind": "variable", "doc": "

\n", "default_value": "<Type.SERIAL: 'SERIAL'>"}, {"fullname": "kuzu.Type.BOOL", "modulename": "kuzu", "qualname": "Type.BOOL", "kind": "variable", "doc": "

\n", "default_value": "<Type.BOOL: 'BOOL'>"}, {"fullname": "kuzu.Type.INT64", "modulename": "kuzu", "qualname": "Type.INT64", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT64: 'INT64'>"}, {"fullname": "kuzu.Type.INT32", "modulename": "kuzu", "qualname": "Type.INT32", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT32: 'INT32'>"}, {"fullname": "kuzu.Type.INT16", "modulename": "kuzu", "qualname": "Type.INT16", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT16: 'INT16'>"}, {"fullname": "kuzu.Type.INT8", "modulename": "kuzu", "qualname": "Type.INT8", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT8: 'INT8'>"}, {"fullname": "kuzu.Type.UINT64", "modulename": "kuzu", "qualname": "Type.UINT64", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT64: 'UINT64'>"}, {"fullname": "kuzu.Type.UINT32", "modulename": "kuzu", "qualname": "Type.UINT32", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT32: 'UINT32'>"}, {"fullname": "kuzu.Type.UINT16", "modulename": "kuzu", "qualname": "Type.UINT16", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT16: 'UINT16'>"}, {"fullname": "kuzu.Type.UINT8", "modulename": "kuzu", "qualname": "Type.UINT8", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT8: 'UINT8'>"}, {"fullname": "kuzu.Type.INT128", "modulename": "kuzu", "qualname": "Type.INT128", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT128: 'INT128'>"}, {"fullname": "kuzu.Type.DOUBLE", "modulename": "kuzu", "qualname": "Type.DOUBLE", "kind": "variable", "doc": "

\n", "default_value": "<Type.DOUBLE: 'DOUBLE'>"}, {"fullname": "kuzu.Type.FLOAT", "modulename": "kuzu", "qualname": "Type.FLOAT", "kind": "variable", "doc": "

\n", "default_value": "<Type.FLOAT: 'FLOAT'>"}, {"fullname": "kuzu.Type.DATE", "modulename": "kuzu", "qualname": "Type.DATE", "kind": "variable", "doc": "

\n", "default_value": "<Type.DATE: 'DATE'>"}, {"fullname": "kuzu.Type.TIMESTAMP", "modulename": "kuzu", "qualname": "Type.TIMESTAMP", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP: 'TIMESTAMP'>"}, {"fullname": "kuzu.Type.TIMSTAMP_TZ", "modulename": "kuzu", "qualname": "Type.TIMSTAMP_TZ", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMSTAMP_TZ: 'TIMESTAMP_TZ'>"}, {"fullname": "kuzu.Type.TIMESTAMP_NS", "modulename": "kuzu", "qualname": "Type.TIMESTAMP_NS", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP_NS: 'TIMESTAMP_NS'>"}, {"fullname": "kuzu.Type.TIMESTAMP_MS", "modulename": "kuzu", "qualname": "Type.TIMESTAMP_MS", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP_MS: 'TIMESTAMP_MS'>"}, {"fullname": "kuzu.Type.TIMESTAMP_SEC", "modulename": "kuzu", "qualname": "Type.TIMESTAMP_SEC", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP_SEC: 'TIMESTAMP_SEC'>"}, {"fullname": "kuzu.Type.INTERVAL", "modulename": "kuzu", "qualname": "Type.INTERVAL", "kind": "variable", "doc": "

\n", "default_value": "<Type.INTERVAL: 'INTERVAL'>"}, {"fullname": "kuzu.Type.INTERNAL_ID", "modulename": "kuzu", "qualname": "Type.INTERNAL_ID", "kind": "variable", "doc": "

\n", "default_value": "<Type.INTERNAL_ID: 'INTERNAL_ID'>"}, {"fullname": "kuzu.Type.STRING", "modulename": "kuzu", "qualname": "Type.STRING", "kind": "variable", "doc": "

\n", "default_value": "<Type.STRING: 'STRING'>"}, {"fullname": "kuzu.Type.BLOB", "modulename": "kuzu", "qualname": "Type.BLOB", "kind": "variable", "doc": "

\n", "default_value": "<Type.BLOB: 'BLOB'>"}, {"fullname": "kuzu.Type.UUID", "modulename": "kuzu", "qualname": "Type.UUID", "kind": "variable", "doc": "

\n", "default_value": "<Type.UUID: 'UUID'>"}, {"fullname": "kuzu.Type.LIST", "modulename": "kuzu", "qualname": "Type.LIST", "kind": "variable", "doc": "

\n", "default_value": "<Type.LIST: 'LIST'>"}, {"fullname": "kuzu.Type.ARRAY", "modulename": "kuzu", "qualname": "Type.ARRAY", "kind": "variable", "doc": "

\n", "default_value": "<Type.ARRAY: 'ARRAY'>"}, {"fullname": "kuzu.Type.STRUCT", "modulename": "kuzu", "qualname": "Type.STRUCT", "kind": "variable", "doc": "

\n", "default_value": "<Type.STRUCT: 'STRUCT'>"}, {"fullname": "kuzu.Type.MAP", "modulename": "kuzu", "qualname": "Type.MAP", "kind": "variable", "doc": "

\n", "default_value": "<Type.MAP: 'MAP'>"}, {"fullname": "kuzu.Type.UNION", "modulename": "kuzu", "qualname": "Type.UNION", "kind": "variable", "doc": "

\n", "default_value": "<Type.UNION: 'UNION'>"}, {"fullname": "kuzu.storage_version", "modulename": "kuzu", "qualname": "storage_version", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.version", "modulename": "kuzu", "qualname": "version", "kind": "variable", "doc": "

\n"}]; + /** pdoc search index */const docs = [{"fullname": "kuzu", "modulename": "kuzu", "kind": "module", "doc": "

Kuzu Python API bindings.

\n\n

This package provides a Python API for Kuzu graph database management system.

\n\n

To install the package, run:

\n\n
python3 -m pip install kuzu\n
\n\n

Example usage:

\n\n
\n
import kuzu\n\ndb = kuzu.Database("./test")\nconn = kuzu.Connection(db)\n\n# Define the schema\nconn.execute("CREATE NODE TABLE User(name STRING, age INT64, PRIMARY KEY (name))")\nconn.execute("CREATE NODE TABLE City(name STRING, population INT64, PRIMARY KEY (name))")\nconn.execute("CREATE REL TABLE Follows(FROM User TO User, since INT64)")\nconn.execute("CREATE REL TABLE LivesIn(FROM User TO City)")\n\n# Load some data\nconn.execute('COPY User FROM "user.csv"')\nconn.execute('COPY City FROM "city.csv"')\nconn.execute('COPY Follows FROM "follows.csv"')\nconn.execute('COPY LivesIn FROM "lives-in.csv"')\n\n# Query the data\nresults = conn.execute("MATCH (u:User) RETURN u.name, u.age;")\nwhile results.has_next():\n    print(results.get_next())\n
\n
\n\n

The dataset used in this example can be found here.

\n"}, {"fullname": "kuzu.AsyncConnection", "modulename": "kuzu", "qualname": "AsyncConnection", "kind": "class", "doc": "

AsyncConnection enables asynchronous execution of queries with a pool of connections and threads.

\n"}, {"fullname": "kuzu.AsyncConnection.__init__", "modulename": "kuzu", "qualname": "AsyncConnection.__init__", "kind": "function", "doc": "

Initialise the async connection.

\n\n
Parameters
\n\n
    \n
  • database (Database):\nDatabase to connect to.
  • \n
  • max_concurrent_queries (int):\nMaximum number of concurrent queries to execute. This corresponds to the\nnumber of connections and thread pool size. Default is 4.
  • \n
  • max_threads_per_query (int):\nControls the maximum number of threads per connection that can be used\nto execute one query. Default is 0, which means no limit.
  • \n
\n", "signature": "(\tdatabase: kuzu.database.Database,\tmax_concurrent_queries: int = 4,\tmax_threads_per_query: int = 0)"}, {"fullname": "kuzu.AsyncConnection.database", "modulename": "kuzu", "qualname": "AsyncConnection.database", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.AsyncConnection.connections", "modulename": "kuzu", "qualname": "AsyncConnection.connections", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.AsyncConnection.connections_counter", "modulename": "kuzu", "qualname": "AsyncConnection.connections_counter", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.AsyncConnection.lock", "modulename": "kuzu", "qualname": "AsyncConnection.lock", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.AsyncConnection.executor", "modulename": "kuzu", "qualname": "AsyncConnection.executor", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.AsyncConnection.acquire_connection", "modulename": "kuzu", "qualname": "AsyncConnection.acquire_connection", "kind": "function", "doc": "

Acquire a connection from the connection pool for temporary synchronous\ncalls. If the connection pool is oversubscribed, the method will return\nthe connection with the least number of queued queries. It is required\nto release the connection by calling release_connection after the\nconnection is no longer needed.

\n\n
Returns
\n\n
    \n
  • Connection: A connection object.
  • \n
\n", "signature": "(self) -> kuzu.connection.Connection:", "funcdef": "def"}, {"fullname": "kuzu.AsyncConnection.release_connection", "modulename": "kuzu", "qualname": "AsyncConnection.release_connection", "kind": "function", "doc": "

Release a connection acquired by acquire_connection back to the\nconnection pool. Calling this method is required when the connection is\nno longer needed.

\n\n
Parameters
\n\n
    \n
  • conn (Connection):\nConnection object to release.
  • \n
\n", "signature": "(self, conn: kuzu.connection.Connection) -> None:", "funcdef": "def"}, {"fullname": "kuzu.AsyncConnection.set_query_timeout", "modulename": "kuzu", "qualname": "AsyncConnection.set_query_timeout", "kind": "function", "doc": "

Set the query timeout value in ms for executing queries.

\n\n
Parameters
\n\n
    \n
  • timeout_in_ms (int):\nquery timeout value in ms for executing queries.
  • \n
\n", "signature": "(self, timeout_in_ms: int) -> None:", "funcdef": "def"}, {"fullname": "kuzu.AsyncConnection.execute", "modulename": "kuzu", "qualname": "AsyncConnection.execute", "kind": "function", "doc": "

Execute a query asynchronously.

\n\n
Parameters
\n\n
    \n
  • query (str | PreparedStatement):\nA prepared statement or a query string.\nIf a query string is given, a prepared statement will be created\nautomatically.
  • \n
  • parameters (dict[str, Any]):\nParameters for the query.
  • \n
\n\n
Returns
\n\n
    \n
  • QueryResult: Query result.
  • \n
\n", "signature": "(\tself,\tquery: str | kuzu.prepared_statement.PreparedStatement,\tparameters: dict[str, typing.Any] | None = None) -> kuzu.query_result.QueryResult | list[kuzu.query_result.QueryResult]:", "funcdef": "async def"}, {"fullname": "kuzu.AsyncConnection.prepare", "modulename": "kuzu", "qualname": "AsyncConnection.prepare", "kind": "function", "doc": "

Create a prepared statement for a query asynchronously.

\n\n
Parameters
\n\n
    \n
  • query (str):\nQuery to prepare.
  • \n
\n\n
Returns
\n\n
    \n
  • PreparedStatement: Prepared statement.
  • \n
\n", "signature": "(self, query: str) -> kuzu.prepared_statement.PreparedStatement:", "funcdef": "async def"}, {"fullname": "kuzu.AsyncConnection.close", "modulename": "kuzu", "qualname": "AsyncConnection.close", "kind": "function", "doc": "

Close all connections and shutdown the thread pool.

\n\n

Note: Call to this method is optional. The connections and thread pool\nwill be closed automatically when the instance is garbage collected.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection", "modulename": "kuzu", "qualname": "Connection", "kind": "class", "doc": "

Connection to a database.

\n"}, {"fullname": "kuzu.Connection.__init__", "modulename": "kuzu", "qualname": "Connection.__init__", "kind": "function", "doc": "

Initialise kuzu database connection.

\n\n
Parameters
\n\n
    \n
  • database (Database):\nDatabase to connect to.
  • \n
  • num_threads (int):\nMaximum number of threads to use for executing queries.
  • \n
\n", "signature": "(database: kuzu.database.Database, num_threads: int = 0)"}, {"fullname": "kuzu.Connection.database", "modulename": "kuzu", "qualname": "Connection.database", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Connection.num_threads", "modulename": "kuzu", "qualname": "Connection.num_threads", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Connection.is_closed", "modulename": "kuzu", "qualname": "Connection.is_closed", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Connection.init_connection", "modulename": "kuzu", "qualname": "Connection.init_connection", "kind": "function", "doc": "

Establish a connection to the database, if not already initalised.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.set_max_threads_for_exec", "modulename": "kuzu", "qualname": "Connection.set_max_threads_for_exec", "kind": "function", "doc": "

Set the maximum number of threads for executing queries.

\n\n
Parameters
\n\n
    \n
  • num_threads (int):\nMaximum number of threads to use for executing queries.
  • \n
\n", "signature": "(self, num_threads: int) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.close", "modulename": "kuzu", "qualname": "Connection.close", "kind": "function", "doc": "

Close the connection.

\n\n

Note: Call to this method is optional. The connection will be closed\nautomatically when the object goes out of scope.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.execute", "modulename": "kuzu", "qualname": "Connection.execute", "kind": "function", "doc": "

Execute a query.

\n\n
Parameters
\n\n
    \n
  • query (str | PreparedStatement):\nA prepared statement or a query string.\nIf a query string is given, a prepared statement will be created\nautomatically.
  • \n
  • parameters (dict[str, Any]):\nParameters for the query.
  • \n
\n\n
Returns
\n\n
    \n
  • QueryResult: Query result.
  • \n
\n", "signature": "(\tself,\tquery: str | kuzu.prepared_statement.PreparedStatement,\tparameters: dict[str, typing.Any] | None = None) -> kuzu.query_result.QueryResult | list[kuzu.query_result.QueryResult]:", "funcdef": "def"}, {"fullname": "kuzu.Connection.prepare", "modulename": "kuzu", "qualname": "Connection.prepare", "kind": "function", "doc": "

Create a prepared statement for a query.

\n\n
Parameters
\n\n
    \n
  • query (str):\nQuery to prepare.
  • \n
\n\n
Returns
\n\n
    \n
  • PreparedStatement: Prepared statement.
  • \n
\n", "signature": "(self, query: str) -> kuzu.prepared_statement.PreparedStatement:", "funcdef": "def"}, {"fullname": "kuzu.Connection.set_query_timeout", "modulename": "kuzu", "qualname": "Connection.set_query_timeout", "kind": "function", "doc": "

Set the query timeout value in ms for executing queries.

\n\n
Parameters
\n\n
    \n
  • timeout_in_ms (int):\nquery timeout value in ms for executing queries.
  • \n
\n", "signature": "(self, timeout_in_ms: int) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.interrupt", "modulename": "kuzu", "qualname": "Connection.interrupt", "kind": "function", "doc": "

Interrupts execution of the current query.

\n\n

If there is no currently executing query, this function does nothing.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.create_function", "modulename": "kuzu", "qualname": "Connection.create_function", "kind": "function", "doc": "

Sets a User Defined Function (UDF) to use in cypher queries.

\n\n
Parameters
\n\n
    \n
  • name (str):\nname of function
  • \n
  • udf (Callable[[...], Any]):\nfunction to be executed
  • \n
  • params_type (Optional[list[Type]]):\nlist of Type enums to describe the input parameters
  • \n
  • return_type (Optional[Type]):\na Type enum to describe the returned value
  • \n
  • default_null_handling (Optional[bool]):\nif true, when any parameter is null, the resulting value will be null
  • \n
  • catch_exceptions (Optional[bool]):\nif true, when an exception is thrown from python, the function output will be null\nOtherwise, the exception will be rethrown
  • \n
\n", "signature": "(\tself,\tname: str,\tudf: Callable[..., Any],\tparams_type: list[kuzu.types.Type | str] | None = None,\treturn_type: kuzu.types.Type | str = '',\t*,\tdefault_null_handling: bool = True,\tcatch_exceptions: bool = False) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Connection.remove_function", "modulename": "kuzu", "qualname": "Connection.remove_function", "kind": "function", "doc": "

Removes a User Defined Function (UDF).

\n\n
Parameters
\n\n
    \n
  • name (str):\nname of function to be removed.
  • \n
\n", "signature": "(self, name: str) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Database", "modulename": "kuzu", "qualname": "Database", "kind": "class", "doc": "

Kuzu database instance.

\n"}, {"fullname": "kuzu.Database.__init__", "modulename": "kuzu", "qualname": "Database.__init__", "kind": "function", "doc": "
Parameters
\n\n
    \n
  • database_path (str, Path):\nThe path to database files. If the path is not specified, or empty, or equal to :memory:, the database\nwill be created in memory.
  • \n
  • buffer_pool_size (int):\nThe maximum size of buffer pool in bytes. Defaults to ~80% of system memory.
  • \n
  • max_num_threads (int):\nThe maximum number of threads to use for executing queries.
  • \n
  • compression (bool):\nEnable database compression.
  • \n
  • lazy_init (bool):\nIf True, the database will not be initialized until the first query.\nThis is useful when the database is not used in the main thread or\nwhen the main process is forked.\nDefault to False.
  • \n
  • read_only (bool):\nIf true, the database is opened read-only. No write transactions is\nallowed on the Database object. Multiple read-only Database\nobjects can be created with the same database path. However, there\ncannot be multiple Database objects created with the same\ndatabase path.\nDefault to False.
  • \n
  • max_db_size (int):\nThe maximum size of the database in bytes. Note that this is introduced\ntemporarily for now to get around with the default 8TB mmap address\n space limit some environment. This will be removed once we implemente\n a better solution later. The value is default to 1 << 43 (8TB) under 64-bit\n environment and 1GB under 32-bit one.
  • \n
  • auto_checkpoint (bool):\nIf true, the database will automatically checkpoint when the size of\nthe WAL file exceeds the checkpoint threshold.
  • \n
  • checkpoint_threshold (int):\nThe threshold of the WAL file size in bytes. When the size of the\nWAL file exceeds this threshold, the database will checkpoint if autoCheckpoint is true.
  • \n
\n", "signature": "(\tdatabase_path: str | pathlib.Path | None = None,\t*,\tbuffer_pool_size: int = 0,\tmax_num_threads: int = 0,\tcompression: bool = True,\tlazy_init: bool = False,\tread_only: bool = False,\tmax_db_size: int = 8796093022208,\tauto_checkpoint: bool = True,\tcheckpoint_threshold: int = -1)"}, {"fullname": "kuzu.Database.database_path", "modulename": "kuzu", "qualname": "Database.database_path", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.buffer_pool_size", "modulename": "kuzu", "qualname": "Database.buffer_pool_size", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.max_num_threads", "modulename": "kuzu", "qualname": "Database.max_num_threads", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.compression", "modulename": "kuzu", "qualname": "Database.compression", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.read_only", "modulename": "kuzu", "qualname": "Database.read_only", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.max_db_size", "modulename": "kuzu", "qualname": "Database.max_db_size", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.auto_checkpoint", "modulename": "kuzu", "qualname": "Database.auto_checkpoint", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.checkpoint_threshold", "modulename": "kuzu", "qualname": "Database.checkpoint_threshold", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.is_closed", "modulename": "kuzu", "qualname": "Database.is_closed", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.Database.get_version", "modulename": "kuzu", "qualname": "Database.get_version", "kind": "function", "doc": "

Get the version of the database.

\n\n
Returns
\n\n
    \n
  • str: The version of the database.
  • \n
\n", "signature": "() -> str:", "funcdef": "def"}, {"fullname": "kuzu.Database.get_storage_version", "modulename": "kuzu", "qualname": "Database.get_storage_version", "kind": "function", "doc": "

Get the storage version of the database.

\n\n
Returns
\n\n
    \n
  • int: The storage version of the database.
  • \n
\n", "signature": "() -> int:", "funcdef": "def"}, {"fullname": "kuzu.Database.init_database", "modulename": "kuzu", "qualname": "Database.init_database", "kind": "function", "doc": "

Initialize the database.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Database.get_torch_geometric_remote_backend", "modulename": "kuzu", "qualname": "Database.get_torch_geometric_remote_backend", "kind": "function", "doc": "

Use the database as the remote backend for torch_geometric.

\n\n

For the interface of the remote backend, please refer to\nhttps://pytorch-geometric.readthedocs.io/en/latest/advanced/remote.html.\nThe current implementation is read-only and does not support edge\nfeatures. The IDs of the nodes are based on the internal IDs (i.e., node\noffsets). For the remote node IDs to be consistent with the positions in\nthe output tensors, please ensure that no deletion has been performed\non the node tables.

\n\n

The remote backend can also be plugged into the data loader of\ntorch_geometric, which is useful for mini-batch training. For example:

\n\n
\n
    loader_kuzu = NeighborLoader(\n        data=(feature_store, graph_store),\n        num_neighbors={('paper', 'cites', 'paper'): [12, 12, 12]},\n        batch_size=LOADER_BATCH_SIZE,\n        input_nodes=('paper', input_nodes),\n        num_workers=4,\n        filter_per_worker=False,\n    )\n
\n
\n\n

Please note that the database instance is not fork-safe, so if more than\none worker is used, filter_per_worker must be set to False.

\n\n
Parameters
\n\n
    \n
  • num_threads (int):\nNumber of threads to use for data loading. Default to None, which\nmeans using the number of CPU cores.
  • \n
\n\n
Returns
\n\n
    \n
  • feature_store (KuzuFeatureStore):\nFeature store compatible with torch_geometric.
  • \n
  • graph_store (KuzuGraphStore):\nGraph store compatible with torch_geometric.
  • \n
\n", "signature": "(\tself,\tnum_threads: int | None = None) -> tuple[kuzu.torch_geometric_feature_store.KuzuFeatureStore, kuzu.torch_geometric_graph_store.KuzuGraphStore]:", "funcdef": "def"}, {"fullname": "kuzu.Database.close", "modulename": "kuzu", "qualname": "Database.close", "kind": "function", "doc": "

Close the database. Once the database is closed, the lock on the database\nfiles is released and the database can be opened in another process.

\n\n

Note: Call to this method is not required. The Python garbage collector\nwill automatically close the database when no references to the database\nobject exist. It is recommended not to call this method explicitly. If you\ndecide to manually close the database, make sure that all the QueryResult\nand Connection objects are closed before calling this method.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.Database.check_for_database_close", "modulename": "kuzu", "qualname": "Database.check_for_database_close", "kind": "function", "doc": "

Check if the database is closed and raise an exception if it is.

\n\n
Raises
\n\n
    \n
  • Exception: If the database is closed.
  • \n
\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.PreparedStatement", "modulename": "kuzu", "qualname": "PreparedStatement", "kind": "class", "doc": "

A prepared statement is a parameterized query which can avoid planning the\nsame query for repeated execution.

\n"}, {"fullname": "kuzu.PreparedStatement.__init__", "modulename": "kuzu", "qualname": "PreparedStatement.__init__", "kind": "function", "doc": "
Parameters
\n\n
    \n
  • connection (Connection):\nConnection to a database.
  • \n
  • query (str):\nQuery to prepare.
  • \n
\n", "signature": "(connection: kuzu.connection.Connection, query: str)"}, {"fullname": "kuzu.PreparedStatement.is_success", "modulename": "kuzu", "qualname": "PreparedStatement.is_success", "kind": "function", "doc": "

Check if the prepared statement is successfully prepared.

\n\n
Returns
\n\n
    \n
  • bool: True if the prepared statement is successfully prepared.
  • \n
\n", "signature": "(self) -> bool:", "funcdef": "def"}, {"fullname": "kuzu.PreparedStatement.get_error_message", "modulename": "kuzu", "qualname": "PreparedStatement.get_error_message", "kind": "function", "doc": "

Get the error message if the query is not prepared successfully.

\n\n
Returns
\n\n
    \n
  • str: Error message.
  • \n
\n", "signature": "(self) -> str:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult", "modulename": "kuzu", "qualname": "QueryResult", "kind": "class", "doc": "

QueryResult stores the result of a query execution.

\n"}, {"fullname": "kuzu.QueryResult.__init__", "modulename": "kuzu", "qualname": "QueryResult.__init__", "kind": "function", "doc": "
Parameters
\n\n
    \n
  • connection (_kuzu.Connection):\nThe underlying C++ connection object from pybind11.
  • \n
  • query_result (_kuzu.QueryResult):\nThe underlying C++ query result object from pybind11.
  • \n
\n", "signature": "(connection: kuzu._kuzu.Connection, query_result: '_kuzu.QueryResult')"}, {"fullname": "kuzu.QueryResult.connection", "modulename": "kuzu", "qualname": "QueryResult.connection", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.QueryResult.is_closed", "modulename": "kuzu", "qualname": "QueryResult.is_closed", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.QueryResult.check_for_query_result_close", "modulename": "kuzu", "qualname": "QueryResult.check_for_query_result_close", "kind": "function", "doc": "

Check if the query result is closed and raise an exception if it is.

\n\n
Raises
\n\n
    \n
  • Exception: If the query result is closed.
  • \n
\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.has_next", "modulename": "kuzu", "qualname": "QueryResult.has_next", "kind": "function", "doc": "

Check if there are more rows in the query result.

\n\n
Returns
\n\n
    \n
  • bool: True if there are more rows in the query result, False otherwise.
  • \n
\n", "signature": "(self) -> bool:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_next", "modulename": "kuzu", "qualname": "QueryResult.get_next", "kind": "function", "doc": "

Get the next row in the query result.

\n\n
Returns
\n\n
    \n
  • list: Next row in the query result.
  • \n
\n", "signature": "(self) -> list[typing.Any]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.close", "modulename": "kuzu", "qualname": "QueryResult.close", "kind": "function", "doc": "

Close the query result.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_df", "modulename": "kuzu", "qualname": "QueryResult.get_as_df", "kind": "function", "doc": "

Get the query result as a Pandas DataFrame.

\n\n
See Also
\n\n

get_as_pl: Get the query result as a Polars DataFrame.
\nget_as_arrow: Get the query result as a PyArrow Table.

\n\n
Returns
\n\n
    \n
  • pandas.DataFrame: Query result as a Pandas DataFrame.
  • \n
\n", "signature": "(self) -> pandas.core.frame.DataFrame:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_pl", "modulename": "kuzu", "qualname": "QueryResult.get_as_pl", "kind": "function", "doc": "

Get the query result as a Polars DataFrame.

\n\n
See Also
\n\n

get_as_df: Get the query result as a Pandas DataFrame.
\nget_as_arrow: Get the query result as a PyArrow Table.

\n\n
Returns
\n\n
    \n
  • polars.DataFrame: Query result as a Polars DataFrame.
  • \n
\n", "signature": "(self) -> polars.dataframe.frame.DataFrame:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_arrow", "modulename": "kuzu", "qualname": "QueryResult.get_as_arrow", "kind": "function", "doc": "

Get the query result as a PyArrow Table.

\n\n
Parameters
\n\n
    \n
  • chunk_size (Number of rows to include in each chunk.):\nNone\n The chunk size is adaptive and depends on the number of columns in the query result.\n-1 or 0\n The entire result is returned as a single chunk.\n> 0\n The chunk size is the number of rows specified.
  • \n
\n\n
See Also
\n\n

get_as_pl: Get the query result as a Polars DataFrame.
\nget_as_df: Get the query result as a Pandas DataFrame.

\n\n
Returns
\n\n
    \n
  • pyarrow.Table: Query result as a PyArrow Table.
  • \n
\n", "signature": "(self, chunk_size: int | None = None) -> pyarrow.lib.Table:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_column_data_types", "modulename": "kuzu", "qualname": "QueryResult.get_column_data_types", "kind": "function", "doc": "

Get the data types of the columns in the query result.

\n\n
Returns
\n\n
    \n
  • list: Data types of the columns in the query result.
  • \n
\n", "signature": "(self) -> list[str]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_column_names", "modulename": "kuzu", "qualname": "QueryResult.get_column_names", "kind": "function", "doc": "

Get the names of the columns in the query result.

\n\n
Returns
\n\n
    \n
  • list: Names of the columns in the query result.
  • \n
\n", "signature": "(self) -> list[str]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_schema", "modulename": "kuzu", "qualname": "QueryResult.get_schema", "kind": "function", "doc": "

Get the column schema of the query result.

\n\n
Returns
\n\n
    \n
  • dict: Schema of the query result.
  • \n
\n", "signature": "(self) -> dict[str, str]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.reset_iterator", "modulename": "kuzu", "qualname": "QueryResult.reset_iterator", "kind": "function", "doc": "

Reset the iterator of the query result.

\n", "signature": "(self) -> None:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_networkx", "modulename": "kuzu", "qualname": "QueryResult.get_as_networkx", "kind": "function", "doc": "

Convert the nodes and rels in query result into a NetworkX directed or undirected graph\nwith the following rules:\nColumns with data type other than node or rel will be ignored.\nDuplicated nodes and rels will be converted only once.

\n\n
Parameters
\n\n
    \n
  • directed (bool):\nWhether the graph should be directed. Defaults to True.
  • \n
\n\n
Returns
\n\n
    \n
  • networkx.MultiDiGraph or networkx.MultiGraph: Query result as a NetworkX graph.
  • \n
\n", "signature": "(\tself,\tdirected: bool = True) -> networkx.classes.multigraph.MultiGraph | networkx.classes.multidigraph.MultiDiGraph:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_as_torch_geometric", "modulename": "kuzu", "qualname": "QueryResult.get_as_torch_geometric", "kind": "function", "doc": "

Converts the nodes and rels in query result into a PyTorch Geometric graph representation\ntorch_geometric.data.Data or torch_geometric.data.HeteroData.

\n\n

For node conversion, numerical and boolean properties are directly converted into tensor and\nstored in Data/HeteroData. For properties cannot be converted into tensor automatically\n(please refer to the notes below for more detail), they are returned as unconverted_properties.

\n\n

For rel conversion, rel is converted into edge_index tensor director. Edge properties are returned\nas edge_properties.

\n\n

Node properties that cannot be converted into tensor automatically:

\n\n
    \n
  • If the type of a node property is not one of INT64, DOUBLE, or BOOL, it cannot be converted\nautomatically.
  • \n
  • If a node property contains a null value, it cannot be converted automatically.
  • \n
  • If a node property contains a nested list of variable length (e.g. [[1,2],[3]]), it cannot be\nconverted automatically.
  • \n
  • If a node property is a list or nested list, but the shape is inconsistent (e.g. the list length\nis 6 for one node but 5 for another node), it cannot be converted automatically.
  • \n
\n\n

Additional conversion rules:

\n\n
    \n
  • Columns with data type other than node or rel will be ignored.
  • \n
  • Duplicated nodes and rels will be converted only once.
  • \n
\n\n
Returns
\n\n
    \n
  • torch_geometric.data.Data or torch_geometric.data.HeteroData: Query result as a PyTorch Geometric graph. Containing numeric or boolean node properties\nand edge_index tensor.
  • \n
  • dict: A dictionary that maps the positional offset of each node in Data/HeteroData to its primary\nkey in the database.
  • \n
  • dict: A dictionary contains node properties that cannot be converted into tensor automatically. The\norder of values for each property is aligned with nodes in Data/HeteroData.
  • \n
  • dict: A dictionary contains edge properties. The order of values for each property is aligned with\nedge_index in Data/HeteroData.
  • \n
\n", "signature": "(\tself) -> tuple[torch_geometric.data.data.Data | torch_geometric.data.hetero_data.HeteroData, dict, dict, dict]:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_execution_time", "modulename": "kuzu", "qualname": "QueryResult.get_execution_time", "kind": "function", "doc": "

Get the time in ms which was required for executing the query.

\n\n
Returns
\n\n
    \n
  • double: Query execution time as double in ms.
  • \n
\n", "signature": "(self) -> int:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_compiling_time", "modulename": "kuzu", "qualname": "QueryResult.get_compiling_time", "kind": "function", "doc": "

Get the time in ms which was required for compiling the query.

\n\n
Returns
\n\n
    \n
  • double: Query compile time as double in ms.
  • \n
\n", "signature": "(self) -> int:", "funcdef": "def"}, {"fullname": "kuzu.QueryResult.get_num_tuples", "modulename": "kuzu", "qualname": "QueryResult.get_num_tuples", "kind": "function", "doc": "

Get the number of tuples which the query returned.

\n\n
Returns
\n\n
    \n
  • int: Number of tuples.
  • \n
\n", "signature": "(self) -> int:", "funcdef": "def"}, {"fullname": "kuzu.Type", "modulename": "kuzu", "qualname": "Type", "kind": "class", "doc": "

The type of a value in the database.

\n", "bases": "enum.Enum"}, {"fullname": "kuzu.Type.ANY", "modulename": "kuzu", "qualname": "Type.ANY", "kind": "variable", "doc": "

\n", "default_value": "<Type.ANY: 'ANY'>"}, {"fullname": "kuzu.Type.NODE", "modulename": "kuzu", "qualname": "Type.NODE", "kind": "variable", "doc": "

\n", "default_value": "<Type.NODE: 'NODE'>"}, {"fullname": "kuzu.Type.REL", "modulename": "kuzu", "qualname": "Type.REL", "kind": "variable", "doc": "

\n", "default_value": "<Type.REL: 'REL'>"}, {"fullname": "kuzu.Type.RECURSIVE_REL", "modulename": "kuzu", "qualname": "Type.RECURSIVE_REL", "kind": "variable", "doc": "

\n", "default_value": "<Type.RECURSIVE_REL: 'RECURSIVE_REL'>"}, {"fullname": "kuzu.Type.SERIAL", "modulename": "kuzu", "qualname": "Type.SERIAL", "kind": "variable", "doc": "

\n", "default_value": "<Type.SERIAL: 'SERIAL'>"}, {"fullname": "kuzu.Type.BOOL", "modulename": "kuzu", "qualname": "Type.BOOL", "kind": "variable", "doc": "

\n", "default_value": "<Type.BOOL: 'BOOL'>"}, {"fullname": "kuzu.Type.INT64", "modulename": "kuzu", "qualname": "Type.INT64", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT64: 'INT64'>"}, {"fullname": "kuzu.Type.INT32", "modulename": "kuzu", "qualname": "Type.INT32", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT32: 'INT32'>"}, {"fullname": "kuzu.Type.INT16", "modulename": "kuzu", "qualname": "Type.INT16", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT16: 'INT16'>"}, {"fullname": "kuzu.Type.INT8", "modulename": "kuzu", "qualname": "Type.INT8", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT8: 'INT8'>"}, {"fullname": "kuzu.Type.UINT64", "modulename": "kuzu", "qualname": "Type.UINT64", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT64: 'UINT64'>"}, {"fullname": "kuzu.Type.UINT32", "modulename": "kuzu", "qualname": "Type.UINT32", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT32: 'UINT32'>"}, {"fullname": "kuzu.Type.UINT16", "modulename": "kuzu", "qualname": "Type.UINT16", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT16: 'UINT16'>"}, {"fullname": "kuzu.Type.UINT8", "modulename": "kuzu", "qualname": "Type.UINT8", "kind": "variable", "doc": "

\n", "default_value": "<Type.UINT8: 'UINT8'>"}, {"fullname": "kuzu.Type.INT128", "modulename": "kuzu", "qualname": "Type.INT128", "kind": "variable", "doc": "

\n", "default_value": "<Type.INT128: 'INT128'>"}, {"fullname": "kuzu.Type.DOUBLE", "modulename": "kuzu", "qualname": "Type.DOUBLE", "kind": "variable", "doc": "

\n", "default_value": "<Type.DOUBLE: 'DOUBLE'>"}, {"fullname": "kuzu.Type.FLOAT", "modulename": "kuzu", "qualname": "Type.FLOAT", "kind": "variable", "doc": "

\n", "default_value": "<Type.FLOAT: 'FLOAT'>"}, {"fullname": "kuzu.Type.DATE", "modulename": "kuzu", "qualname": "Type.DATE", "kind": "variable", "doc": "

\n", "default_value": "<Type.DATE: 'DATE'>"}, {"fullname": "kuzu.Type.TIMESTAMP", "modulename": "kuzu", "qualname": "Type.TIMESTAMP", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP: 'TIMESTAMP'>"}, {"fullname": "kuzu.Type.TIMSTAMP_TZ", "modulename": "kuzu", "qualname": "Type.TIMSTAMP_TZ", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMSTAMP_TZ: 'TIMESTAMP_TZ'>"}, {"fullname": "kuzu.Type.TIMESTAMP_NS", "modulename": "kuzu", "qualname": "Type.TIMESTAMP_NS", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP_NS: 'TIMESTAMP_NS'>"}, {"fullname": "kuzu.Type.TIMESTAMP_MS", "modulename": "kuzu", "qualname": "Type.TIMESTAMP_MS", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP_MS: 'TIMESTAMP_MS'>"}, {"fullname": "kuzu.Type.TIMESTAMP_SEC", "modulename": "kuzu", "qualname": "Type.TIMESTAMP_SEC", "kind": "variable", "doc": "

\n", "default_value": "<Type.TIMESTAMP_SEC: 'TIMESTAMP_SEC'>"}, {"fullname": "kuzu.Type.INTERVAL", "modulename": "kuzu", "qualname": "Type.INTERVAL", "kind": "variable", "doc": "

\n", "default_value": "<Type.INTERVAL: 'INTERVAL'>"}, {"fullname": "kuzu.Type.INTERNAL_ID", "modulename": "kuzu", "qualname": "Type.INTERNAL_ID", "kind": "variable", "doc": "

\n", "default_value": "<Type.INTERNAL_ID: 'INTERNAL_ID'>"}, {"fullname": "kuzu.Type.STRING", "modulename": "kuzu", "qualname": "Type.STRING", "kind": "variable", "doc": "

\n", "default_value": "<Type.STRING: 'STRING'>"}, {"fullname": "kuzu.Type.BLOB", "modulename": "kuzu", "qualname": "Type.BLOB", "kind": "variable", "doc": "

\n", "default_value": "<Type.BLOB: 'BLOB'>"}, {"fullname": "kuzu.Type.UUID", "modulename": "kuzu", "qualname": "Type.UUID", "kind": "variable", "doc": "

\n", "default_value": "<Type.UUID: 'UUID'>"}, {"fullname": "kuzu.Type.LIST", "modulename": "kuzu", "qualname": "Type.LIST", "kind": "variable", "doc": "

\n", "default_value": "<Type.LIST: 'LIST'>"}, {"fullname": "kuzu.Type.ARRAY", "modulename": "kuzu", "qualname": "Type.ARRAY", "kind": "variable", "doc": "

\n", "default_value": "<Type.ARRAY: 'ARRAY'>"}, {"fullname": "kuzu.Type.STRUCT", "modulename": "kuzu", "qualname": "Type.STRUCT", "kind": "variable", "doc": "

\n", "default_value": "<Type.STRUCT: 'STRUCT'>"}, {"fullname": "kuzu.Type.MAP", "modulename": "kuzu", "qualname": "Type.MAP", "kind": "variable", "doc": "

\n", "default_value": "<Type.MAP: 'MAP'>"}, {"fullname": "kuzu.Type.UNION", "modulename": "kuzu", "qualname": "Type.UNION", "kind": "variable", "doc": "

\n", "default_value": "<Type.UNION: 'UNION'>"}, {"fullname": "kuzu.storage_version", "modulename": "kuzu", "qualname": "storage_version", "kind": "variable", "doc": "

\n"}, {"fullname": "kuzu.version", "modulename": "kuzu", "qualname": "version", "kind": "variable", "doc": "

\n"}]; // mirrored in build-search-index.js (part 1) // Also split on html tags. this is a cheap heuristic, but good enough. diff --git a/wasm/async/Connection.html b/wasm/async/Connection.html index 4aca9f8..8a59513 100644 --- a/wasm/async/Connection.html +++ b/wasm/async/Connection.html @@ -1316,7 +1316,7 @@

Home

Modules

  • diff --git a/wasm/async/Database.html b/wasm/async/Database.html index 15242ba..c911717 100644 --- a/wasm/async/Database.html +++ b/wasm/async/Database.html @@ -514,7 +514,7 @@

    Home

    Modules

    • diff --git a/wasm/async/FS.html b/wasm/async/FS.html index 784b9da..7a43421 100644 --- a/wasm/async/FS.html +++ b/wasm/async/FS.html @@ -2109,7 +2109,7 @@

      Home

      Modules

      • diff --git a/wasm/async/PreparedStatement.html b/wasm/async/PreparedStatement.html index bb46fa7..1998697 100644 --- a/wasm/async/PreparedStatement.html +++ b/wasm/async/PreparedStatement.html @@ -555,7 +555,7 @@

        Home

        Modules

        • diff --git a/wasm/async/QueryResult.html b/wasm/async/QueryResult.html index 31ec682..01cdf47 100644 --- a/wasm/async/QueryResult.html +++ b/wasm/async/QueryResult.html @@ -1935,7 +1935,7 @@

          Home

          Modules

          • diff --git a/wasm/async/connection.js.html b/wasm/async/connection.js.html index 6086c35..a012eff 100644 --- a/wasm/async/connection.js.html +++ b/wasm/async/connection.js.html @@ -218,7 +218,7 @@

            Home

            Modules

            • diff --git a/wasm/async/database.js.html b/wasm/async/database.js.html index e167cfc..2697052 100644 --- a/wasm/async/database.js.html +++ b/wasm/async/database.js.html @@ -28,7 +28,7 @@

              Source: database.js

              /**
                * @file database.js is the file for the Database class. Database class is the 
              - * main class of Kùzu. It manages all database components.
              + * main class of Kuzu. It manages all database components.
                */
               "use strict";
               
              @@ -150,7 +150,7 @@ 

              Home

              Modules

              • diff --git a/wasm/async/dispatcher.js.html b/wasm/async/dispatcher.js.html index bab88de..b5c9d8b 100644 --- a/wasm/async/dispatcher.js.html +++ b/wasm/async/dispatcher.js.html @@ -107,7 +107,7 @@

                Home

                Modules

                • diff --git a/wasm/async/fs.js.html b/wasm/async/fs.js.html index b3e80f9..ded1dcb 100644 --- a/wasm/async/fs.js.html +++ b/wasm/async/fs.js.html @@ -215,7 +215,7 @@

                  Home

                  Modules

                  • diff --git a/wasm/async/index.html b/wasm/async/index.html index b47b12f..6ca7f1c 100644 --- a/wasm/async/index.html +++ b/wasm/async/index.html @@ -44,7 +44,7 @@

                    kuzu-wasm

                    -

                    Welcome to the documentation of kuzu-wasm, the WebAssembly build of Kùzu in-process property graph database management system. +

                    Welcome to the documentation of kuzu-wasm, the WebAssembly build of Kuzu in-process property graph database management system. You are currently viewing the asynchronous JavaScript API documentation. This version dispatches all the function calls to the WebAssembly module to a Web Worker or Node.js worker thread to prevent blocking the main thread. However, this version may have a slight overhead due to the serialization and deserialization of the data required by the worker threads.

                    The documentation of each class can be found by clicking on the links in the sidebar.

                    @@ -168,7 +168,7 @@

                    database.js

                    database.js is the file for the Database class. Database class is the -main class of Kùzu. It manages all database components.
                    +main class of Kuzu. It manages all database components.
@@ -450,7 +450,7 @@

index.js

-
index.js is the root file for the Kùzu WebAssembly module. +
index.js is the root file for the Kuzu WebAssembly module. It exports the module's public interface.
@@ -819,7 +819,7 @@

Home

Modules

  • diff --git a/wasm/async/index.js.html b/wasm/async/index.js.html index 63badb1..2f080de 100644 --- a/wasm/async/index.js.html +++ b/wasm/async/index.js.html @@ -27,7 +27,7 @@

    Source: index.js

    /**
    - * @file index.js is the root file for the Kùzu WebAssembly module. 
    + * @file index.js is the root file for the Kuzu WebAssembly module.
      * It exports the module's public interface.
      */
     "use strict";
    @@ -40,12 +40,12 @@ 

    Source: index.js

    const FS = require("./fs"); /** - * The default asynchronous version of Kùzu WebAssembly module. + * The default asynchronous version of Kuzu WebAssembly module. * @module kuzu-wasm */ module.exports = { /** - * Initialize the Kùzu WebAssembly module. Calling this function is optional, + * Initialize the Kuzu WebAssembly module. Calling this function is optional, * as the module is initialized automatically when the first query is executed. * @memberof module:kuzu-wasm */ @@ -54,9 +54,9 @@

    Source: index.js

    }, /** - * Get the version of the Kùzu WebAssembly module. + * Get the version of the Kuzu WebAssembly module. * @memberof module:kuzu-wasm - * @returns {String} the version of the Kùzu WebAssembly module. + * @returns {String} the version of the Kuzu WebAssembly module. */ getVersion: async () => { const worker = await dispatcher.getWorker(); @@ -65,9 +65,9 @@

    Source: index.js

    }, /** - * Get the storage version of the Kùzu WebAssembly module. + * Get the storage version of the Kuzu WebAssembly module. * @memberof module:kuzu-wasm - * @returns {BigInt} the storage version of the Kùzu WebAssembly module. + * @returns {BigInt} the storage version of the Kuzu WebAssembly module. */ getStorageVersion: async () => { const worker = await dispatcher.getWorker(); @@ -91,7 +91,7 @@

    Source: index.js

    }, /** - * Destroy the Kùzu WebAssembly module and kill the worker. This function + * Destroy the Kuzu WebAssembly module and kill the worker. This function * should be called when the module is no longer needed to free up resources. * @memberof module:kuzu-wasm */ @@ -120,7 +120,7 @@

    Home

    Modules

    • diff --git a/wasm/async/kuzu_wasm_worker.js.html b/wasm/async/kuzu_wasm_worker.js.html index 02080b0..234f328 100644 --- a/wasm/async/kuzu_wasm_worker.js.html +++ b/wasm/async/kuzu_wasm_worker.js.html @@ -629,7 +629,7 @@

      Home

      Modules

      • diff --git a/wasm/async/module-kuzu-wasm.html b/wasm/async/module-kuzu-wasm.html index 85f4463..00cf865 100644 --- a/wasm/async/module-kuzu-wasm.html +++ b/wasm/async/module-kuzu-wasm.html @@ -38,7 +38,7 @@

        Module: kuzu-wasm

        -
        The default asynchronous version of Kùzu WebAssembly module.
        +
        The default asynchronous version of Kuzu WebAssembly module.
        @@ -152,7 +152,7 @@

        (static) close<
        - Destroy the Kùzu WebAssembly module and kill the worker. This function + Destroy the Kuzu WebAssembly module and kill the worker. This function should be called when the module is no longer needed to free up resources.
        @@ -241,7 +241,7 @@

        (static) <
        - Get the storage version of the Kùzu WebAssembly module. + Get the storage version of the Kuzu WebAssembly module.
        @@ -314,7 +314,7 @@
        Returns:
        - the storage version of the Kùzu WebAssembly module. + the storage version of the Kuzu WebAssembly module.
        @@ -351,7 +351,7 @@

        (static) g
        - Get the version of the Kùzu WebAssembly module. + Get the version of the Kuzu WebAssembly module.
        @@ -424,7 +424,7 @@

        Returns:
        - the version of the Kùzu WebAssembly module. + the version of the Kuzu WebAssembly module.
        @@ -461,7 +461,7 @@

        (static) init - Initialize the Kùzu WebAssembly module. Calling this function is optional, + Initialize the Kuzu WebAssembly module. Calling this function is optional, as the module is initialized automatically when the first query is executed.

        @@ -701,7 +701,7 @@

        Home

        Modules

        • diff --git a/wasm/async/prepared_statement.js.html b/wasm/async/prepared_statement.js.html index faf534d..082a87f 100644 --- a/wasm/async/prepared_statement.js.html +++ b/wasm/async/prepared_statement.js.html @@ -121,7 +121,7 @@

          Home

          Modules

          • diff --git a/wasm/async/query_result.js.html b/wasm/async/query_result.js.html index c9699a1..54d3ae0 100644 --- a/wasm/async/query_result.js.html +++ b/wasm/async/query_result.js.html @@ -308,7 +308,7 @@

            Home

            Modules

            • diff --git a/wasm/sync/Connection.html b/wasm/sync/Connection.html index 1f712a5..ec13dc7 100644 --- a/wasm/sync/Connection.html +++ b/wasm/sync/Connection.html @@ -1532,7 +1532,7 @@

              Home

              Modules

              • diff --git a/wasm/sync/Database.html b/wasm/sync/Database.html index 4aa7d72..86487d5 100644 --- a/wasm/sync/Database.html +++ b/wasm/sync/Database.html @@ -422,7 +422,7 @@

                Home

                Modules

                • diff --git a/wasm/sync/PreparedStatement.html b/wasm/sync/PreparedStatement.html index a1d7911..903dbbb 100644 --- a/wasm/sync/PreparedStatement.html +++ b/wasm/sync/PreparedStatement.html @@ -612,7 +612,7 @@

                  Home

                  Modules

                  • diff --git a/wasm/sync/QueryResult.html b/wasm/sync/QueryResult.html index 14ff980..db05079 100644 --- a/wasm/sync/QueryResult.html +++ b/wasm/sync/QueryResult.html @@ -2370,7 +2370,7 @@

                    Home

                    Modules

                    • diff --git a/wasm/sync/connection.js.html b/wasm/sync/connection.js.html index a10e019..f08a30b 100644 --- a/wasm/sync/connection.js.html +++ b/wasm/sync/connection.js.html @@ -203,7 +203,7 @@

                      Home

                      Modules

                      • diff --git a/wasm/sync/database.js.html b/wasm/sync/database.js.html index 0d90ca1..55bf065 100644 --- a/wasm/sync/database.js.html +++ b/wasm/sync/database.js.html @@ -28,7 +28,7 @@

                        Source: database.js

                        /**
                          * @file database.js is the file for the Database class. Database class is the 
                        - * main class of Kùzu. It manages all database components.
                        + * main class of Kuzu. It manages all database components.
                          */
                         "use strict";
                         
                        @@ -124,7 +124,7 @@ 

                        Home

                        Modules

                        • diff --git a/wasm/sync/index.html b/wasm/sync/index.html index 7fcc2db..b631fe7 100644 --- a/wasm/sync/index.html +++ b/wasm/sync/index.html @@ -44,7 +44,7 @@

                          kuzu-wasm/sync

                          -

                          Welcome to the documentation of kuzu-wasm, the WebAssembly build of Kùzu in-process property graph database management system. +

                          Welcome to the documentation of kuzu-wasm, the WebAssembly build of Kuzu in-process property graph database management system. You are currently viewing the synchronous JavaScript API documentation. This version of the module is synchronous and does not require any callbacks (other than the module initialization). This version is good for scripting / CLI / prototyping purposes, @@ -170,7 +170,7 @@

                          database.js

                          database.js is the file for the Database class. Database class is the -main class of Kùzu. It manages all database components.
                          +main class of Kuzu. It manages all database components.
@@ -263,7 +263,7 @@

index.js

-
index.js is the root file for the synchronous version of Kùzu +
index.js is the root file for the synchronous version of Kuzu WebAssembly module. It exports the module's public interface.
@@ -631,7 +631,7 @@

Home

Modules

  • diff --git a/wasm/sync/index.js.html b/wasm/sync/index.js.html index 484f321..2e423f9 100644 --- a/wasm/sync/index.js.html +++ b/wasm/sync/index.js.html @@ -27,7 +27,7 @@

    Source: index.js

    /**
    - * @file index.js is the root file for the synchronous version of Kùzu 
    + * @file index.js is the root file for the synchronous version of Kuzu
      * WebAssembly module. It exports the module's public interface.
      */
     "use strict";
    @@ -39,12 +39,12 @@ 

    Source: index.js

    const QueryResult = require("./query_result.js"); /** - * The synchronous version of Kùzu WebAssembly module. + * The synchronous version of Kuzu WebAssembly module. * @module kuzu-wasm */ module.exports = { /** - * Initialize the Kùzu WebAssembly module. + * Initialize the Kuzu WebAssembly module. * @memberof module:kuzu-wasm * @returns {Promise<void>} a promise that resolves when the module is * initialized. The promise is rejected if the module fails to initialize. @@ -54,18 +54,18 @@

    Source: index.js

    }, /** - * Get the version of the Kùzu WebAssembly module. + * Get the version of the Kuzu WebAssembly module. * @memberof module:kuzu-wasm - * @returns {String} the version of the Kùzu WebAssembly module. + * @returns {String} the version of the Kuzu WebAssembly module. */ getVersion: () => { return KuzuWasm.getVersion(); }, /** - * Get the storage version of the Kùzu WebAssembly module. + * Get the storage version of the Kuzu WebAssembly module. * @memberof module:kuzu-wasm - * @returns {BigInt} the storage version of the Kùzu WebAssembly module. + * @returns {BigInt} the storage version of the Kuzu WebAssembly module. */ getStorageVersion: () => { return KuzuWasm.getStorageVersion(); @@ -112,7 +112,7 @@

    Home

    Modules

    • diff --git a/wasm/sync/kuzu.js.html b/wasm/sync/kuzu.js.html index a800359..87f48cc 100644 --- a/wasm/sync/kuzu.js.html +++ b/wasm/sync/kuzu.js.html @@ -85,7 +85,7 @@

      Home

      Modules

      • diff --git a/wasm/sync/module-kuzu-wasm.html b/wasm/sync/module-kuzu-wasm.html index c952324..e0bbd18 100644 --- a/wasm/sync/module-kuzu-wasm.html +++ b/wasm/sync/module-kuzu-wasm.html @@ -38,7 +38,7 @@

        Module: kuzu-wasm

        -
        The synchronous version of Kùzu WebAssembly module.
        +
        The synchronous version of Kuzu WebAssembly module.
        @@ -263,7 +263,7 @@

        (static) <
        - Get the storage version of the Kùzu WebAssembly module. + Get the storage version of the Kuzu WebAssembly module.
        @@ -336,7 +336,7 @@
        Returns:
        - the storage version of the Kùzu WebAssembly module. + the storage version of the Kuzu WebAssembly module.
        @@ -373,7 +373,7 @@

        (static) g
        - Get the version of the Kùzu WebAssembly module. + Get the version of the Kuzu WebAssembly module.
        @@ -446,7 +446,7 @@

        Returns:
        - the version of the Kùzu WebAssembly module. + the version of the Kuzu WebAssembly module.
        @@ -594,7 +594,7 @@

        (static) init - Initialize the Kùzu WebAssembly module. + Initialize the Kuzu WebAssembly module.

        @@ -713,7 +713,7 @@

        Home

        Modules

        • diff --git a/wasm/sync/prepared_statement.js.html b/wasm/sync/prepared_statement.js.html index 22ce0a9..fb99c2e 100644 --- a/wasm/sync/prepared_statement.js.html +++ b/wasm/sync/prepared_statement.js.html @@ -109,7 +109,7 @@

          Home

          Modules

          • diff --git a/wasm/sync/query_result.js.html b/wasm/sync/query_result.js.html index 6cd783f..1e9ecd6 100644 --- a/wasm/sync/query_result.js.html +++ b/wasm/sync/query_result.js.html @@ -240,7 +240,7 @@

            Home

            Modules