Package com.kuzudb

Class Native

java.lang.Object
com.kuzudb.Native

public class Native extends Object
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 Details

    • Native

      public Native()
  • Method Details

    • kuzu_native_reload_library

      protected static void kuzu_native_reload_library(String lib_path)
    • 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

      protected static void kuzu_database_destroy(Database db)
    • kuzu_database_set_logging_level

      protected static void kuzu_database_set_logging_level(String logging_level)
    • kuzu_connection_init

      protected static long kuzu_connection_init(Database database)
    • kuzu_connection_destroy

      protected static void kuzu_connection_destroy(Connection connection)
    • 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

      protected static long kuzu_connection_get_max_num_thread_for_exec(Connection connection)
    • kuzu_connection_query

      protected static QueryResult kuzu_connection_query(Connection connection, String query)
    • kuzu_connection_prepare

      protected static PreparedStatement kuzu_connection_prepare(Connection connection, String query)
    • kuzu_connection_execute

      protected static QueryResult kuzu_connection_execute(Connection connection, PreparedStatement prepared_statement, Map<String,Value> param)
    • kuzu_connection_interrupt

      protected static void kuzu_connection_interrupt(Connection connection)
    • kuzu_connection_set_query_timeout

      protected static void kuzu_connection_set_query_timeout(Connection connection, long timeout_in_ms)
    • kuzu_prepared_statement_destroy

      protected static void kuzu_prepared_statement_destroy(PreparedStatement prepared_statement)
    • kuzu_prepared_statement_is_success

      protected static boolean kuzu_prepared_statement_is_success(PreparedStatement prepared_statement)
    • kuzu_prepared_statement_get_error_message

      protected static String kuzu_prepared_statement_get_error_message(PreparedStatement prepared_statement)
    • kuzu_query_result_destroy

      protected static void kuzu_query_result_destroy(QueryResult query_result)
    • kuzu_query_result_is_success

      protected static boolean kuzu_query_result_is_success(QueryResult query_result)
    • kuzu_query_result_get_error_message

      protected static String kuzu_query_result_get_error_message(QueryResult query_result)
    • kuzu_query_result_get_num_columns

      protected static long kuzu_query_result_get_num_columns(QueryResult query_result)
    • kuzu_query_result_get_column_name

      protected static String kuzu_query_result_get_column_name(QueryResult query_result, long index)
    • 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

      protected static long kuzu_query_result_get_num_tuples(QueryResult query_result)
    • kuzu_query_result_get_query_summary

      protected static QuerySummary kuzu_query_result_get_query_summary(QueryResult query_result)
    • kuzu_query_result_has_next

      protected static boolean kuzu_query_result_has_next(QueryResult query_result)
    • kuzu_query_result_get_next

      protected static FlatTuple kuzu_query_result_get_next(QueryResult query_result)
    • kuzu_query_result_to_string

      protected static String kuzu_query_result_to_string(QueryResult query_result)
    • kuzu_query_result_reset_iterator

      protected static void kuzu_query_result_reset_iterator(QueryResult query_result)
    • kuzu_flat_tuple_destroy

      protected static void kuzu_flat_tuple_destroy(FlatTuple flat_tuple)
    • kuzu_flat_tuple_get_value

      protected static Value kuzu_flat_tuple_get_value(FlatTuple flat_tuple, long index)
    • kuzu_flat_tuple_to_string

      protected static String kuzu_flat_tuple_to_string(FlatTuple flat_tuple)
    • 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

      protected static DataType kuzu_data_type_clone(DataType data_type)
    • kuzu_data_type_destroy

      protected static void kuzu_data_type_destroy(DataType data_type)
    • kuzu_data_type_equals

      protected static boolean kuzu_data_type_equals(DataType data_type1, DataType data_type2)
    • kuzu_data_type_get_id

      protected static DataTypeID kuzu_data_type_get_id(DataType data_type)
    • kuzu_data_type_get_child_type

      protected static DataType kuzu_data_type_get_child_type(DataType data_type)
    • kuzu_data_type_get_num_elements_in_array

      protected static long kuzu_data_type_get_num_elements_in_array(DataType data_type)
    • kuzu_value_create_null

      protected static Value kuzu_value_create_null()
    • kuzu_value_create_null_with_data_type

      protected static Value kuzu_value_create_null_with_data_type(DataType data_type)
    • kuzu_value_is_null

      protected static boolean kuzu_value_is_null(Value value)
    • kuzu_value_set_null

      protected static void kuzu_value_set_null(Value value, boolean is_null)
    • kuzu_value_create_default

      protected static Value kuzu_value_create_default(DataType data_type)
    • kuzu_value_create_value

      protected static <T> long kuzu_value_create_value(T val)
    • kuzu_value_clone

      protected static Value kuzu_value_clone(Value value)
    • kuzu_value_copy

      protected static void kuzu_value_copy(Value value, Value other)
    • kuzu_value_destroy

      protected static void kuzu_value_destroy(Value value)
    • kuzu_value_get_list_size

      protected static long kuzu_value_get_list_size(Value value)
    • kuzu_value_get_list_element

      protected static Value kuzu_value_get_list_element(Value value, long index)
    • kuzu_value_get_data_type

      protected static DataType kuzu_value_get_data_type(Value value)
    • kuzu_value_get_value

      protected static <T> T kuzu_value_get_value(Value value)
    • kuzu_value_to_string

      protected static String kuzu_value_to_string(Value value)
    • kuzu_node_val_get_id

      protected static InternalID kuzu_node_val_get_id(Value node_val)
    • kuzu_node_val_get_label_name

      protected static String kuzu_node_val_get_label_name(Value node_val)
    • kuzu_node_val_get_property_size

      protected static long kuzu_node_val_get_property_size(Value node_val)
    • kuzu_node_val_get_property_name_at

      protected static String kuzu_node_val_get_property_name_at(Value node_val, long index)
    • kuzu_node_val_get_property_value_at

      protected static Value kuzu_node_val_get_property_value_at(Value node_val, long index)
    • kuzu_node_val_to_string

      protected static String kuzu_node_val_to_string(Value node_val)
    • kuzu_rel_val_get_src_id

      protected static InternalID kuzu_rel_val_get_src_id(Value rel_val)
    • kuzu_rel_val_get_dst_id

      protected static InternalID kuzu_rel_val_get_dst_id(Value rel_val)
    • kuzu_rel_val_get_label_name

      protected static String kuzu_rel_val_get_label_name(Value rel_val)
    • kuzu_rel_val_get_property_size

      protected static long kuzu_rel_val_get_property_size(Value rel_val)
    • kuzu_rel_val_get_property_name_at

      protected static String kuzu_rel_val_get_property_name_at(Value rel_val, long index)
    • kuzu_rel_val_get_property_value_at

      protected static Value kuzu_rel_val_get_property_value_at(Value rel_val, long index)
    • kuzu_rel_val_to_string

      protected static String kuzu_rel_val_to_string(Value rel_val)
    • kuzu_value_get_struct_field_name

      protected static String kuzu_value_get_struct_field_name(Value struct_val, long index)
    • kuzu_value_get_struct_index

      protected static long kuzu_value_get_struct_index(Value struct_val, String field_name)
    • kuzu_rdf_variant_get_data_type

      protected static DataType kuzu_rdf_variant_get_data_type(Value rdf_variant)
    • kuzu_rdf_variant_get_value

      protected static <T> T kuzu_rdf_variant_get_value(Value rdf_variant)
    • kuzu_get_version

      protected static String kuzu_get_version()
    • kuzu_get_storage_version

      protected static long kuzu_get_storage_version()