diff --git a/build.gradle b/build.gradle index bdaceef5..6af11a57 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ plugins { } group 'io.tiledb' -version '0.1.10-SNAPSHOT' +version '0.2.0-SNAPSHOT' repositories { jcenter() diff --git a/src/main/c/generated/tiledb_wrap.cxx b/src/main/c/generated/tiledb_wrap.cxx index 2f9d8b77..606db087 100644 --- a/src/main/c/generated/tiledb_wrap.cxx +++ b/src/main/c/generated/tiledb_wrap.cxx @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -1155,90 +1155,6 @@ static tiledb_filter_list_t* tiledb_filter_list_tpp_value(tiledb_filter_list_t* } -static tiledb_kv_t* *new_tiledb_kv_tpp() { - return new tiledb_kv_t*(); -} - -static tiledb_kv_t* *copy_tiledb_kv_tpp(tiledb_kv_t* value) { - return new tiledb_kv_t*(value); -} - -static void delete_tiledb_kv_tpp(tiledb_kv_t* *obj) { - if (obj) delete obj; -} - -static void tiledb_kv_tpp_assign(tiledb_kv_t* *obj, tiledb_kv_t* value) { - *obj = value; -} - -static tiledb_kv_t* tiledb_kv_tpp_value(tiledb_kv_t* *obj) { - return *obj; -} - - -static tiledb_kv_schema_t* *new_tiledb_kv_schema_tpp() { - return new tiledb_kv_schema_t*(); -} - -static tiledb_kv_schema_t* *copy_tiledb_kv_schema_tpp(tiledb_kv_schema_t* value) { - return new tiledb_kv_schema_t*(value); -} - -static void delete_tiledb_kv_schema_tpp(tiledb_kv_schema_t* *obj) { - if (obj) delete obj; -} - -static void tiledb_kv_schema_tpp_assign(tiledb_kv_schema_t* *obj, tiledb_kv_schema_t* value) { - *obj = value; -} - -static tiledb_kv_schema_t* tiledb_kv_schema_tpp_value(tiledb_kv_schema_t* *obj) { - return *obj; -} - - -static tiledb_kv_item_t* *new_tiledb_kv_item_tpp() { - return new tiledb_kv_item_t*(); -} - -static tiledb_kv_item_t* *copy_tiledb_kv_item_tpp(tiledb_kv_item_t* value) { - return new tiledb_kv_item_t*(value); -} - -static void delete_tiledb_kv_item_tpp(tiledb_kv_item_t* *obj) { - if (obj) delete obj; -} - -static void tiledb_kv_item_tpp_assign(tiledb_kv_item_t* *obj, tiledb_kv_item_t* value) { - *obj = value; -} - -static tiledb_kv_item_t* tiledb_kv_item_tpp_value(tiledb_kv_item_t* *obj) { - return *obj; -} - - -static tiledb_kv_iter_t* *new_tiledb_kv_iter_tpp() { - return new tiledb_kv_iter_t*(); -} - -static tiledb_kv_iter_t* *copy_tiledb_kv_iter_tpp(tiledb_kv_iter_t* value) { - return new tiledb_kv_iter_t*(value); -} - -static void delete_tiledb_kv_iter_tpp(tiledb_kv_iter_t* *obj) { - if (obj) delete obj; -} - -static void tiledb_kv_iter_tpp_assign(tiledb_kv_iter_t* *obj, tiledb_kv_iter_t* value) { - *obj = value; -} - -static tiledb_kv_iter_t* tiledb_kv_iter_tpp_value(tiledb_kv_iter_t* *obj) { - return *obj; -} - - static tiledb_vfs_t* *new_tiledb_vfs_tpp() { return new tiledb_vfs_t*(); } @@ -4379,254 +4295,6 @@ SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1filter_1list } -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_new_1tiledb_1kv_1tpp(JNIEnv *jenv, jclass jcls) { - jlong jresult = 0 ; - tiledb_kv_t **result = 0 ; - - (void)jenv; - (void)jcls; - result = (tiledb_kv_t **)new_tiledb_kv_tpp(); - *(tiledb_kv_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_copy_1tiledb_1kv_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_t *arg1 = (tiledb_kv_t *) 0 ; - tiledb_kv_t **result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_t **)&jarg1; - result = (tiledb_kv_t **)copy_tiledb_kv_tpp(arg1); - *(tiledb_kv_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_delete_1tiledb_1kv_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_t **arg1 = (tiledb_kv_t **) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_t ***)&jarg1; - delete_tiledb_kv_tpp(arg1); -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1tpp_1assign(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - tiledb_kv_t **arg1 = (tiledb_kv_t **) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_t ***)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - tiledb_kv_tpp_assign(arg1,arg2); -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1tpp_1value(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_t **arg1 = (tiledb_kv_t **) 0 ; - tiledb_kv_t *result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_t ***)&jarg1; - result = (tiledb_kv_t *)tiledb_kv_tpp_value(arg1); - *(tiledb_kv_t **)&jresult = result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_new_1tiledb_1kv_1schema_1tpp(JNIEnv *jenv, jclass jcls) { - jlong jresult = 0 ; - tiledb_kv_schema_t **result = 0 ; - - (void)jenv; - (void)jcls; - result = (tiledb_kv_schema_t **)new_tiledb_kv_schema_tpp(); - *(tiledb_kv_schema_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_copy_1tiledb_1kv_1schema_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_schema_t *arg1 = (tiledb_kv_schema_t *) 0 ; - tiledb_kv_schema_t **result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_schema_t **)&jarg1; - result = (tiledb_kv_schema_t **)copy_tiledb_kv_schema_tpp(arg1); - *(tiledb_kv_schema_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_delete_1tiledb_1kv_1schema_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_schema_t **arg1 = (tiledb_kv_schema_t **) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_schema_t ***)&jarg1; - delete_tiledb_kv_schema_tpp(arg1); -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1tpp_1assign(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - tiledb_kv_schema_t **arg1 = (tiledb_kv_schema_t **) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_schema_t ***)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - tiledb_kv_schema_tpp_assign(arg1,arg2); -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1tpp_1value(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_schema_t **arg1 = (tiledb_kv_schema_t **) 0 ; - tiledb_kv_schema_t *result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_schema_t ***)&jarg1; - result = (tiledb_kv_schema_t *)tiledb_kv_schema_tpp_value(arg1); - *(tiledb_kv_schema_t **)&jresult = result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_new_1tiledb_1kv_1item_1tpp(JNIEnv *jenv, jclass jcls) { - jlong jresult = 0 ; - tiledb_kv_item_t **result = 0 ; - - (void)jenv; - (void)jcls; - result = (tiledb_kv_item_t **)new_tiledb_kv_item_tpp(); - *(tiledb_kv_item_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_copy_1tiledb_1kv_1item_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_item_t *arg1 = (tiledb_kv_item_t *) 0 ; - tiledb_kv_item_t **result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_item_t **)&jarg1; - result = (tiledb_kv_item_t **)copy_tiledb_kv_item_tpp(arg1); - *(tiledb_kv_item_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_delete_1tiledb_1kv_1item_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_item_t **arg1 = (tiledb_kv_item_t **) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_item_t ***)&jarg1; - delete_tiledb_kv_item_tpp(arg1); -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1tpp_1assign(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - tiledb_kv_item_t **arg1 = (tiledb_kv_item_t **) 0 ; - tiledb_kv_item_t *arg2 = (tiledb_kv_item_t *) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_item_t ***)&jarg1; - arg2 = *(tiledb_kv_item_t **)&jarg2; - tiledb_kv_item_tpp_assign(arg1,arg2); -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1tpp_1value(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_item_t **arg1 = (tiledb_kv_item_t **) 0 ; - tiledb_kv_item_t *result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_item_t ***)&jarg1; - result = (tiledb_kv_item_t *)tiledb_kv_item_tpp_value(arg1); - *(tiledb_kv_item_t **)&jresult = result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_new_1tiledb_1kv_1iter_1tpp(JNIEnv *jenv, jclass jcls) { - jlong jresult = 0 ; - tiledb_kv_iter_t **result = 0 ; - - (void)jenv; - (void)jcls; - result = (tiledb_kv_iter_t **)new_tiledb_kv_iter_tpp(); - *(tiledb_kv_iter_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_copy_1tiledb_1kv_1iter_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_iter_t *arg1 = (tiledb_kv_iter_t *) 0 ; - tiledb_kv_iter_t **result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_iter_t **)&jarg1; - result = (tiledb_kv_iter_t **)copy_tiledb_kv_iter_tpp(arg1); - *(tiledb_kv_iter_t ***)&jresult = result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_delete_1tiledb_1kv_1iter_1tpp(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_iter_t **arg1 = (tiledb_kv_iter_t **) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_iter_t ***)&jarg1; - delete_tiledb_kv_iter_tpp(arg1); -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1tpp_1assign(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - tiledb_kv_iter_t **arg1 = (tiledb_kv_iter_t **) 0 ; - tiledb_kv_iter_t *arg2 = (tiledb_kv_iter_t *) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_iter_t ***)&jarg1; - arg2 = *(tiledb_kv_iter_t **)&jarg2; - tiledb_kv_iter_tpp_assign(arg1,arg2); -} - - -SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1tpp_1value(JNIEnv *jenv, jclass jcls, jlong jarg1) { - jlong jresult = 0 ; - tiledb_kv_iter_t **arg1 = (tiledb_kv_iter_t **) 0 ; - tiledb_kv_iter_t *result = 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_iter_t ***)&jarg1; - result = (tiledb_kv_iter_t *)tiledb_kv_iter_tpp_value(arg1); - *(tiledb_kv_iter_t **)&jresult = result; - return jresult; -} - - SWIGEXPORT jlong JNICALL Java_io_tiledb_libtiledb_tiledbJNI_new_1tiledb_1vfs_1tpp(JNIEnv *jenv, jclass jcls) { jlong jresult = 0 ; tiledb_vfs_t **result = 0 ; @@ -5966,6 +5634,34 @@ SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1ctx_1cancel_1 } +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1ctx_1set_1tag(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) { + jint jresult = 0 ; + tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + int32_t result; + + (void)jenv; + (void)jcls; + arg1 = *(tiledb_ctx_t **)&jarg1; + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return 0; + } + result = (int32_t)tiledb_ctx_set_tag(arg1,(char const *)arg2,(char const *)arg3); + jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); + return jresult; +} + + SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1group_1create(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; @@ -7599,49 +7295,159 @@ SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1query_1get_1e } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1query_1get_1fragment_1num(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_array_t **arg3 = (tiledb_array_t **) 0 ; + tiledb_query_t *arg2 = (tiledb_query_t *) 0 ; + uint32_t *arg3 = (uint32_t *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_array_t ***)&jarg3; - result = (int32_t)tiledb_array_alloc(arg1,(char const *)arg2,arg3); + arg2 = *(tiledb_query_t **)&jarg2; + arg3 = *(uint32_t **)&jarg3; + result = (int32_t)tiledb_query_get_fragment_num(arg1,(tiledb_query_t const *)arg2,arg3); jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1open(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1query_1get_1fragment_1uri(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg3, jlong jarg4) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; - tiledb_query_type_t arg3 ; + tiledb_query_t *arg2 = (tiledb_query_t *) 0 ; + uint64_t arg3 ; + char **arg4 = (char **) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_array_t **)&jarg2; - arg3 = (tiledb_query_type_t)jarg3; - result = (int32_t)tiledb_array_open(arg1,arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1open_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jobject jarg4) { - jint jresult = 0 ; + arg2 = *(tiledb_query_t **)&jarg2; + { + jclass clazz; + jmethodID mid; + jbyteArray ba; + jbyte* bae; + jsize sz; + int i; + + if (!jarg3) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); + return 0; + } + clazz = jenv->GetObjectClass(jarg3); + mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); + ba = (jbyteArray)jenv->CallObjectMethod(jarg3, mid); + bae = jenv->GetByteArrayElements(ba, 0); + sz = jenv->GetArrayLength(ba); + arg3 = 0; + if (sz > 0) { + arg3 = (uint64_t)(signed char)bae[0]; + for(i=1; iReleaseByteArrayElements(ba, bae, 0); + } + arg4 = *(char ***)&jarg4; + result = (int32_t)tiledb_query_get_fragment_uri(arg1,(tiledb_query_t const *)arg2,arg3,(char const **)arg4); + jresult = (jint)result; + return jresult; +} + + +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1query_1get_1fragment_1timestamp_1range(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg3, jlong jarg4, jlong jarg5) { + jint jresult = 0 ; + tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; + tiledb_query_t *arg2 = (tiledb_query_t *) 0 ; + uint64_t arg3 ; + uint64_t *arg4 = (uint64_t *) 0 ; + uint64_t *arg5 = (uint64_t *) 0 ; + int32_t result; + + (void)jenv; + (void)jcls; + arg1 = *(tiledb_ctx_t **)&jarg1; + arg2 = *(tiledb_query_t **)&jarg2; + { + jclass clazz; + jmethodID mid; + jbyteArray ba; + jbyte* bae; + jsize sz; + int i; + + if (!jarg3) { + SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); + return 0; + } + clazz = jenv->GetObjectClass(jarg3); + mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); + ba = (jbyteArray)jenv->CallObjectMethod(jarg3, mid); + bae = jenv->GetByteArrayElements(ba, 0); + sz = jenv->GetArrayLength(ba); + arg3 = 0; + if (sz > 0) { + arg3 = (uint64_t)(signed char)bae[0]; + for(i=1; iReleaseByteArrayElements(ba, bae, 0); + } + arg4 = *(uint64_t **)&jarg4; + arg5 = *(uint64_t **)&jarg5; + result = (int32_t)tiledb_query_get_fragment_timestamp_range(arg1,(tiledb_query_t const *)arg2,arg3,arg4,arg5); + jresult = (jint)result; + return jresult; +} + + +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { + jint jresult = 0 ; + tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; + char *arg2 = (char *) 0 ; + tiledb_array_t **arg3 = (tiledb_array_t **) 0 ; + int32_t result; + + (void)jenv; + (void)jcls; + arg1 = *(tiledb_ctx_t **)&jarg1; + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = *(tiledb_array_t ***)&jarg3; + result = (int32_t)tiledb_array_alloc(arg1,(char const *)arg2,arg3); + jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); + return jresult; +} + + +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1open(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) { + jint jresult = 0 ; + tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + tiledb_query_type_t arg3 ; + int32_t result; + + (void)jenv; + (void)jcls; + arg1 = *(tiledb_ctx_t **)&jarg1; + arg2 = *(tiledb_array_t **)&jarg2; + arg3 = (tiledb_query_type_t)jarg3; + result = (int32_t)tiledb_array_open(arg1,arg2,arg3); + jresult = (jint)result; + return jresult; +} + + +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1open_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jobject jarg4) { + jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; tiledb_query_type_t arg3 ; @@ -8068,1129 +7874,191 @@ SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1max_1b } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1max_1buffer_1size_1var(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4, jlong jarg5, jlong jarg6) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; - char *arg3 = (char *) 0 ; - void *arg4 = (void *) 0 ; - uint64_t *arg5 = (uint64_t *) 0 ; - uint64_t *arg6 = (uint64_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_array_t **)&jarg2; - arg3 = 0; - if (jarg3) { - arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3) return 0; - } - arg4 = *(void **)&jarg4; - arg5 = *(uint64_t **)&jarg5; - arg6 = *(uint64_t **)&jarg6; - result = (int32_t)tiledb_array_max_buffer_size_var(arg1,arg2,(char const *)arg3,(void const *)arg4,arg5,arg6); - jresult = (jint)result; - if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1get_1uri(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; - char **arg3 = (char **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_array_t **)&jarg2; - arg3 = *(char ***)&jarg3; - result = (int32_t)tiledb_array_get_uri(arg1,arg2,(char const **)arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1encryption_1type(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_encryption_type_t *arg3 = (tiledb_encryption_type_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_encryption_type_t **)&jarg3; - result = (int32_t)tiledb_array_encryption_type(arg1,(char const *)arg2,arg3); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1type(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_object_t *arg3 = (tiledb_object_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_object_t **)&jarg3; - result = (int32_t)tiledb_object_type(arg1,(char const *)arg2,arg3); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - result = (int32_t)tiledb_object_remove(arg1,(char const *)arg2); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1move(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = 0; - if (jarg3) { - arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3) return 0; - } - result = (int32_t)tiledb_object_move(arg1,(char const *)arg2,(char const *)arg3); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1walk(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4, jlong jarg5) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_walk_order_t arg3 ; - int32_t (*arg4)(char const *,tiledb_object_t,void *) = (int32_t (*)(char const *,tiledb_object_t,void *)) 0 ; - void *arg5 = (void *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = (tiledb_walk_order_t)jarg3; - arg4 = *(int32_t (**)(char const *,tiledb_object_t,void *))&jarg4; - arg5 = *(void **)&jarg5; - result = (int32_t)tiledb_object_walk(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1ls(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jlong jarg4) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - int32_t (*arg3)(char const *,tiledb_object_t,void *) = (int32_t (*)(char const *,tiledb_object_t,void *)) 0 ; - void *arg4 = (void *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(int32_t (**)(char const *,tiledb_object_t,void *))&jarg3; - arg4 = *(void **)&jarg4; - result = (int32_t)tiledb_object_ls(arg1,(char const *)arg2,arg3,arg4); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t **arg2 = (tiledb_kv_schema_t **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t ***)&jarg2; - result = (int32_t)tiledb_kv_schema_alloc(arg1,arg2); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1free(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_schema_t **arg1 = (tiledb_kv_schema_t **) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_schema_t ***)&jarg1; - tiledb_kv_schema_free(arg1); -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1add_1attribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - tiledb_attribute_t *arg3 = (tiledb_attribute_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = *(tiledb_attribute_t **)&jarg3; - result = (int32_t)tiledb_kv_schema_add_attribute(arg1,arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1set_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - uint64_t arg3 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - { - jclass clazz; - jmethodID mid; - jbyteArray ba; - jbyte* bae; - jsize sz; - int i; - - if (!jarg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); - return 0; - } - clazz = jenv->GetObjectClass(jarg3); - mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg3, mid); - bae = jenv->GetByteArrayElements(ba, 0); - sz = jenv->GetArrayLength(ba); - arg3 = 0; - if (sz > 0) { - arg3 = (uint64_t)(signed char)bae[0]; - for(i=1; iReleaseByteArrayElements(ba, bae, 0); - } - result = (int32_t)tiledb_kv_schema_set_capacity(arg1,arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1check(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - result = (int32_t)tiledb_kv_schema_check(arg1,arg2); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1load(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_kv_schema_t **arg3 = (tiledb_kv_schema_t **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_kv_schema_t ***)&jarg3; - result = (int32_t)tiledb_kv_schema_load(arg1,(char const *)arg2,arg3); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1load_1with_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4, jlong jarg5, jlong jarg6) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_encryption_type_t arg3 ; - void *arg4 = (void *) 0 ; - uint32_t arg5 ; - tiledb_kv_schema_t **arg6 = (tiledb_kv_schema_t **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = (tiledb_encryption_type_t)jarg3; - arg4 = *(void **)&jarg4; - arg5 = (uint32_t)jarg5; - arg6 = *(tiledb_kv_schema_t ***)&jarg6; - result = (int32_t)tiledb_kv_schema_load_with_key(arg1,(char const *)arg2,arg3,(void const *)arg4,arg5,arg6); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1get_1capacity(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - uint64_t *arg3 = (uint64_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = *(uint64_t **)&jarg3; - result = (int32_t)tiledb_kv_schema_get_capacity(arg1,(tiledb_kv_schema_t const *)arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1get_1attribute_1num(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - uint32_t *arg3 = (uint32_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = *(uint32_t **)&jarg3; - result = (int32_t)tiledb_kv_schema_get_attribute_num(arg1,(tiledb_kv_schema_t const *)arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1get_1attribute_1from_1index(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - uint32_t arg3 ; - tiledb_attribute_t **arg4 = (tiledb_attribute_t **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = (uint32_t)jarg3; - arg4 = *(tiledb_attribute_t ***)&jarg4; - result = (int32_t)tiledb_kv_schema_get_attribute_from_index(arg1,(tiledb_kv_schema_t const *)arg2,arg3,arg4); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1get_1attribute_1from_1name(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - char *arg3 = (char *) 0 ; - tiledb_attribute_t **arg4 = (tiledb_attribute_t **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = 0; - if (jarg3) { - arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3) return 0; - } - arg4 = *(tiledb_attribute_t ***)&jarg4; - result = (int32_t)tiledb_kv_schema_get_attribute_from_name(arg1,(tiledb_kv_schema_t const *)arg2,(char const *)arg3,arg4); - jresult = (jint)result; - if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1has_1attribute(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - char *arg3 = (char *) 0 ; - int32_t *arg4 = (int32_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = 0; - if (jarg3) { - arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3) return 0; - } - arg4 = *(int32_t **)&jarg4; - result = (int32_t)tiledb_kv_schema_has_attribute(arg1,(tiledb_kv_schema_t const *)arg2,(char const *)arg3,arg4); - jresult = (jint)result; - if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1dump(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - FILE *arg3 = (FILE *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = *(FILE **)&jarg3; - result = (int32_t)tiledb_kv_schema_dump(arg1,(tiledb_kv_schema_t const *)arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_item_t **arg2 = (tiledb_kv_item_t **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_item_t ***)&jarg2; - result = (int32_t)tiledb_kv_item_alloc(arg1,arg2); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1free(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_item_t **arg1 = (tiledb_kv_item_t **) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_item_t ***)&jarg1; - tiledb_kv_item_free(arg1); -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1set_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jobject jarg5) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_item_t *arg2 = (tiledb_kv_item_t *) 0 ; - void *arg3 = (void *) 0 ; - tiledb_datatype_t arg4 ; - uint64_t arg5 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_item_t **)&jarg2; - arg3 = *(void **)&jarg3; - arg4 = (tiledb_datatype_t)jarg4; - { - jclass clazz; - jmethodID mid; - jbyteArray ba; - jbyte* bae; - jsize sz; - int i; - - if (!jarg5) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); - return 0; - } - clazz = jenv->GetObjectClass(jarg5); - mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg5, mid); - bae = jenv->GetByteArrayElements(ba, 0); - sz = jenv->GetArrayLength(ba); - arg5 = 0; - if (sz > 0) { - arg5 = (uint64_t)(signed char)bae[0]; - for(i=1; iReleaseByteArrayElements(ba, bae, 0); - } - result = (int32_t)tiledb_kv_item_set_key(arg1,arg2,(void const *)arg3,arg4,arg5); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1set_1value(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4, jint jarg5, jobject jarg6) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_item_t *arg2 = (tiledb_kv_item_t *) 0 ; - char *arg3 = (char *) 0 ; - void *arg4 = (void *) 0 ; - tiledb_datatype_t arg5 ; - uint64_t arg6 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_item_t **)&jarg2; - arg3 = 0; - if (jarg3) { - arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3) return 0; - } - arg4 = *(void **)&jarg4; - arg5 = (tiledb_datatype_t)jarg5; - { - jclass clazz; - jmethodID mid; - jbyteArray ba; - jbyte* bae; - jsize sz; - int i; - - if (!jarg6) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); - return 0; - } - clazz = jenv->GetObjectClass(jarg6); - mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg6, mid); - bae = jenv->GetByteArrayElements(ba, 0); - sz = jenv->GetArrayLength(ba); - arg6 = 0; - if (sz > 0) { - arg6 = (uint64_t)(signed char)bae[0]; - for(i=1; iReleaseByteArrayElements(ba, bae, 0); - } - result = (int32_t)tiledb_kv_item_set_value(arg1,arg2,(char const *)arg3,(void const *)arg4,arg5,arg6); - jresult = (jint)result; - if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1get_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_item_t *arg2 = (tiledb_kv_item_t *) 0 ; - void **arg3 = (void **) 0 ; - tiledb_datatype_t *arg4 = (tiledb_datatype_t *) 0 ; - uint64_t *arg5 = (uint64_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_item_t **)&jarg2; - arg3 = *(void ***)&jarg3; - arg4 = *(tiledb_datatype_t **)&jarg4; - arg5 = *(uint64_t **)&jarg5; - result = (int32_t)tiledb_kv_item_get_key(arg1,arg2,(void const **)arg3,arg4,arg5); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1item_1get_1value(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4, jlong jarg5, jlong jarg6) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_item_t *arg2 = (tiledb_kv_item_t *) 0 ; - char *arg3 = (char *) 0 ; - void **arg4 = (void **) 0 ; - tiledb_datatype_t *arg5 = (tiledb_datatype_t *) 0 ; - uint64_t *arg6 = (uint64_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_item_t **)&jarg2; - arg3 = 0; - if (jarg3) { - arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3) return 0; - } - arg4 = *(void ***)&jarg4; - arg5 = *(tiledb_datatype_t **)&jarg5; - arg6 = *(uint64_t **)&jarg6; - result = (int32_t)tiledb_kv_item_get_value(arg1,arg2,(char const *)arg3,(void const **)arg4,arg5,arg6); - jresult = (jint)result; - if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1create(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_kv_schema_t *arg3 = (tiledb_kv_schema_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_kv_schema_t **)&jarg3; - result = (int32_t)tiledb_kv_create(arg1,(char const *)arg2,(tiledb_kv_schema_t const *)arg3); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1create_1with_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jint jarg4, jlong jarg5, jlong jarg6) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_kv_schema_t *arg3 = (tiledb_kv_schema_t *) 0 ; - tiledb_encryption_type_t arg4 ; - void *arg5 = (void *) 0 ; - uint32_t arg6 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_kv_schema_t **)&jarg3; - arg4 = (tiledb_encryption_type_t)jarg4; - arg5 = *(void **)&jarg5; - arg6 = (uint32_t)jarg6; - result = (int32_t)tiledb_kv_create_with_key(arg1,(char const *)arg2,(tiledb_kv_schema_t const *)arg3,arg4,(void const *)arg5,arg6); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1consolidate(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_config_t *arg3 = (tiledb_config_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_config_t **)&jarg3; - result = (int32_t)tiledb_kv_consolidate(arg1,(char const *)arg2,arg3); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1consolidate_1with_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4, jlong jarg5, jlong jarg6) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_encryption_type_t arg3 ; - void *arg4 = (void *) 0 ; - uint32_t arg5 ; - tiledb_config_t *arg6 = (tiledb_config_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = (tiledb_encryption_type_t)jarg3; - arg4 = *(void **)&jarg4; - arg5 = (uint32_t)jarg5; - arg6 = *(tiledb_config_t **)&jarg6; - result = (int32_t)tiledb_kv_consolidate_with_key(arg1,(char const *)arg2,arg3,(void const *)arg4,arg5,arg6); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - tiledb_kv_t **arg3 = (tiledb_kv_t **) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = 0; - if (jarg2) { - arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); - if (!arg2) return 0; - } - arg3 = *(tiledb_kv_t ***)&jarg3; - result = (int32_t)tiledb_kv_alloc(arg1,(char const *)arg2,arg3); - jresult = (jint)result; - if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1open(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - tiledb_query_type_t arg3 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = (tiledb_query_type_t)jarg3; - result = (int32_t)tiledb_kv_open(arg1,arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1open_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jobject jarg4) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - tiledb_query_type_t arg3 ; - uint64_t arg4 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = (tiledb_query_type_t)jarg3; - { - jclass clazz; - jmethodID mid; - jbyteArray ba; - jbyte* bae; - jsize sz; - int i; - - if (!jarg4) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); - return 0; - } - clazz = jenv->GetObjectClass(jarg4); - mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg4, mid); - bae = jenv->GetByteArrayElements(ba, 0); - sz = jenv->GetArrayLength(ba); - arg4 = 0; - if (sz > 0) { - arg4 = (uint64_t)(signed char)bae[0]; - for(i=1; iReleaseByteArrayElements(ba, bae, 0); - } - result = (int32_t)tiledb_kv_open_at(arg1,arg2,arg3,arg4); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1open_1with_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jint jarg4, jlong jarg5, jlong jarg6) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - tiledb_query_type_t arg3 ; - tiledb_encryption_type_t arg4 ; - void *arg5 = (void *) 0 ; - uint32_t arg6 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = (tiledb_query_type_t)jarg3; - arg4 = (tiledb_encryption_type_t)jarg4; - arg5 = *(void **)&jarg5; - arg6 = (uint32_t)jarg6; - result = (int32_t)tiledb_kv_open_with_key(arg1,arg2,arg3,arg4,(void const *)arg5,arg6); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1open_1at_1with_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jint jarg3, jint jarg4, jlong jarg5, jlong jarg6, jobject jarg7) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - tiledb_query_type_t arg3 ; - tiledb_encryption_type_t arg4 ; - void *arg5 = (void *) 0 ; - uint32_t arg6 ; - uint64_t arg7 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = (tiledb_query_type_t)jarg3; - arg4 = (tiledb_encryption_type_t)jarg4; - arg5 = *(void **)&jarg5; - arg6 = (uint32_t)jarg6; - { - jclass clazz; - jmethodID mid; - jbyteArray ba; - jbyte* bae; - jsize sz; - int i; - - if (!jarg7) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); - return 0; - } - clazz = jenv->GetObjectClass(jarg7); - mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg7, mid); - bae = jenv->GetByteArrayElements(ba, 0); - sz = jenv->GetArrayLength(ba); - arg7 = 0; - if (sz > 0) { - arg7 = (uint64_t)(signed char)bae[0]; - for(i=1; iReleaseByteArrayElements(ba, bae, 0); - } - result = (int32_t)tiledb_kv_open_at_with_key(arg1,arg2,arg3,arg4,(void const *)arg5,arg6,arg7); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1is_1open(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - int32_t *arg3 = (int32_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(int32_t **)&jarg3; - result = (int32_t)tiledb_kv_is_open(arg1,arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1reopen(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - result = (int32_t)tiledb_kv_reopen(arg1,arg2); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1reopen_1at(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - uint64_t arg3 ; - int32_t result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - { - jclass clazz; - jmethodID mid; - jbyteArray ba; - jbyte* bae; - jsize sz; - int i; - - if (!jarg3) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); - return 0; - } - clazz = jenv->GetObjectClass(jarg3); - mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg3, mid); - bae = jenv->GetByteArrayElements(ba, 0); - sz = jenv->GetArrayLength(ba); - arg3 = 0; - if (sz > 0) { - arg3 = (uint64_t)(signed char)bae[0]; - for(i=1; iReleaseByteArrayElements(ba, bae, 0); - } - result = (int32_t)tiledb_kv_reopen_at(arg1,arg2,arg3); - jresult = (jint)result; - return jresult; -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1get_1timestamp(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1max_1buffer_1size_1var(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4, jlong jarg5, jlong jarg6) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - uint64_t *arg3 = (uint64_t *) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + char *arg3 = (char *) 0 ; + void *arg4 = (void *) 0 ; + uint64_t *arg5 = (uint64_t *) 0 ; + uint64_t *arg6 = (uint64_t *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(uint64_t **)&jarg3; - result = (int32_t)tiledb_kv_get_timestamp(arg1,arg2,arg3); + arg2 = *(tiledb_array_t **)&jarg2; + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return 0; + } + arg4 = *(void **)&jarg4; + arg5 = *(uint64_t **)&jarg5; + arg6 = *(uint64_t **)&jarg6; + result = (int32_t)tiledb_array_max_buffer_size_var(arg1,arg2,(char const *)arg3,(void const *)arg4,arg5,arg6); jresult = (jint)result; + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1close(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1get_1uri(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + char **arg3 = (char **) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - result = (int32_t)tiledb_kv_close(arg1,arg2); + arg2 = *(tiledb_array_t **)&jarg2; + arg3 = *(char ***)&jarg3; + result = (int32_t)tiledb_array_get_uri(arg1,arg2,(char const **)arg3); jresult = (jint)result; return jresult; } -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1free(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_t **arg1 = (tiledb_kv_t **) 0 ; +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1encryption_1type(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { + jint jresult = 0 ; + tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; + char *arg2 = (char *) 0 ; + tiledb_encryption_type_t *arg3 = (tiledb_encryption_type_t *) 0 ; + int32_t result; (void)jenv; (void)jcls; - arg1 = *(tiledb_kv_t ***)&jarg1; - tiledb_kv_free(arg1); + arg1 = *(tiledb_ctx_t **)&jarg1; + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = *(tiledb_encryption_type_t **)&jarg3; + result = (int32_t)tiledb_array_encryption_type(arg1,(char const *)arg2,arg3); + jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); + return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1get_1schema(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1put_1metadata(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jint jarg4, jlong jarg5, jlong jarg6) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - tiledb_kv_schema_t **arg3 = (tiledb_kv_schema_t **) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + char *arg3 = (char *) 0 ; + tiledb_datatype_t arg4 ; + uint32_t arg5 ; + void *arg6 = (void *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(tiledb_kv_schema_t ***)&jarg3; - result = (int32_t)tiledb_kv_get_schema(arg1,arg2,arg3); + arg2 = *(tiledb_array_t **)&jarg2; + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return 0; + } + arg4 = (tiledb_datatype_t)jarg4; + arg5 = (uint32_t)jarg5; + arg6 = *(void **)&jarg6; + result = (int32_t)tiledb_array_put_metadata(arg1,arg2,(char const *)arg3,arg4,arg5,(void const *)arg6); jresult = (jint)result; + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1is_1dirty(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1delete_1metadata(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - int32_t *arg3 = (int32_t *) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + char *arg3 = (char *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(int32_t **)&jarg3; - result = (int32_t)tiledb_kv_is_dirty(arg1,arg2,arg3); + arg2 = *(tiledb_array_t **)&jarg2; + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return 0; + } + result = (int32_t)tiledb_array_delete_metadata(arg1,arg2,(char const *)arg3); jresult = (jint)result; + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1add_1item(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1get_1metadata(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3, jlong jarg4, jlong jarg5, jlong jarg6) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - tiledb_kv_item_t *arg3 = (tiledb_kv_item_t *) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + char *arg3 = (char *) 0 ; + tiledb_datatype_t *arg4 = (tiledb_datatype_t *) 0 ; + uint32_t *arg5 = (uint32_t *) 0 ; + void **arg6 = (void **) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(tiledb_kv_item_t **)&jarg3; - result = (int32_t)tiledb_kv_add_item(arg1,arg2,arg3); + arg2 = *(tiledb_array_t **)&jarg2; + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return 0; + } + arg4 = *(tiledb_datatype_t **)&jarg4; + arg5 = *(uint32_t **)&jarg5; + arg6 = *(void ***)&jarg6; + result = (int32_t)tiledb_array_get_metadata(arg1,arg2,(char const *)arg3,arg4,arg5,(void const **)arg6); jresult = (jint)result; + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1flush(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1get_1metadata_1num(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + uint64_t *arg3 = (uint64_t *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - result = (int32_t)tiledb_kv_flush(arg1,arg2); + arg2 = *(tiledb_array_t **)&jarg2; + arg3 = *(uint64_t **)&jarg3; + result = (int32_t)tiledb_array_get_metadata_num(arg1,arg2,arg3); jresult = (jint)result; return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1get_1item(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jobject jarg5, jlong jarg6) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1get_1metadata_1from_1index(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jobject jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - void *arg3 = (void *) 0 ; - tiledb_datatype_t arg4 ; - uint64_t arg5 ; - tiledb_kv_item_t **arg6 = (tiledb_kv_item_t **) 0 ; + tiledb_array_t *arg2 = (tiledb_array_t *) 0 ; + uint64_t arg3 ; + char **arg4 = (char **) 0 ; + uint32_t *arg5 = (uint32_t *) 0 ; + tiledb_datatype_t *arg6 = (tiledb_datatype_t *) 0 ; + uint32_t *arg7 = (uint32_t *) 0 ; + void **arg8 = (void **) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(void **)&jarg3; - arg4 = (tiledb_datatype_t)jarg4; + arg2 = *(tiledb_array_t **)&jarg2; { jclass clazz; jmethodID mid; @@ -9199,85 +8067,66 @@ SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1get_1item jsize sz; int i; - if (!jarg5) { + if (!jarg3) { SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); return 0; } - clazz = jenv->GetObjectClass(jarg5); + clazz = jenv->GetObjectClass(jarg3); mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg5, mid); + ba = (jbyteArray)jenv->CallObjectMethod(jarg3, mid); bae = jenv->GetByteArrayElements(ba, 0); sz = jenv->GetArrayLength(ba); - arg5 = 0; + arg3 = 0; if (sz > 0) { - arg5 = (uint64_t)(signed char)bae[0]; + arg3 = (uint64_t)(signed char)bae[0]; for(i=1; iReleaseByteArrayElements(ba, bae, 0); } - arg6 = *(tiledb_kv_item_t ***)&jarg6; - result = (int32_t)tiledb_kv_get_item(arg1,arg2,(void const *)arg3,arg4,arg5,arg6); + arg4 = *(char ***)&jarg4; + arg5 = *(uint32_t **)&jarg5; + arg6 = *(tiledb_datatype_t **)&jarg6; + arg7 = *(uint32_t **)&jarg7; + arg8 = *(void ***)&jarg8; + result = (int32_t)tiledb_array_get_metadata_from_index(arg1,arg2,arg3,(char const **)arg4,arg5,arg6,arg7,(void const **)arg8); jresult = (jint)result; return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1has_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jint jarg4, jobject jarg5, jlong jarg6) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1consolidate_1metadata(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - void *arg3 = (void *) 0 ; - tiledb_datatype_t arg4 ; - uint64_t arg5 ; - int32_t *arg6 = (int32_t *) 0 ; + char *arg2 = (char *) 0 ; + tiledb_config_t *arg3 = (tiledb_config_t *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(void **)&jarg3; - arg4 = (tiledb_datatype_t)jarg4; - { - jclass clazz; - jmethodID mid; - jbyteArray ba; - jbyte* bae; - jsize sz; - int i; - - if (!jarg5) { - SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "BigInteger null"); - return 0; - } - clazz = jenv->GetObjectClass(jarg5); - mid = jenv->GetMethodID(clazz, "toByteArray", "()[B"); - ba = (jbyteArray)jenv->CallObjectMethod(jarg5, mid); - bae = jenv->GetByteArrayElements(ba, 0); - sz = jenv->GetArrayLength(ba); - arg5 = 0; - if (sz > 0) { - arg5 = (uint64_t)(signed char)bae[0]; - for(i=1; iReleaseByteArrayElements(ba, bae, 0); + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; } - arg6 = *(int32_t **)&jarg6; - result = (int32_t)tiledb_kv_has_key(arg1,arg2,(void const *)arg3,arg4,arg5,arg6); + arg3 = *(tiledb_config_t **)&jarg3; + result = (int32_t)tiledb_array_consolidate_metadata(arg1,(char const *)arg2,arg3); jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1encryption_1type(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1array_1consolidate_1metadata_1with_1key(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4, jlong jarg5, jlong jarg6) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; char *arg2 = (char *) 0 ; - tiledb_encryption_type_t *arg3 = (tiledb_encryption_type_t *) 0 ; + tiledb_encryption_type_t arg3 ; + void *arg4 = (void *) 0 ; + uint32_t arg5 ; + tiledb_config_t *arg6 = (tiledb_config_t *) 0 ; int32_t result; (void)jenv; @@ -9288,106 +8137,137 @@ SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1encryptio arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); if (!arg2) return 0; } - arg3 = *(tiledb_encryption_type_t **)&jarg3; - result = (int32_t)tiledb_kv_encryption_type(arg1,(char const *)arg2,arg3); + arg3 = (tiledb_encryption_type_t)jarg3; + arg4 = *(void **)&jarg4; + arg5 = (uint32_t)jarg5; + arg6 = *(tiledb_config_t **)&jarg6; + result = (int32_t)tiledb_array_consolidate_metadata_with_key(arg1,(char const *)arg2,arg3,(void const *)arg4,arg5,arg6); jresult = (jint)result; if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1alloc(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1type(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_t *arg2 = (tiledb_kv_t *) 0 ; - tiledb_kv_iter_t **arg3 = (tiledb_kv_iter_t **) 0 ; + char *arg2 = (char *) 0 ; + tiledb_object_t *arg3 = (tiledb_object_t *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_t **)&jarg2; - arg3 = *(tiledb_kv_iter_t ***)&jarg3; - result = (int32_t)tiledb_kv_iter_alloc(arg1,arg2,arg3); + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = *(tiledb_object_t **)&jarg3; + result = (int32_t)tiledb_object_type(arg1,(char const *)arg2,arg3); jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } -SWIGEXPORT void JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1free(JNIEnv *jenv, jclass jcls, jlong jarg1) { - tiledb_kv_iter_t **arg1 = (tiledb_kv_iter_t **) 0 ; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_kv_iter_t ***)&jarg1; - tiledb_kv_iter_free(arg1); -} - - -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1here(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_iter_t *arg2 = (tiledb_kv_iter_t *) 0 ; - tiledb_kv_item_t **arg3 = (tiledb_kv_item_t **) 0 ; + char *arg2 = (char *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_iter_t **)&jarg2; - arg3 = *(tiledb_kv_item_t ***)&jarg3; - result = (int32_t)tiledb_kv_iter_here(arg1,arg2,arg3); + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + result = (int32_t)tiledb_object_remove(arg1,(char const *)arg2); jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1next(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1move(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jstring jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_iter_t *arg2 = (tiledb_kv_iter_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_iter_t **)&jarg2; - result = (int32_t)tiledb_kv_iter_next(arg1,arg2); + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return 0; + } + result = (int32_t)tiledb_object_move(arg1,(char const *)arg2,(char const *)arg3); jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1done(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1walk(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jint jarg3, jlong jarg4, jlong jarg5) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_iter_t *arg2 = (tiledb_kv_iter_t *) 0 ; - int32_t *arg3 = (int32_t *) 0 ; + char *arg2 = (char *) 0 ; + tiledb_walk_order_t arg3 ; + int32_t (*arg4)(char const *,tiledb_object_t,void *) = (int32_t (*)(char const *,tiledb_object_t,void *)) 0 ; + void *arg5 = (void *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_iter_t **)&jarg2; - arg3 = *(int32_t **)&jarg3; - result = (int32_t)tiledb_kv_iter_done(arg1,arg2,arg3); + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = (tiledb_walk_order_t)jarg3; + arg4 = *(int32_t (**)(char const *,tiledb_object_t,void *))&jarg4; + arg5 = *(void **)&jarg5; + result = (int32_t)tiledb_object_walk(arg1,(char const *)arg2,arg3,arg4,arg5); jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1iter_1reset(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { +SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1object_1ls(JNIEnv *jenv, jclass jcls, jlong jarg1, jstring jarg2, jlong jarg3, jlong jarg4) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_iter_t *arg2 = (tiledb_kv_iter_t *) 0 ; + char *arg2 = (char *) 0 ; + int32_t (*arg3)(char const *,tiledb_object_t,void *) = (int32_t (*)(char const *,tiledb_object_t,void *)) 0 ; + void *arg4 = (void *) 0 ; int32_t result; (void)jenv; (void)jcls; arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_iter_t **)&jarg2; - result = (int32_t)tiledb_kv_iter_reset(arg1,arg2); + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = *(int32_t (**)(char const *,tiledb_object_t,void *))&jarg3; + arg4 = *(void **)&jarg4; + result = (int32_t)tiledb_object_ls(arg1,(char const *)arg2,arg3,arg4); jresult = (jint)result; + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); return jresult; } @@ -10164,22 +9044,6 @@ SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1dimension_1du } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1dump_1stdout(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - int result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - result = (int)tiledb_kv_schema_dump_stdout(arg1,(tiledb_kv_schema_t const *)arg2); - jresult = (jint)result; - return jresult; -} - - SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1attribute_1dump_1stdout(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; @@ -10263,29 +9127,6 @@ SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1dimension_1du } -SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1kv_1schema_1dump_1file(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) { - jint jresult = 0 ; - tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; - tiledb_kv_schema_t *arg2 = (tiledb_kv_schema_t *) 0 ; - char *arg3 = (char *) 0 ; - int result; - - (void)jenv; - (void)jcls; - arg1 = *(tiledb_ctx_t **)&jarg1; - arg2 = *(tiledb_kv_schema_t **)&jarg2; - arg3 = 0; - if (jarg3) { - arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); - if (!arg3) return 0; - } - result = (int)tiledb_kv_schema_dump_file(arg1,(tiledb_kv_schema_t const *)arg2,(char const *)arg3); - jresult = (jint)result; - if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); - return jresult; -} - - SWIGEXPORT jint JNICALL Java_io_tiledb_libtiledb_tiledbJNI_tiledb_1attribute_1dump_1file(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jstring jarg3) { jint jresult = 0 ; tiledb_ctx_t *arg1 = (tiledb_ctx_t *) 0 ; diff --git a/src/main/java/io/tiledb/java/api/TileDBObject.java b/src/main/java/io/tiledb/java/api/TileDBObject.java index ba06414a..487bb4bb 100644 --- a/src/main/java/io/tiledb/java/api/TileDBObject.java +++ b/src/main/java/io/tiledb/java/api/TileDBObject.java @@ -99,9 +99,6 @@ public String toString() { case TILEDB_INVALID: ret += "INVALID"; break; - case TILEDB_KEY_VALUE: - ret += "KEYVALUE"; - break; } ret += " \"" + uri + "\">"; return ret; diff --git a/src/main/java/io/tiledb/java/api/TileDBObjectIterator.java b/src/main/java/io/tiledb/java/api/TileDBObjectIterator.java index 207b3cfe..e32c6751 100644 --- a/src/main/java/io/tiledb/java/api/TileDBObjectIterator.java +++ b/src/main/java/io/tiledb/java/api/TileDBObjectIterator.java @@ -181,8 +181,7 @@ public void setObjects(List objects) { @Override public int call(String path, tiledb_object_t type) { if ((type == tiledb_object_t.TILEDB_ARRAY && array) - || (type == tiledb_object_t.TILEDB_GROUP && group) - || (type == tiledb_object_t.TILEDB_KEY_VALUE && kv)) { + || (type == tiledb_object_t.TILEDB_GROUP && group)) { TileDBObject object = null; try { object = new TileDBObject(ctx, path, TileDBObjectType.fromSwigEnum(type)); diff --git a/src/main/java/io/tiledb/java/api/TileDBObjectType.java b/src/main/java/io/tiledb/java/api/TileDBObjectType.java index 37a7dc18..c3afc4c7 100644 --- a/src/main/java/io/tiledb/java/api/TileDBObjectType.java +++ b/src/main/java/io/tiledb/java/api/TileDBObjectType.java @@ -5,8 +5,7 @@ public enum TileDBObjectType { TILEDB_INVALID, TILEDB_GROUP, - TILEDB_ARRAY, - TILEDB_KEY_VALUE; + TILEDB_ARRAY; protected tiledb_object_t toSwigEnum() throws TileDBError { switch (this) { @@ -16,8 +15,6 @@ protected tiledb_object_t toSwigEnum() throws TileDBError { return tiledb_object_t.TILEDB_GROUP; case TILEDB_ARRAY: return tiledb_object_t.TILEDB_ARRAY; - case TILEDB_KEY_VALUE: - return tiledb_object_t.TILEDB_KEY_VALUE; default: throw new TileDBError("No such enum value" + this.name()); } @@ -31,8 +28,6 @@ protected static TileDBObjectType fromSwigEnum(tiledb_object_t e) throws TileDBE return TILEDB_GROUP; case TILEDB_ARRAY: return TILEDB_ARRAY; - case TILEDB_KEY_VALUE: - return TILEDB_KEY_VALUE; default: throw new TileDBError("No such enum value" + e.name()); } diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_FILE.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_FILE.java index 1c4aa6eb..a182bd18 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_FILE.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_FILE.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_double.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_double.java index 5e5d097d..615fbf15 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_double.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_double.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.java index f4b196c7..51ee63e0 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_p_void__int.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_p_void__int.java index 7270f6b2..d454ac1d 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_p_void__int.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_p_void__int.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_void__void.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_void__void.java index 979d425d..5d3187cd 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_void__void.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_void__void.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_float.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_float.java index da632677..45a8733a 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_float.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_float.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_int.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_int.java index 92eba5de..dea94375 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_int.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_int.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_long_long.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_long_long.java index 1cddd805..229b53e2 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_long_long.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_long_long.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_char.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_char.java index d5466b8a..51f0a125 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_char.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_char.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_int.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_int.java index 769c4419..161f5027 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_int.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_int.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_p_void.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_p_void.java index 60587a8e..93f618f5 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_p_void.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_p_void.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_schema_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_schema_t.java index 040903fd..3e199656 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_schema_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_schema_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_t.java index 377c6938..0d0fd44d 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_attribute_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_attribute_t.java index ed765399..d15a95e9 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_attribute_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_attribute_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_list_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_list_t.java index e4262ee9..80038533 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_list_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_list_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_t.java index 618a12f2..f843b71a 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_iter_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_iter_t.java index 31f0830a..7d937885 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_iter_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_iter_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_t.java index fd92622a..b6b39ffb 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_ctx_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_ctx_t.java index 51013818..a9295eb9 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_ctx_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_ctx_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_dimension_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_dimension_t.java index e7a5701f..79f52533 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_dimension_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_dimension_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_domain_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_domain_t.java index 26fccd9b..1e9736b7 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_domain_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_domain_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_error_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_error_t.java index cb0ead7f..6c1e8c12 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_error_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_error_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_list_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_list_t.java index 45fb3742..bf0bd017 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_list_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_list_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_t.java index 824d406c..e59a0abc 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_item_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_item_t.java deleted file mode 100644 index 8b06230a..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_item_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_p_tiledb_kv_item_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_p_tiledb_kv_item_t( - long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_p_tiledb_kv_item_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_p_tiledb_kv_item_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_iter_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_iter_t.java deleted file mode 100644 index cf4e8056..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_iter_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_p_tiledb_kv_iter_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_p_tiledb_kv_iter_t( - long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_p_tiledb_kv_iter_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_p_tiledb_kv_iter_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_schema_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_schema_t.java deleted file mode 100644 index ebd62b8b..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_schema_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_p_tiledb_kv_schema_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_p_tiledb_kv_schema_t( - long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_p_tiledb_kv_schema_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_p_tiledb_kv_schema_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_t.java deleted file mode 100644 index 799dc1c8..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_kv_t.java +++ /dev/null @@ -1,25 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_p_tiledb_kv_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_p_tiledb_kv_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_p_tiledb_kv_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_p_tiledb_kv_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_t.java index cb1a8076..0364d1e3 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_fh_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_fh_t.java index ba1083fb..c2783dce 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_fh_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_fh_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_t.java index 059db1f4..5498dc65 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_unsigned_long_long.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_unsigned_long_long.java index 51ffcc5a..06f3940b 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_unsigned_long_long.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_unsigned_long_long.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_void.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_void.java index c84bf153..91578b28 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_void.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_void.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_short.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_short.java index 7c5d91e7..8f7fe837 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_short.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_short.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_signed_char.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_signed_char.java index 1c8cc752..57b5296e 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_signed_char.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_signed_char.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_schema_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_schema_t.java index 94c52bb9..3ec8c65d 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_schema_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_schema_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_t.java index 640c299e..5bc0de51 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_type_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_type_t.java index 7f391c8e..18848713 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_attribute_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_attribute_t.java index 81370f70..35832cc4 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_attribute_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_attribute_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_list_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_list_t.java index 328d9118..14ad769a 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_list_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_list_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_t.java index 20a54de5..dd550cd2 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_iter_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_iter_t.java index 14b8f2b7..bfcd1a58 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_iter_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_iter_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_t.java index 750ca483..10a4f574 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_ctx_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_ctx_t.java index 93428a61..3ebfe34e 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_ctx_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_ctx_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_datatype_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_datatype_t.java index e57be55e..a3ea3a2e 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_datatype_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_datatype_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_dimension_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_dimension_t.java index 879e6787..afe6d34d 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_dimension_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_dimension_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_domain_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_domain_t.java index 40157150..35307ae7 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_domain_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_domain_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_encryption_type_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_encryption_type_t.java index 4af0cd31..43b34748 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_encryption_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_encryption_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_error_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_error_t.java index 4ceffdab..c87802aa 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_error_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_error_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filesystem_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filesystem_t.java index 0ff62eb2..9e4cffa4 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filesystem_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filesystem_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_list_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_list_t.java index 2651237a..18427ac2 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_list_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_list_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_option_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_option_t.java index 2bdb2a52..1da828a5 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_option_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_option_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_t.java index e5e30b3d..277976c2 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_type_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_type_t.java index 1c8dceb5..2726028a 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_item_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_item_t.java deleted file mode 100644 index 506c9664..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_item_t.java +++ /dev/null @@ -1,25 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_tiledb_kv_item_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_tiledb_kv_item_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_tiledb_kv_item_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_tiledb_kv_item_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_iter_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_iter_t.java deleted file mode 100644 index d8398c60..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_iter_t.java +++ /dev/null @@ -1,25 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_tiledb_kv_iter_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_tiledb_kv_iter_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_tiledb_kv_iter_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_tiledb_kv_iter_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_schema_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_schema_t.java deleted file mode 100644 index 836a6368..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_schema_t.java +++ /dev/null @@ -1,26 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_tiledb_kv_schema_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_tiledb_kv_schema_t( - long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_tiledb_kv_schema_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_tiledb_kv_schema_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_t.java deleted file mode 100644 index d637224a..00000000 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_kv_t.java +++ /dev/null @@ -1,25 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package io.tiledb.libtiledb; - -public class SWIGTYPE_p_tiledb_kv_t { - private transient long swigCPtr; - - protected SWIGTYPE_p_tiledb_kv_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_tiledb_kv_t() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_tiledb_kv_t obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_layout_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_layout_t.java index 417e7ef1..1bcfd147 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_layout_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_layout_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_object_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_object_t.java index 54c02434..ab225f97 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_object_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_object_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_status_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_status_t.java index b0062f29..c3da492d 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_status_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_status_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_t.java index 951c5e9f..9b3d9058 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_type_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_type_t.java index 17c4e7d6..51daf7ff 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_fh_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_fh_t.java index 7bbe124a..81a7398a 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_fh_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_fh_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_mode_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_mode_t.java index 7470421c..50b64e56 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_mode_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_mode_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_t.java index 8e46c9f0..d123d2c6 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_walk_order_t.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_walk_order_t.java index d385363d..417805a3 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_walk_order_t.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_walk_order_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_char.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_char.java index f046e162..61f3b4f5 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_char.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_char.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_int.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_int.java index edb3cd6d..fd909c67 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_int.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_int.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_long_long.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_long_long.java index a9faf125..e946ccd1 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_long_long.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_long_long.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_short.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_short.java index 97411d3e..6e08a77e 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_short.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_short.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_void.java b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_void.java index ce9a1346..f42e9d28 100644 --- a/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_void.java +++ b/src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_void.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/charArray.java b/src/main/java/io/tiledb/libtiledb/charArray.java index 32f1d6f7..b3daba6d 100644 --- a/src/main/java/io/tiledb/libtiledb/charArray.java +++ b/src/main/java/io/tiledb/libtiledb/charArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(charArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/doubleArray.java b/src/main/java/io/tiledb/libtiledb/doubleArray.java index 760332ef..879cffa8 100644 --- a/src/main/java/io/tiledb/libtiledb/doubleArray.java +++ b/src/main/java/io/tiledb/libtiledb/doubleArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(doubleArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/floatArray.java b/src/main/java/io/tiledb/libtiledb/floatArray.java index 42b38456..d59b5f75 100644 --- a/src/main/java/io/tiledb/libtiledb/floatArray.java +++ b/src/main/java/io/tiledb/libtiledb/floatArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(floatArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/int16_tArray.java b/src/main/java/io/tiledb/libtiledb/int16_tArray.java index 6946b112..83d63687 100644 --- a/src/main/java/io/tiledb/libtiledb/int16_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/int16_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(int16_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/int32_tArray.java b/src/main/java/io/tiledb/libtiledb/int32_tArray.java index ecbdc3ab..454aaddf 100644 --- a/src/main/java/io/tiledb/libtiledb/int32_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/int32_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(int32_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/int64_tArray.java b/src/main/java/io/tiledb/libtiledb/int64_tArray.java index eca49d25..3a45f2cb 100644 --- a/src/main/java/io/tiledb/libtiledb/int64_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/int64_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(int64_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/int8_tArray.java b/src/main/java/io/tiledb/libtiledb/int8_tArray.java index 57f3eff3..601600ab 100644 --- a/src/main/java/io/tiledb/libtiledb/int8_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/int8_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(int8_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/tiledb.java b/src/main/java/io/tiledb/libtiledb/tiledb.java index 8e47bc12..c0fd1e9e 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -837,112 +837,6 @@ public static SWIGTYPE_p_tiledb_filter_list_t tiledb_filter_list_tpp_value( return (cPtr == 0) ? null : new SWIGTYPE_p_tiledb_filter_list_t(cPtr, false); } - public static SWIGTYPE_p_p_tiledb_kv_t new_tiledb_kv_tpp() { - long cPtr = tiledbJNI.new_tiledb_kv_tpp(); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_t(cPtr, false); - } - - public static SWIGTYPE_p_p_tiledb_kv_t copy_tiledb_kv_tpp(SWIGTYPE_p_tiledb_kv_t value) { - long cPtr = tiledbJNI.copy_tiledb_kv_tpp(SWIGTYPE_p_tiledb_kv_t.getCPtr(value)); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_t(cPtr, false); - } - - public static void delete_tiledb_kv_tpp(SWIGTYPE_p_p_tiledb_kv_t obj) { - tiledbJNI.delete_tiledb_kv_tpp(SWIGTYPE_p_p_tiledb_kv_t.getCPtr(obj)); - } - - public static void tiledb_kv_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_t obj, SWIGTYPE_p_tiledb_kv_t value) { - tiledbJNI.tiledb_kv_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_t.getCPtr(obj), SWIGTYPE_p_tiledb_kv_t.getCPtr(value)); - } - - public static SWIGTYPE_p_tiledb_kv_t tiledb_kv_tpp_value(SWIGTYPE_p_p_tiledb_kv_t obj) { - long cPtr = tiledbJNI.tiledb_kv_tpp_value(SWIGTYPE_p_p_tiledb_kv_t.getCPtr(obj)); - return (cPtr == 0) ? null : new SWIGTYPE_p_tiledb_kv_t(cPtr, false); - } - - public static SWIGTYPE_p_p_tiledb_kv_schema_t new_tiledb_kv_schema_tpp() { - long cPtr = tiledbJNI.new_tiledb_kv_schema_tpp(); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_schema_t(cPtr, false); - } - - public static SWIGTYPE_p_p_tiledb_kv_schema_t copy_tiledb_kv_schema_tpp( - SWIGTYPE_p_tiledb_kv_schema_t value) { - long cPtr = tiledbJNI.copy_tiledb_kv_schema_tpp(SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(value)); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_schema_t(cPtr, false); - } - - public static void delete_tiledb_kv_schema_tpp(SWIGTYPE_p_p_tiledb_kv_schema_t obj) { - tiledbJNI.delete_tiledb_kv_schema_tpp(SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(obj)); - } - - public static void tiledb_kv_schema_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_schema_t obj, SWIGTYPE_p_tiledb_kv_schema_t value) { - tiledbJNI.tiledb_kv_schema_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(obj), SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(value)); - } - - public static SWIGTYPE_p_tiledb_kv_schema_t tiledb_kv_schema_tpp_value( - SWIGTYPE_p_p_tiledb_kv_schema_t obj) { - long cPtr = tiledbJNI.tiledb_kv_schema_tpp_value(SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(obj)); - return (cPtr == 0) ? null : new SWIGTYPE_p_tiledb_kv_schema_t(cPtr, false); - } - - public static SWIGTYPE_p_p_tiledb_kv_item_t new_tiledb_kv_item_tpp() { - long cPtr = tiledbJNI.new_tiledb_kv_item_tpp(); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_item_t(cPtr, false); - } - - public static SWIGTYPE_p_p_tiledb_kv_item_t copy_tiledb_kv_item_tpp( - SWIGTYPE_p_tiledb_kv_item_t value) { - long cPtr = tiledbJNI.copy_tiledb_kv_item_tpp(SWIGTYPE_p_tiledb_kv_item_t.getCPtr(value)); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_item_t(cPtr, false); - } - - public static void delete_tiledb_kv_item_tpp(SWIGTYPE_p_p_tiledb_kv_item_t obj) { - tiledbJNI.delete_tiledb_kv_item_tpp(SWIGTYPE_p_p_tiledb_kv_item_t.getCPtr(obj)); - } - - public static void tiledb_kv_item_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_item_t obj, SWIGTYPE_p_tiledb_kv_item_t value) { - tiledbJNI.tiledb_kv_item_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_item_t.getCPtr(obj), SWIGTYPE_p_tiledb_kv_item_t.getCPtr(value)); - } - - public static SWIGTYPE_p_tiledb_kv_item_t tiledb_kv_item_tpp_value( - SWIGTYPE_p_p_tiledb_kv_item_t obj) { - long cPtr = tiledbJNI.tiledb_kv_item_tpp_value(SWIGTYPE_p_p_tiledb_kv_item_t.getCPtr(obj)); - return (cPtr == 0) ? null : new SWIGTYPE_p_tiledb_kv_item_t(cPtr, false); - } - - public static SWIGTYPE_p_p_tiledb_kv_iter_t new_tiledb_kv_iter_tpp() { - long cPtr = tiledbJNI.new_tiledb_kv_iter_tpp(); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_iter_t(cPtr, false); - } - - public static SWIGTYPE_p_p_tiledb_kv_iter_t copy_tiledb_kv_iter_tpp( - SWIGTYPE_p_tiledb_kv_iter_t value) { - long cPtr = tiledbJNI.copy_tiledb_kv_iter_tpp(SWIGTYPE_p_tiledb_kv_iter_t.getCPtr(value)); - return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_kv_iter_t(cPtr, false); - } - - public static void delete_tiledb_kv_iter_tpp(SWIGTYPE_p_p_tiledb_kv_iter_t obj) { - tiledbJNI.delete_tiledb_kv_iter_tpp(SWIGTYPE_p_p_tiledb_kv_iter_t.getCPtr(obj)); - } - - public static void tiledb_kv_iter_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_iter_t obj, SWIGTYPE_p_tiledb_kv_iter_t value) { - tiledbJNI.tiledb_kv_iter_tpp_assign( - SWIGTYPE_p_p_tiledb_kv_iter_t.getCPtr(obj), SWIGTYPE_p_tiledb_kv_iter_t.getCPtr(value)); - } - - public static SWIGTYPE_p_tiledb_kv_iter_t tiledb_kv_iter_tpp_value( - SWIGTYPE_p_p_tiledb_kv_iter_t obj) { - long cPtr = tiledbJNI.tiledb_kv_iter_tpp_value(SWIGTYPE_p_p_tiledb_kv_iter_t.getCPtr(obj)); - return (cPtr == 0) ? null : new SWIGTYPE_p_tiledb_kv_iter_t(cPtr, false); - } - public static SWIGTYPE_p_p_tiledb_vfs_t new_tiledb_vfs_tpp() { long cPtr = tiledbJNI.new_tiledb_vfs_tpp(); return (cPtr == 0) ? null : new SWIGTYPE_p_p_tiledb_vfs_t(cPtr, false); @@ -1549,6 +1443,10 @@ public static int tiledb_ctx_cancel_tasks(SWIGTYPE_p_tiledb_ctx_t ctx) { return tiledbJNI.tiledb_ctx_cancel_tasks(SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx)); } + public static int tiledb_ctx_set_tag(SWIGTYPE_p_tiledb_ctx_t ctx, String key, String value) { + return tiledbJNI.tiledb_ctx_set_tag(SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), key, value); + } + public static int tiledb_group_create(SWIGTYPE_p_tiledb_ctx_t ctx, String group_uri) { return tiledbJNI.tiledb_group_create(SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), group_uri); } @@ -2373,6 +2271,40 @@ public static int tiledb_query_get_est_result_size_var( SWIGTYPE_p_unsigned_long_long.getCPtr(size_val)); } + public static int tiledb_query_get_fragment_num( + SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_query_t query, SWIGTYPE_p_unsigned_int num) { + return tiledbJNI.tiledb_query_get_fragment_num( + SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), + SWIGTYPE_p_tiledb_query_t.getCPtr(query), + SWIGTYPE_p_unsigned_int.getCPtr(num)); + } + + public static int tiledb_query_get_fragment_uri( + SWIGTYPE_p_tiledb_ctx_t ctx, + SWIGTYPE_p_tiledb_query_t query, + java.math.BigInteger idx, + SWIGTYPE_p_p_char uri) { + return tiledbJNI.tiledb_query_get_fragment_uri( + SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), + SWIGTYPE_p_tiledb_query_t.getCPtr(query), + idx, + SWIGTYPE_p_p_char.getCPtr(uri)); + } + + public static int tiledb_query_get_fragment_timestamp_range( + SWIGTYPE_p_tiledb_ctx_t ctx, + SWIGTYPE_p_tiledb_query_t query, + java.math.BigInteger idx, + SWIGTYPE_p_unsigned_long_long t1, + SWIGTYPE_p_unsigned_long_long t2) { + return tiledbJNI.tiledb_query_get_fragment_timestamp_range( + SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), + SWIGTYPE_p_tiledb_query_t.getCPtr(query), + idx, + SWIGTYPE_p_unsigned_long_long.getCPtr(t1), + SWIGTYPE_p_unsigned_long_long.getCPtr(t2)); + } + public static int tiledb_array_alloc( SWIGTYPE_p_tiledb_ctx_t ctx, String array_uri, SWIGTYPE_p_p_tiledb_array_t array) { return tiledbJNI.tiledb_array_alloc( @@ -2609,500 +2541,137 @@ public static int tiledb_array_encryption_type( SWIGTYPE_p_tiledb_encryption_type_t.getCPtr(encryption_type)); } - public static int tiledb_object_type( - SWIGTYPE_p_tiledb_ctx_t ctx, String path, SWIGTYPE_p_tiledb_object_t type) { - return tiledbJNI.tiledb_object_type( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), path, SWIGTYPE_p_tiledb_object_t.getCPtr(type)); - } - - public static int tiledb_object_remove(SWIGTYPE_p_tiledb_ctx_t ctx, String path) { - return tiledbJNI.tiledb_object_remove(SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), path); - } - - public static int tiledb_object_move( - SWIGTYPE_p_tiledb_ctx_t ctx, String old_path, String new_path) { - return tiledbJNI.tiledb_object_move(SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), old_path, new_path); - } - - public static int tiledb_object_walk( - SWIGTYPE_p_tiledb_ctx_t ctx, - String path, - tiledb_walk_order_t order, - SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int callback, - SWIGTYPE_p_void data) { - return tiledbJNI.tiledb_object_walk( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - path, - order.swigValue(), - SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.getCPtr(callback), - SWIGTYPE_p_void.getCPtr(data)); - } - - public static int tiledb_object_ls( - SWIGTYPE_p_tiledb_ctx_t ctx, - String path, - SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int callback, - SWIGTYPE_p_void data) { - return tiledbJNI.tiledb_object_ls( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - path, - SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.getCPtr(callback), - SWIGTYPE_p_void.getCPtr(data)); - } - - public static int tiledb_kv_schema_alloc( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_p_tiledb_kv_schema_t kv_schema) { - return tiledbJNI.tiledb_kv_schema_alloc( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - - public static void tiledb_kv_schema_free(SWIGTYPE_p_p_tiledb_kv_schema_t kv_schema) { - tiledbJNI.tiledb_kv_schema_free(SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - - public static int tiledb_kv_schema_add_attribute( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - SWIGTYPE_p_tiledb_attribute_t attr) { - return tiledbJNI.tiledb_kv_schema_add_attribute( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - SWIGTYPE_p_tiledb_attribute_t.getCPtr(attr)); - } - - public static int tiledb_kv_schema_set_capacity( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - java.math.BigInteger capacity) { - return tiledbJNI.tiledb_kv_schema_set_capacity( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - capacity); - } - - public static int tiledb_kv_schema_check( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_schema_t kv_schema) { - return tiledbJNI.tiledb_kv_schema_check( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - - public static int tiledb_kv_schema_load( - SWIGTYPE_p_tiledb_ctx_t ctx, String kv_uri, SWIGTYPE_p_p_tiledb_kv_schema_t kv_schema) { - return tiledbJNI.tiledb_kv_schema_load( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - kv_uri, - SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - - public static int tiledb_kv_schema_load_with_key( - SWIGTYPE_p_tiledb_ctx_t ctx, - String kv_uri, - tiledb_encryption_type_t encryption_type, - SWIGTYPE_p_void encryption_key, - long key_length, - SWIGTYPE_p_p_tiledb_kv_schema_t kv_schema) { - return tiledbJNI.tiledb_kv_schema_load_with_key( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - kv_uri, - encryption_type.swigValue(), - SWIGTYPE_p_void.getCPtr(encryption_key), - key_length, - SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - - public static int tiledb_kv_schema_get_capacity( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - SWIGTYPE_p_unsigned_long_long capacity) { - return tiledbJNI.tiledb_kv_schema_get_capacity( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - SWIGTYPE_p_unsigned_long_long.getCPtr(capacity)); - } - - public static int tiledb_kv_schema_get_attribute_num( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - SWIGTYPE_p_unsigned_int attribute_num) { - return tiledbJNI.tiledb_kv_schema_get_attribute_num( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - SWIGTYPE_p_unsigned_int.getCPtr(attribute_num)); - } - - public static int tiledb_kv_schema_get_attribute_from_index( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - long index, - SWIGTYPE_p_p_tiledb_attribute_t attr) { - return tiledbJNI.tiledb_kv_schema_get_attribute_from_index( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - index, - SWIGTYPE_p_p_tiledb_attribute_t.getCPtr(attr)); - } - - public static int tiledb_kv_schema_get_attribute_from_name( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - String name, - SWIGTYPE_p_p_tiledb_attribute_t attr) { - return tiledbJNI.tiledb_kv_schema_get_attribute_from_name( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - name, - SWIGTYPE_p_p_tiledb_attribute_t.getCPtr(attr)); - } - - public static int tiledb_kv_schema_has_attribute( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - String name, - SWIGTYPE_p_int has_attr) { - return tiledbJNI.tiledb_kv_schema_has_attribute( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - name, - SWIGTYPE_p_int.getCPtr(has_attr)); - } - - public static int tiledb_kv_schema_dump( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_schema_t kv_schema, SWIGTYPE_p_FILE out) { - return tiledbJNI.tiledb_kv_schema_dump( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - SWIGTYPE_p_FILE.getCPtr(out)); - } - - public static int tiledb_kv_item_alloc( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_p_tiledb_kv_item_t kv_item) { - return tiledbJNI.tiledb_kv_item_alloc( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_p_tiledb_kv_item_t.getCPtr(kv_item)); - } - - public static void tiledb_kv_item_free(SWIGTYPE_p_p_tiledb_kv_item_t kv_item) { - tiledbJNI.tiledb_kv_item_free(SWIGTYPE_p_p_tiledb_kv_item_t.getCPtr(kv_item)); - } - - public static int tiledb_kv_item_set_key( + public static int tiledb_array_put_metadata( SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_item_t kv_item, - SWIGTYPE_p_void key, - tiledb_datatype_t key_type, - java.math.BigInteger key_size) { - return tiledbJNI.tiledb_kv_item_set_key( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_item_t.getCPtr(kv_item), - SWIGTYPE_p_void.getCPtr(key), - key_type.swigValue(), - key_size); - } - - public static int tiledb_kv_item_set_value( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_item_t kv_item, - String attribute, - SWIGTYPE_p_void value, + SWIGTYPE_p_tiledb_array_t array, + String key, tiledb_datatype_t value_type, - java.math.BigInteger value_size) { - return tiledbJNI.tiledb_kv_item_set_value( + long value_num, + SWIGTYPE_p_void value) { + return tiledbJNI.tiledb_array_put_metadata( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_item_t.getCPtr(kv_item), - attribute, - SWIGTYPE_p_void.getCPtr(value), + SWIGTYPE_p_tiledb_array_t.getCPtr(array), + key, value_type.swigValue(), - value_size); + value_num, + SWIGTYPE_p_void.getCPtr(value)); } - public static int tiledb_kv_item_get_key( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_item_t kv_item, - SWIGTYPE_p_p_void key, - SWIGTYPE_p_tiledb_datatype_t key_type, - SWIGTYPE_p_unsigned_long_long key_size) { - return tiledbJNI.tiledb_kv_item_get_key( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_item_t.getCPtr(kv_item), - SWIGTYPE_p_p_void.getCPtr(key), - SWIGTYPE_p_tiledb_datatype_t.getCPtr(key_type), - SWIGTYPE_p_unsigned_long_long.getCPtr(key_size)); + public static int tiledb_array_delete_metadata( + SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_array_t array, String key) { + return tiledbJNI.tiledb_array_delete_metadata( + SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_array_t.getCPtr(array), key); } - public static int tiledb_kv_item_get_value( + public static int tiledb_array_get_metadata( SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_item_t kv_item, - String attribute, - SWIGTYPE_p_p_void value, + SWIGTYPE_p_tiledb_array_t array, + String key, SWIGTYPE_p_tiledb_datatype_t value_type, - SWIGTYPE_p_unsigned_long_long value_size) { - return tiledbJNI.tiledb_kv_item_get_value( + SWIGTYPE_p_unsigned_int value_num, + SWIGTYPE_p_p_void value) { + return tiledbJNI.tiledb_array_get_metadata( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_item_t.getCPtr(kv_item), - attribute, - SWIGTYPE_p_p_void.getCPtr(value), + SWIGTYPE_p_tiledb_array_t.getCPtr(array), + key, SWIGTYPE_p_tiledb_datatype_t.getCPtr(value_type), - SWIGTYPE_p_unsigned_long_long.getCPtr(value_size)); + SWIGTYPE_p_unsigned_int.getCPtr(value_num), + SWIGTYPE_p_p_void.getCPtr(value)); } - public static int tiledb_kv_create( - SWIGTYPE_p_tiledb_ctx_t ctx, String kv_uri, SWIGTYPE_p_tiledb_kv_schema_t kv_schema) { - return tiledbJNI.tiledb_kv_create( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - kv_uri, - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - - public static int tiledb_kv_create_with_key( + public static int tiledb_array_get_metadata_num( SWIGTYPE_p_tiledb_ctx_t ctx, - String kv_uri, - SWIGTYPE_p_tiledb_kv_schema_t kv_schema, - tiledb_encryption_type_t encryption_type, - SWIGTYPE_p_void encryption_key, - long key_length) { - return tiledbJNI.tiledb_kv_create_with_key( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - kv_uri, - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - encryption_type.swigValue(), - SWIGTYPE_p_void.getCPtr(encryption_key), - key_length); - } - - public static int tiledb_kv_consolidate( - SWIGTYPE_p_tiledb_ctx_t ctx, String kv_uri, SWIGTYPE_p_tiledb_config_t config) { - return tiledbJNI.tiledb_kv_consolidate( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), kv_uri, SWIGTYPE_p_tiledb_config_t.getCPtr(config)); - } - - public static int tiledb_kv_consolidate_with_key( - SWIGTYPE_p_tiledb_ctx_t ctx, - String kv_uri, - tiledb_encryption_type_t encryption_type, - SWIGTYPE_p_void encryption_key, - long key_length, - SWIGTYPE_p_tiledb_config_t config) { - return tiledbJNI.tiledb_kv_consolidate_with_key( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - kv_uri, - encryption_type.swigValue(), - SWIGTYPE_p_void.getCPtr(encryption_key), - key_length, - SWIGTYPE_p_tiledb_config_t.getCPtr(config)); - } - - public static int tiledb_kv_alloc( - SWIGTYPE_p_tiledb_ctx_t ctx, String kv_uri, SWIGTYPE_p_p_tiledb_kv_t kv) { - return tiledbJNI.tiledb_kv_alloc( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), kv_uri, SWIGTYPE_p_p_tiledb_kv_t.getCPtr(kv)); - } - - public static int tiledb_kv_open( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv, tiledb_query_type_t query_type) { - return tiledbJNI.tiledb_kv_open( + SWIGTYPE_p_tiledb_array_t array, + SWIGTYPE_p_unsigned_long_long num) { + return tiledbJNI.tiledb_array_get_metadata_num( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - query_type.swigValue()); + SWIGTYPE_p_tiledb_array_t.getCPtr(array), + SWIGTYPE_p_unsigned_long_long.getCPtr(num)); } - public static int tiledb_kv_open_at( + public static int tiledb_array_get_metadata_from_index( SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - tiledb_query_type_t query_type, - java.math.BigInteger timestamp) { - return tiledbJNI.tiledb_kv_open_at( + SWIGTYPE_p_tiledb_array_t array, + java.math.BigInteger index, + SWIGTYPE_p_p_char key, + SWIGTYPE_p_unsigned_int key_len, + SWIGTYPE_p_tiledb_datatype_t value_type, + SWIGTYPE_p_unsigned_int value_num, + SWIGTYPE_p_p_void value) { + return tiledbJNI.tiledb_array_get_metadata_from_index( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - query_type.swigValue(), - timestamp); + SWIGTYPE_p_tiledb_array_t.getCPtr(array), + index, + SWIGTYPE_p_p_char.getCPtr(key), + SWIGTYPE_p_unsigned_int.getCPtr(key_len), + SWIGTYPE_p_tiledb_datatype_t.getCPtr(value_type), + SWIGTYPE_p_unsigned_int.getCPtr(value_num), + SWIGTYPE_p_p_void.getCPtr(value)); } - public static int tiledb_kv_open_with_key( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - tiledb_query_type_t query_type, - tiledb_encryption_type_t encryption_type, - SWIGTYPE_p_void encryption_key, - long key_length) { - return tiledbJNI.tiledb_kv_open_with_key( + public static int tiledb_array_consolidate_metadata( + SWIGTYPE_p_tiledb_ctx_t ctx, String array_uri, SWIGTYPE_p_tiledb_config_t config) { + return tiledbJNI.tiledb_array_consolidate_metadata( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - query_type.swigValue(), - encryption_type.swigValue(), - SWIGTYPE_p_void.getCPtr(encryption_key), - key_length); + array_uri, + SWIGTYPE_p_tiledb_config_t.getCPtr(config)); } - public static int tiledb_kv_open_at_with_key( + public static int tiledb_array_consolidate_metadata_with_key( SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - tiledb_query_type_t query_type, + String array_uri, tiledb_encryption_type_t encryption_type, SWIGTYPE_p_void encryption_key, long key_length, - java.math.BigInteger timestamp) { - return tiledbJNI.tiledb_kv_open_at_with_key( + SWIGTYPE_p_tiledb_config_t config) { + return tiledbJNI.tiledb_array_consolidate_metadata_with_key( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - query_type.swigValue(), + array_uri, encryption_type.swigValue(), SWIGTYPE_p_void.getCPtr(encryption_key), key_length, - timestamp); - } - - public static int tiledb_kv_is_open( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv, SWIGTYPE_p_int is_open) { - return tiledbJNI.tiledb_kv_is_open( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_int.getCPtr(is_open)); - } - - public static int tiledb_kv_reopen(SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv) { - return tiledbJNI.tiledb_kv_reopen( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_t.getCPtr(kv)); - } - - public static int tiledb_kv_reopen_at( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv, java.math.BigInteger timestamp) { - return tiledbJNI.tiledb_kv_reopen_at( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), timestamp); - } - - public static int tiledb_kv_get_timestamp( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - SWIGTYPE_p_unsigned_long_long timestamp) { - return tiledbJNI.tiledb_kv_get_timestamp( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_unsigned_long_long.getCPtr(timestamp)); - } - - public static int tiledb_kv_close(SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv) { - return tiledbJNI.tiledb_kv_close( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_t.getCPtr(kv)); - } - - public static void tiledb_kv_free(SWIGTYPE_p_p_tiledb_kv_t kv) { - tiledbJNI.tiledb_kv_free(SWIGTYPE_p_p_tiledb_kv_t.getCPtr(kv)); - } - - public static int tiledb_kv_get_schema( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - SWIGTYPE_p_p_tiledb_kv_schema_t kv_schema) { - return tiledbJNI.tiledb_kv_get_schema( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - - public static int tiledb_kv_is_dirty( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv, SWIGTYPE_p_int is_dirty) { - return tiledbJNI.tiledb_kv_is_dirty( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_int.getCPtr(is_dirty)); - } - - public static int tiledb_kv_add_item( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv, SWIGTYPE_p_tiledb_kv_item_t kv_item) { - return tiledbJNI.tiledb_kv_add_item( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_tiledb_kv_item_t.getCPtr(kv_item)); - } - - public static int tiledb_kv_flush(SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_t kv) { - return tiledbJNI.tiledb_kv_flush( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_t.getCPtr(kv)); + SWIGTYPE_p_tiledb_config_t.getCPtr(config)); } - public static int tiledb_kv_get_item( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - SWIGTYPE_p_void key, - tiledb_datatype_t key_type, - java.math.BigInteger key_size, - SWIGTYPE_p_p_tiledb_kv_item_t kv_item) { - return tiledbJNI.tiledb_kv_get_item( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_void.getCPtr(key), - key_type.swigValue(), - key_size, - SWIGTYPE_p_p_tiledb_kv_item_t.getCPtr(kv_item)); + public static int tiledb_object_type( + SWIGTYPE_p_tiledb_ctx_t ctx, String path, SWIGTYPE_p_tiledb_object_t type) { + return tiledbJNI.tiledb_object_type( + SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), path, SWIGTYPE_p_tiledb_object_t.getCPtr(type)); } - public static int tiledb_kv_has_key( - SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - SWIGTYPE_p_void key, - tiledb_datatype_t key_type, - java.math.BigInteger key_size, - SWIGTYPE_p_int has_key) { - return tiledbJNI.tiledb_kv_has_key( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_void.getCPtr(key), - key_type.swigValue(), - key_size, - SWIGTYPE_p_int.getCPtr(has_key)); + public static int tiledb_object_remove(SWIGTYPE_p_tiledb_ctx_t ctx, String path) { + return tiledbJNI.tiledb_object_remove(SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), path); } - public static int tiledb_kv_encryption_type( - SWIGTYPE_p_tiledb_ctx_t ctx, - String kv_uri, - SWIGTYPE_p_tiledb_encryption_type_t encryption_type) { - return tiledbJNI.tiledb_kv_encryption_type( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - kv_uri, - SWIGTYPE_p_tiledb_encryption_type_t.getCPtr(encryption_type)); + public static int tiledb_object_move( + SWIGTYPE_p_tiledb_ctx_t ctx, String old_path, String new_path) { + return tiledbJNI.tiledb_object_move(SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), old_path, new_path); } - public static int tiledb_kv_iter_alloc( + public static int tiledb_object_walk( SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_t kv, - SWIGTYPE_p_p_tiledb_kv_iter_t kv_iter) { - return tiledbJNI.tiledb_kv_iter_alloc( + String path, + tiledb_walk_order_t order, + SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int callback, + SWIGTYPE_p_void data) { + return tiledbJNI.tiledb_object_walk( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_t.getCPtr(kv), - SWIGTYPE_p_p_tiledb_kv_iter_t.getCPtr(kv_iter)); - } - - public static void tiledb_kv_iter_free(SWIGTYPE_p_p_tiledb_kv_iter_t kv_iter) { - tiledbJNI.tiledb_kv_iter_free(SWIGTYPE_p_p_tiledb_kv_iter_t.getCPtr(kv_iter)); + path, + order.swigValue(), + SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.getCPtr(callback), + SWIGTYPE_p_void.getCPtr(data)); } - public static int tiledb_kv_iter_here( + public static int tiledb_object_ls( SWIGTYPE_p_tiledb_ctx_t ctx, - SWIGTYPE_p_tiledb_kv_iter_t kv_iter, - SWIGTYPE_p_p_tiledb_kv_item_t kv_item) { - return tiledbJNI.tiledb_kv_iter_here( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_iter_t.getCPtr(kv_iter), - SWIGTYPE_p_p_tiledb_kv_item_t.getCPtr(kv_item)); - } - - public static int tiledb_kv_iter_next( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_iter_t kv_iter) { - return tiledbJNI.tiledb_kv_iter_next( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_iter_t.getCPtr(kv_iter)); - } - - public static int tiledb_kv_iter_done( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_iter_t kv_iter, SWIGTYPE_p_int done) { - return tiledbJNI.tiledb_kv_iter_done( + String path, + SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int callback, + SWIGTYPE_p_void data) { + return tiledbJNI.tiledb_object_ls( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_iter_t.getCPtr(kv_iter), - SWIGTYPE_p_int.getCPtr(done)); - } - - public static int tiledb_kv_iter_reset( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_iter_t kv_iter) { - return tiledbJNI.tiledb_kv_iter_reset( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_iter_t.getCPtr(kv_iter)); + path, + SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.getCPtr(callback), + SWIGTYPE_p_void.getCPtr(data)); } public static int tiledb_vfs_alloc( @@ -3376,12 +2945,6 @@ public static int tiledb_dimension_dump_stdout( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_dimension_t.getCPtr(dim)); } - public static int tiledb_kv_schema_dump_stdout( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_schema_t kv_schema) { - return tiledbJNI.tiledb_kv_schema_dump_stdout( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema)); - } - public static int tiledb_attribute_dump_stdout( SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_attribute_t attr) { return tiledbJNI.tiledb_attribute_dump_stdout( @@ -3411,14 +2974,6 @@ public static int tiledb_dimension_dump_file( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_dimension_t.getCPtr(dim), filename); } - public static int tiledb_kv_schema_dump_file( - SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_kv_schema_t kv_schema, String filename) { - return tiledbJNI.tiledb_kv_schema_dump_file( - SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), - SWIGTYPE_p_tiledb_kv_schema_t.getCPtr(kv_schema), - filename); - } - public static int tiledb_attribute_dump_file( SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_attribute_t attr, String filename) { return tiledbJNI.tiledb_attribute_dump_file( @@ -3475,7 +3030,7 @@ public static int tiledb_query_submit_async_jc( SWIGTYPE_p_tiledb_ctx_t ctx, SWIGTYPE_p_tiledb_query_t query, SWIGTYPE_p_f_p_void__void callback, - Object callback_data) { + java.lang.Object callback_data) { return tiledbJNI.tiledb_query_submit_async_jc( SWIGTYPE_p_tiledb_ctx_t.getCPtr(ctx), SWIGTYPE_p_tiledb_query_t.getCPtr(query), diff --git a/src/main/java/io/tiledb/libtiledb/tiledbConstants.java b/src/main/java/io/tiledb/libtiledb/tiledbConstants.java index 15c81cb3..9b58498c 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledbConstants.java +++ b/src/main/java/io/tiledb/libtiledb/tiledbConstants.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -9,10 +9,10 @@ package io.tiledb.libtiledb; public interface tiledbConstants { - public static final int TILEDB_ERR = (-1); - public static final int TILEDB_OK = 0; - public static final int TILEDB_OOM = (-2); + public static final int TILEDB_VERSION_MINOR = 7; public static final int TILEDB_VERSION_MAJOR = 1; - public static final int TILEDB_VERSION_MINOR = 6; - public static final int TILEDB_VERSION_PATCH = 2; + public static final int TILEDB_VERSION_PATCH = 0; + public static final int TILEDB_OOM = (-2); + public static final int TILEDB_OK = 0; + public static final int TILEDB_ERR = (-1); } diff --git a/src/main/java/io/tiledb/libtiledb/tiledbJNI.java b/src/main/java/io/tiledb/libtiledb/tiledbJNI.java index 40816d43..6d1735a6 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledbJNI.java +++ b/src/main/java/io/tiledb/libtiledb/tiledbJNI.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -509,46 +509,6 @@ public static final native void uint64_tArray_setitem( public static final native long tiledb_filter_list_tpp_value(long jarg1); - public static final native long new_tiledb_kv_tpp(); - - public static final native long copy_tiledb_kv_tpp(long jarg1); - - public static final native void delete_tiledb_kv_tpp(long jarg1); - - public static final native void tiledb_kv_tpp_assign(long jarg1, long jarg2); - - public static final native long tiledb_kv_tpp_value(long jarg1); - - public static final native long new_tiledb_kv_schema_tpp(); - - public static final native long copy_tiledb_kv_schema_tpp(long jarg1); - - public static final native void delete_tiledb_kv_schema_tpp(long jarg1); - - public static final native void tiledb_kv_schema_tpp_assign(long jarg1, long jarg2); - - public static final native long tiledb_kv_schema_tpp_value(long jarg1); - - public static final native long new_tiledb_kv_item_tpp(); - - public static final native long copy_tiledb_kv_item_tpp(long jarg1); - - public static final native void delete_tiledb_kv_item_tpp(long jarg1); - - public static final native void tiledb_kv_item_tpp_assign(long jarg1, long jarg2); - - public static final native long tiledb_kv_item_tpp_value(long jarg1); - - public static final native long new_tiledb_kv_iter_tpp(); - - public static final native long copy_tiledb_kv_iter_tpp(long jarg1); - - public static final native void delete_tiledb_kv_iter_tpp(long jarg1); - - public static final native void tiledb_kv_iter_tpp_assign(long jarg1, long jarg2); - - public static final native long tiledb_kv_iter_tpp_value(long jarg1); - public static final native long new_tiledb_vfs_tpp(); public static final native long copy_tiledb_vfs_tpp(long jarg1); @@ -773,6 +733,8 @@ public static final native int tiledb_config_iter_here( public static final native int tiledb_ctx_cancel_tasks(long jarg1); + public static final native int tiledb_ctx_set_tag(long jarg1, String jarg2, String jarg3); + public static final native int tiledb_group_create(long jarg1, String jarg2); public static final native int tiledb_filter_alloc(long jarg1, int jarg2, long jarg3); @@ -988,6 +950,14 @@ public static final native int tiledb_query_get_est_result_size( public static final native int tiledb_query_get_est_result_size_var( long jarg1, long jarg2, String jarg3, long jarg4, long jarg5); + public static final native int tiledb_query_get_fragment_num(long jarg1, long jarg2, long jarg3); + + public static final native int tiledb_query_get_fragment_uri( + long jarg1, long jarg2, java.math.BigInteger jarg3, long jarg4); + + public static final native int tiledb_query_get_fragment_timestamp_range( + long jarg1, long jarg2, java.math.BigInteger jarg3, long jarg4, long jarg5); + public static final native int tiledb_array_alloc(long jarg1, String jarg2, long jarg3); public static final native int tiledb_array_open(long jarg1, long jarg2, int jarg3); @@ -1047,134 +1017,42 @@ public static final native int tiledb_array_max_buffer_size_var( public static final native int tiledb_array_encryption_type(long jarg1, String jarg2, long jarg3); - public static final native int tiledb_object_type(long jarg1, String jarg2, long jarg3); - - public static final native int tiledb_object_remove(long jarg1, String jarg2); - - public static final native int tiledb_object_move(long jarg1, String jarg2, String jarg3); - - public static final native int tiledb_object_walk( - long jarg1, String jarg2, int jarg3, long jarg4, long jarg5); - - public static final native int tiledb_object_ls(long jarg1, String jarg2, long jarg3, long jarg4); - - public static final native int tiledb_kv_schema_alloc(long jarg1, long jarg2); - - public static final native void tiledb_kv_schema_free(long jarg1); - - public static final native int tiledb_kv_schema_add_attribute(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_schema_set_capacity( - long jarg1, long jarg2, java.math.BigInteger jarg3); - - public static final native int tiledb_kv_schema_check(long jarg1, long jarg2); - - public static final native int tiledb_kv_schema_load(long jarg1, String jarg2, long jarg3); - - public static final native int tiledb_kv_schema_load_with_key( - long jarg1, String jarg2, int jarg3, long jarg4, long jarg5, long jarg6); - - public static final native int tiledb_kv_schema_get_capacity(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_schema_get_attribute_num( - long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_schema_get_attribute_from_index( - long jarg1, long jarg2, long jarg3, long jarg4); - - public static final native int tiledb_kv_schema_get_attribute_from_name( - long jarg1, long jarg2, String jarg3, long jarg4); - - public static final native int tiledb_kv_schema_has_attribute( - long jarg1, long jarg2, String jarg3, long jarg4); - - public static final native int tiledb_kv_schema_dump(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_item_alloc(long jarg1, long jarg2); - - public static final native void tiledb_kv_item_free(long jarg1); + public static final native int tiledb_array_put_metadata( + long jarg1, long jarg2, String jarg3, int jarg4, long jarg5, long jarg6); - public static final native int tiledb_kv_item_set_key( - long jarg1, long jarg2, long jarg3, int jarg4, java.math.BigInteger jarg5); + public static final native int tiledb_array_delete_metadata(long jarg1, long jarg2, String jarg3); - public static final native int tiledb_kv_item_set_value( - long jarg1, long jarg2, String jarg3, long jarg4, int jarg5, java.math.BigInteger jarg6); - - public static final native int tiledb_kv_item_get_key( - long jarg1, long jarg2, long jarg3, long jarg4, long jarg5); - - public static final native int tiledb_kv_item_get_value( + public static final native int tiledb_array_get_metadata( long jarg1, long jarg2, String jarg3, long jarg4, long jarg5, long jarg6); - public static final native int tiledb_kv_create(long jarg1, String jarg2, long jarg3); - - public static final native int tiledb_kv_create_with_key( - long jarg1, String jarg2, long jarg3, int jarg4, long jarg5, long jarg6); - - public static final native int tiledb_kv_consolidate(long jarg1, String jarg2, long jarg3); - - public static final native int tiledb_kv_consolidate_with_key( - long jarg1, String jarg2, int jarg3, long jarg4, long jarg5, long jarg6); - - public static final native int tiledb_kv_alloc(long jarg1, String jarg2, long jarg3); - - public static final native int tiledb_kv_open(long jarg1, long jarg2, int jarg3); + public static final native int tiledb_array_get_metadata_num(long jarg1, long jarg2, long jarg3); - public static final native int tiledb_kv_open_at( - long jarg1, long jarg2, int jarg3, java.math.BigInteger jarg4); - - public static final native int tiledb_kv_open_with_key( - long jarg1, long jarg2, int jarg3, int jarg4, long jarg5, long jarg6); - - public static final native int tiledb_kv_open_at_with_key( + public static final native int tiledb_array_get_metadata_from_index( long jarg1, long jarg2, - int jarg3, - int jarg4, + java.math.BigInteger jarg3, + long jarg4, long jarg5, long jarg6, - java.math.BigInteger jarg7); - - public static final native int tiledb_kv_is_open(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_reopen(long jarg1, long jarg2); - - public static final native int tiledb_kv_reopen_at( - long jarg1, long jarg2, java.math.BigInteger jarg3); - - public static final native int tiledb_kv_get_timestamp(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_close(long jarg1, long jarg2); - - public static final native void tiledb_kv_free(long jarg1); - - public static final native int tiledb_kv_get_schema(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_is_dirty(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_add_item(long jarg1, long jarg2, long jarg3); - - public static final native int tiledb_kv_flush(long jarg1, long jarg2); + long jarg7, + long jarg8); - public static final native int tiledb_kv_get_item( - long jarg1, long jarg2, long jarg3, int jarg4, java.math.BigInteger jarg5, long jarg6); + public static final native int tiledb_array_consolidate_metadata( + long jarg1, String jarg2, long jarg3); - public static final native int tiledb_kv_has_key( - long jarg1, long jarg2, long jarg3, int jarg4, java.math.BigInteger jarg5, long jarg6); - - public static final native int tiledb_kv_encryption_type(long jarg1, String jarg2, long jarg3); - - public static final native int tiledb_kv_iter_alloc(long jarg1, long jarg2, long jarg3); + public static final native int tiledb_array_consolidate_metadata_with_key( + long jarg1, String jarg2, int jarg3, long jarg4, long jarg5, long jarg6); - public static final native void tiledb_kv_iter_free(long jarg1); + public static final native int tiledb_object_type(long jarg1, String jarg2, long jarg3); - public static final native int tiledb_kv_iter_here(long jarg1, long jarg2, long jarg3); + public static final native int tiledb_object_remove(long jarg1, String jarg2); - public static final native int tiledb_kv_iter_next(long jarg1, long jarg2); + public static final native int tiledb_object_move(long jarg1, String jarg2, String jarg3); - public static final native int tiledb_kv_iter_done(long jarg1, long jarg2, long jarg3); + public static final native int tiledb_object_walk( + long jarg1, String jarg2, int jarg3, long jarg4, long jarg5); - public static final native int tiledb_kv_iter_reset(long jarg1, long jarg2); + public static final native int tiledb_object_ls(long jarg1, String jarg2, long jarg3, long jarg4); public static final native int tiledb_vfs_alloc(long jarg1, long jarg2, long jarg3); @@ -1257,8 +1135,6 @@ public static final native int tiledb_uri_to_path( public static final native int tiledb_dimension_dump_stdout(long jarg1, long jarg2); - public static final native int tiledb_kv_schema_dump_stdout(long jarg1, long jarg2); - public static final native int tiledb_attribute_dump_stdout(long jarg1, long jarg2); public static final native int tiledb_domain_dump_stdout(long jarg1, long jarg2); @@ -1269,8 +1145,6 @@ public static final native int tiledb_uri_to_path( public static final native int tiledb_dimension_dump_file(long jarg1, long jarg2, String jarg3); - public static final native int tiledb_kv_schema_dump_file(long jarg1, long jarg2, String jarg3); - public static final native int tiledb_attribute_dump_file(long jarg1, long jarg2, String jarg3); public static final native int tiledb_domain_dump_file(long jarg1, long jarg2, String jarg3); @@ -1291,7 +1165,7 @@ public static final native int tiledb_array_schema_dump_file( public static final native long native_walk_callback(); public static final native int tiledb_query_submit_async_jc( - long jarg1, long jarg2, long jarg3, Object jarg4); + long jarg1, long jarg2, long jarg3, java.lang.Object jarg4); public static final native int tiledb_object_walk_jc( long jarg1, String jarg2, int jarg3, long jarg4, long jarg5); diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_array_type_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_array_type_t.java index dace8a6e..0bda06d9 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_array_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_array_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_datatype_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_datatype_t.java index 53a91ce8..8a80c766 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_datatype_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_datatype_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_encryption_type_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_encryption_type_t.java index 9a55e6ed..c6f38934 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_encryption_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_encryption_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_filesystem_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_filesystem_t.java index 22305603..c9afb4ea 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_filesystem_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_filesystem_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_filter_option_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_filter_option_t.java index 348717c0..5283ccd0 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_filter_option_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_filter_option_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_filter_type_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_filter_type_t.java index 7e75ff52..4ecaa8ee 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_filter_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_filter_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_layout_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_layout_t.java index 5af0e1ef..f7799d79 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_layout_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_layout_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_object_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_object_t.java index b5dba072..e2bc8aaf 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_object_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_object_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -11,8 +11,7 @@ public enum tiledb_object_t { TILEDB_INVALID(0), TILEDB_GROUP(1), - TILEDB_ARRAY(2), - TILEDB_KEY_VALUE(3); + TILEDB_ARRAY(2); public final int swigValue() { return swigValue; diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_query_status_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_query_status_t.java index 3353339a..73809ea6 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_query_status_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_query_status_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_query_type_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_query_type_t.java index c5c9bf9b..b540125f 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_query_type_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_query_type_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_vfs_mode_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_vfs_mode_t.java index 91df47ae..5737d143 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_vfs_mode_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_vfs_mode_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/tiledb_walk_order_t.java b/src/main/java/io/tiledb/libtiledb/tiledb_walk_order_t.java index b1299698..d7fcfb2d 100644 --- a/src/main/java/io/tiledb/libtiledb/tiledb_walk_order_t.java +++ b/src/main/java/io/tiledb/libtiledb/tiledb_walk_order_t.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. diff --git a/src/main/java/io/tiledb/libtiledb/uint16_tArray.java b/src/main/java/io/tiledb/libtiledb/uint16_tArray.java index d0b94977..98045984 100644 --- a/src/main/java/io/tiledb/libtiledb/uint16_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/uint16_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(uint16_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/uint32_tArray.java b/src/main/java/io/tiledb/libtiledb/uint32_tArray.java index 53ed63a0..08d78373 100644 --- a/src/main/java/io/tiledb/libtiledb/uint32_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/uint32_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(uint32_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/uint64_tArray.java b/src/main/java/io/tiledb/libtiledb/uint64_tArray.java index 445b442a..ad5b3cec 100644 --- a/src/main/java/io/tiledb/libtiledb/uint64_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/uint64_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(uint64_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/src/main/java/io/tiledb/libtiledb/uint8_tArray.java b/src/main/java/io/tiledb/libtiledb/uint8_tArray.java index 3c6e0238..1207051c 100644 --- a/src/main/java/io/tiledb/libtiledb/uint8_tArray.java +++ b/src/main/java/io/tiledb/libtiledb/uint8_tArray.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.12 + * Version 4.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -21,6 +21,7 @@ protected static long getCPtr(uint8_tArray obj) { return (obj == null) ? 0 : obj.swigCPtr; } + @SuppressWarnings("deprecation") protected void finalize() { delete(); } diff --git a/swig/tiledb.i b/swig/tiledb.i index e5efe2ff..858767f2 100644 --- a/swig/tiledb.i +++ b/swig/tiledb.i @@ -90,10 +90,6 @@ import io.tiledb.libtiledb.NativeLibLoader; %pointer_functions(tiledb_query_t*, tiledb_query_tpp); %pointer_functions(tiledb_filter_t*, tiledb_filter_tpp); %pointer_functions(tiledb_filter_list_t*, tiledb_filter_list_tpp); -%pointer_functions(tiledb_kv_t*, tiledb_kv_tpp); -%pointer_functions(tiledb_kv_schema_t*, tiledb_kv_schema_tpp); -%pointer_functions(tiledb_kv_item_t*, tiledb_kv_item_tpp); -%pointer_functions(tiledb_kv_iter_t*, tiledb_kv_iter_tpp); %pointer_functions(tiledb_vfs_t*, tiledb_vfs_tpp); %pointer_functions(tiledb_vfs_fh_t*, tiledb_vfs_fh_tpp); diff --git a/swig/tiledb_java_extensions.h b/swig/tiledb_java_extensions.h index f02c2430..13fa9d6a 100644 --- a/swig/tiledb_java_extensions.h +++ b/swig/tiledb_java_extensions.h @@ -54,13 +54,6 @@ extern "C" { return ret; }; - TILEDB_EXPORT int tiledb_kv_schema_dump_stdout( - tiledb_ctx_t* ctx, const tiledb_kv_schema_t* kv_schema){ - int ret = tiledb_kv_schema_dump(ctx, kv_schema, stdout); - fflush(stdout); - return ret; - }; - TILEDB_EXPORT int tiledb_attribute_dump_stdout( tiledb_ctx_t* ctx, const tiledb_attribute_t* attr){ int ret = tiledb_attribute_dump(ctx, attr, stdout); @@ -100,18 +93,6 @@ extern "C" { return ret; }; - TILEDB_EXPORT int tiledb_kv_schema_dump_file( - tiledb_ctx_t* ctx, const tiledb_kv_schema_t* kv_schema, const char* filename){ - FILE *out = (fopen(filename, "w")); - if(out == NULL) - return TILEDB_ERR; - - int ret = tiledb_kv_schema_dump(ctx, kv_schema, out); - fclose(out); - - return ret; - }; - TILEDB_EXPORT int tiledb_attribute_dump_file( tiledb_ctx_t* ctx, const tiledb_attribute_t* attr, const char* filename){ FILE *out = (fopen(filename, "w")); @@ -177,9 +158,6 @@ extern "C" { case TILEDB_ARRAY: printf("ARRAY"); break; - case TILEDB_KEY_VALUE: - printf("KEY_VALUE"); - break; case TILEDB_GROUP: printf("GROUP"); break;