Package com.kuzudb
Class Native
java.lang.Object
com.kuzudb.Native
Native is a wrapper class for the native library.
It is used to load the native library and call the native functions.
This class is not intended to be used by end users.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
kuzu_connection_destroy
(Connection connection) protected static QueryResult
kuzu_connection_execute
(Connection connection, PreparedStatement prepared_statement, Map<String, Value> param) protected static long
protected static long
kuzu_connection_init
(Database database) protected static void
kuzu_connection_interrupt
(Connection connection) protected static PreparedStatement
kuzu_connection_prepare
(Connection connection, String query) protected static QueryResult
kuzu_connection_query
(Connection connection, String query) protected static void
kuzu_connection_set_max_num_thread_for_exec
(Connection connection, long num_threads) protected static void
kuzu_connection_set_query_timeout
(Connection connection, long timeout_in_ms) protected static DataType
kuzu_data_type_clone
(DataType data_type) protected static long
kuzu_data_type_create
(DataTypeID id, DataType child_type, long num_elements_in_array) protected static void
kuzu_data_type_destroy
(DataType data_type) protected static boolean
kuzu_data_type_equals
(DataType data_type1, DataType data_type2) protected static DataType
kuzu_data_type_get_child_type
(DataType data_type) protected static DataTypeID
kuzu_data_type_get_id
(DataType data_type) protected static long
kuzu_data_type_get_num_elements_in_array
(DataType data_type) protected static void
protected static long
kuzu_database_init
(String database_path, long buffer_pool_size, boolean enable_compression, boolean read_only, long max_db_size) protected static void
kuzu_database_set_logging_level
(String logging_level) protected static void
kuzu_flat_tuple_destroy
(FlatTuple flat_tuple) protected static Value
kuzu_flat_tuple_get_value
(FlatTuple flat_tuple, long index) protected static String
kuzu_flat_tuple_to_string
(FlatTuple flat_tuple) protected static long
protected static String
protected static void
kuzu_native_reload_library
(String lib_path) protected static InternalID
kuzu_node_val_get_id
(Value node_val) protected static String
kuzu_node_val_get_label_name
(Value node_val) protected static String
kuzu_node_val_get_property_name_at
(Value node_val, long index) protected static long
kuzu_node_val_get_property_size
(Value node_val) protected static Value
kuzu_node_val_get_property_value_at
(Value node_val, long index) protected static String
kuzu_node_val_to_string
(Value node_val) protected static void
kuzu_prepared_statement_destroy
(PreparedStatement prepared_statement) protected static String
kuzu_prepared_statement_get_error_message
(PreparedStatement prepared_statement) protected static boolean
kuzu_prepared_statement_is_success
(PreparedStatement prepared_statement) protected static void
kuzu_query_result_destroy
(QueryResult query_result) protected static DataType
kuzu_query_result_get_column_data_type
(QueryResult query_result, long index) protected static String
kuzu_query_result_get_column_name
(QueryResult query_result, long index) protected static String
kuzu_query_result_get_error_message
(QueryResult query_result) protected static FlatTuple
kuzu_query_result_get_next
(QueryResult query_result) protected static long
kuzu_query_result_get_num_columns
(QueryResult query_result) protected static long
kuzu_query_result_get_num_tuples
(QueryResult query_result) protected static QuerySummary
kuzu_query_result_get_query_summary
(QueryResult query_result) protected static boolean
kuzu_query_result_has_next
(QueryResult query_result) protected static boolean
kuzu_query_result_is_success
(QueryResult query_result) protected static void
kuzu_query_result_reset_iterator
(QueryResult query_result) protected static String
kuzu_query_result_to_string
(QueryResult query_result) protected static DataType
kuzu_rdf_variant_get_data_type
(Value rdf_variant) protected static <T> T
kuzu_rdf_variant_get_value
(Value rdf_variant) protected static InternalID
kuzu_rel_val_get_dst_id
(Value rel_val) protected static String
kuzu_rel_val_get_label_name
(Value rel_val) protected static String
kuzu_rel_val_get_property_name_at
(Value rel_val, long index) protected static long
kuzu_rel_val_get_property_size
(Value rel_val) protected static Value
kuzu_rel_val_get_property_value_at
(Value rel_val, long index) protected static InternalID
kuzu_rel_val_get_src_id
(Value rel_val) protected static String
kuzu_rel_val_to_string
(Value rel_val) protected static Value
kuzu_value_clone
(Value value) protected static void
kuzu_value_copy
(Value value, Value other) protected static Value
kuzu_value_create_default
(DataType data_type) protected static Value
protected static Value
kuzu_value_create_null_with_data_type
(DataType data_type) protected static <T> long
kuzu_value_create_value
(T val) protected static void
kuzu_value_destroy
(Value value) protected static DataType
kuzu_value_get_data_type
(Value value) protected static Value
kuzu_value_get_list_element
(Value value, long index) protected static long
kuzu_value_get_list_size
(Value value) protected static String
kuzu_value_get_struct_field_name
(Value struct_val, long index) protected static long
kuzu_value_get_struct_index
(Value struct_val, String field_name) protected static <T> T
kuzu_value_get_value
(Value value) protected static boolean
kuzu_value_is_null
(Value value) protected static void
kuzu_value_set_null
(Value value, boolean is_null) protected static String
kuzu_value_to_string
(Value value)
-
Constructor Details
-
Native
public Native()
-
-
Method Details
-
kuzu_native_reload_library
-
kuzu_database_init
protected static long kuzu_database_init(String database_path, long buffer_pool_size, boolean enable_compression, boolean read_only, long max_db_size) -
kuzu_database_destroy
-
kuzu_database_set_logging_level
-
kuzu_connection_init
-
kuzu_connection_destroy
-
kuzu_connection_set_max_num_thread_for_exec
protected static void kuzu_connection_set_max_num_thread_for_exec(Connection connection, long num_threads) -
kuzu_connection_get_max_num_thread_for_exec
-
kuzu_connection_query
-
kuzu_connection_prepare
-
kuzu_connection_execute
protected static QueryResult kuzu_connection_execute(Connection connection, PreparedStatement prepared_statement, Map<String, Value> param) -
kuzu_connection_interrupt
-
kuzu_connection_set_query_timeout
-
kuzu_prepared_statement_destroy
-
kuzu_prepared_statement_is_success
-
kuzu_prepared_statement_get_error_message
protected static String kuzu_prepared_statement_get_error_message(PreparedStatement prepared_statement) -
kuzu_query_result_destroy
-
kuzu_query_result_is_success
-
kuzu_query_result_get_error_message
-
kuzu_query_result_get_num_columns
-
kuzu_query_result_get_column_name
-
kuzu_query_result_get_column_data_type
protected static DataType kuzu_query_result_get_column_data_type(QueryResult query_result, long index) -
kuzu_query_result_get_num_tuples
-
kuzu_query_result_get_query_summary
-
kuzu_query_result_has_next
-
kuzu_query_result_get_next
-
kuzu_query_result_to_string
-
kuzu_query_result_reset_iterator
-
kuzu_flat_tuple_destroy
-
kuzu_flat_tuple_get_value
-
kuzu_flat_tuple_to_string
-
kuzu_data_type_create
protected static long kuzu_data_type_create(DataTypeID id, DataType child_type, long num_elements_in_array) -
kuzu_data_type_clone
-
kuzu_data_type_destroy
-
kuzu_data_type_equals
-
kuzu_data_type_get_id
-
kuzu_data_type_get_child_type
-
kuzu_data_type_get_num_elements_in_array
-
kuzu_value_create_null
-
kuzu_value_create_null_with_data_type
-
kuzu_value_is_null
-
kuzu_value_set_null
-
kuzu_value_create_default
-
kuzu_value_create_value
protected static <T> long kuzu_value_create_value(T val) -
kuzu_value_clone
-
kuzu_value_copy
-
kuzu_value_destroy
-
kuzu_value_get_list_size
-
kuzu_value_get_list_element
-
kuzu_value_get_data_type
-
kuzu_value_get_value
-
kuzu_value_to_string
-
kuzu_node_val_get_id
-
kuzu_node_val_get_label_name
-
kuzu_node_val_get_property_size
-
kuzu_node_val_get_property_name_at
-
kuzu_node_val_get_property_value_at
-
kuzu_node_val_to_string
-
kuzu_rel_val_get_src_id
-
kuzu_rel_val_get_dst_id
-
kuzu_rel_val_get_label_name
-
kuzu_rel_val_get_property_size
-
kuzu_rel_val_get_property_name_at
-
kuzu_rel_val_get_property_value_at
-
kuzu_rel_val_to_string
-
kuzu_value_get_struct_field_name
-
kuzu_value_get_struct_index
-
kuzu_rdf_variant_get_data_type
-
kuzu_rdf_variant_get_value
-
kuzu_get_version
-
kuzu_get_storage_version
protected static long kuzu_get_storage_version()
-