├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ ├── github_actions.yml │ └── nightly.yml ├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── README.md ├── build.gradle ├── ci ├── Dockerfile2010 ├── assemble_full_jar.sh ├── build.sh └── upload_to_maven.sh ├── cmake ├── Modules │ └── FindTileDB_EP.cmake └── TileDB-JNI-Superbuild.cmake ├── generate_tiledb_jni ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle ├── src ├── main │ ├── c │ │ ├── README.md │ │ ├── custom │ │ │ └── tiledb_custom.cxx │ │ └── generated │ │ │ └── tiledb_wrap.cxx │ └── java │ │ ├── examples │ │ └── io │ │ │ └── tiledb │ │ │ └── java │ │ │ └── api │ │ │ ├── ArrayDenseCreate.java │ │ │ ├── ArraySchemaExample.java │ │ │ ├── ArraySparseCreate.java │ │ │ ├── ConfigExample.java │ │ │ ├── ConsolidateExample.java │ │ │ ├── DenseReadGlobal.java │ │ │ ├── DenseReadOrderedSubarray.java │ │ │ ├── DenseReadSubsetIncomplete.java │ │ │ ├── DenseWriteGlobal1.java │ │ │ ├── DenseWriteGlobal2.java │ │ │ ├── DenseWriteOrderedSubarray.java │ │ │ ├── DenseWriteSubarray.java │ │ │ ├── FileStoreExample.java │ │ │ ├── GroupCreate.java │ │ │ ├── ObjectLsWalk.java │ │ │ ├── SparseReadGlobal.java │ │ │ ├── SparseWriteGlobal1.java │ │ │ ├── SparseWriteUnordered1.java │ │ │ ├── SparseWriteUnordered1Again.java │ │ │ ├── SparseWriteUnordered2.java │ │ │ ├── TileDBObjectMove.java │ │ │ ├── TileDBObjectRemove.java │ │ │ ├── TileDBVersion.java │ │ │ └── test.txt │ │ └── io │ │ └── tiledb │ │ ├── java │ │ └── api │ │ │ ├── Array.java │ │ │ ├── ArraySchema.java │ │ │ ├── ArraySchemaEvolution.java │ │ │ ├── ArrayType.java │ │ │ ├── Attribute.java │ │ │ ├── BitShuffleFilter.java │ │ │ ├── BitWidthReductionFilter.java │ │ │ ├── ByteShuffleFilter.java │ │ │ ├── Bzip2Filter.java │ │ │ ├── ChannelOperation.java │ │ │ ├── ChannelOperator.java │ │ │ ├── CheckSumMD5Filter.java │ │ │ ├── CheckSumSHA256Filter.java │ │ │ ├── CompressionFilter.java │ │ │ ├── Config.java │ │ │ ├── ConsolidationPlan.java │ │ │ ├── Constants.java │ │ │ ├── Context.java │ │ │ ├── ContextCallback.java │ │ │ ├── CurrentDomain.java │ │ │ ├── CurrentDomainType.java │ │ │ ├── Datatype.java │ │ │ ├── DeltaFilter.java │ │ │ ├── DictionaryFilter.java │ │ │ ├── Dimension.java │ │ │ ├── DimensionLabel.java │ │ │ ├── Domain.java │ │ │ ├── DoubleDeltaFilter.java │ │ │ ├── EncryptionType.java │ │ │ ├── Enumeration.java │ │ │ ├── FileStore.java │ │ │ ├── Filesystem.java │ │ │ ├── Filter.java │ │ │ ├── FilterList.java │ │ │ ├── FloatScalingFilter.java │ │ │ ├── FragmentInfo.java │ │ │ ├── Group.java │ │ │ ├── GzipFilter.java │ │ │ ├── JavaArray.java │ │ │ ├── LZ4Filter.java │ │ │ ├── Layout.java │ │ │ ├── MimeType.java │ │ │ ├── NDRectangle.java │ │ │ ├── NativeArray.java │ │ │ ├── NoneFilter.java │ │ │ ├── Pair.java │ │ │ ├── PositiveDeltaFilter.java │ │ │ ├── Query.java │ │ │ ├── QueryChannel.java │ │ │ ├── QueryCondition.java │ │ │ ├── QueryStatus.java │ │ │ ├── QueryType.java │ │ │ ├── README.md │ │ │ ├── Range.java │ │ │ ├── RleFilter.java │ │ │ ├── Stats.java │ │ │ ├── SubArray.java │ │ │ ├── TileDBError.java │ │ │ ├── TileDBObject.java │ │ │ ├── TileDBObjectIterator.java │ │ │ ├── TileDBObjectType.java │ │ │ ├── TileDBString.java │ │ │ ├── Types.java │ │ │ ├── Util.java │ │ │ ├── VFS.java │ │ │ ├── VFSMode.java │ │ │ ├── VFSWriter.java │ │ │ ├── Version.java │ │ │ ├── WalkOrder.java │ │ │ ├── WebPFilter.java │ │ │ ├── XORFilter.java │ │ │ └── ZstdFilter.java │ │ └── libtiledb │ │ ├── Callback.java │ │ ├── NativeLibLoader.java │ │ ├── PathCallback.java │ │ ├── PointerUtils.java │ │ ├── SWIGTYPE_p_FILE.java │ │ ├── SWIGTYPE_p_double.java │ │ ├── SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.java │ │ ├── SWIGTYPE_p_f_p_q_const__char_p_void__int.java │ │ ├── SWIGTYPE_p_f_p_q_const__char_unsigned_long_unsigned_long_long_p_void__int.java │ │ ├── SWIGTYPE_p_f_p_void__void.java │ │ ├── SWIGTYPE_p_float.java │ │ ├── SWIGTYPE_p_int.java │ │ ├── SWIGTYPE_p_long_long.java │ │ ├── SWIGTYPE_p_p_capi_return_t.java │ │ ├── SWIGTYPE_p_p_char.java │ │ ├── SWIGTYPE_p_p_int.java │ │ ├── SWIGTYPE_p_p_p_void.java │ │ ├── SWIGTYPE_p_p_tiledb_array_schema_evolution_t.java │ │ ├── SWIGTYPE_p_p_tiledb_array_schema_t.java │ │ ├── SWIGTYPE_p_p_tiledb_array_t.java │ │ ├── SWIGTYPE_p_p_tiledb_attribute_t.java │ │ ├── SWIGTYPE_p_p_tiledb_buffer_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_buffer_list_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_channel_operation_t.java │ │ ├── SWIGTYPE_p_p_tiledb_channel_operator_t.java │ │ ├── SWIGTYPE_p_p_tiledb_config_iter_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_config_t.java │ │ ├── SWIGTYPE_p_p_tiledb_consolidation_plan_t.java │ │ ├── SWIGTYPE_p_p_tiledb_ctx_t.java │ │ ├── SWIGTYPE_p_p_tiledb_current_domain_t.java │ │ ├── SWIGTYPE_p_p_tiledb_dimension_label_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_dimension_t.java │ │ ├── SWIGTYPE_p_p_tiledb_domain_t.java │ │ ├── SWIGTYPE_p_p_tiledb_enumeration_t.java │ │ ├── SWIGTYPE_p_p_tiledb_error_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_filter_list_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_filter_t.java │ │ ├── SWIGTYPE_p_p_tiledb_fragment_info_t.java │ │ ├── SWIGTYPE_p_p_tiledb_group_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_ndrectangle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_query_channel_t.java │ │ ├── SWIGTYPE_p_p_tiledb_query_condition_t.java │ │ ├── SWIGTYPE_p_p_tiledb_query_field_t.java │ │ ├── SWIGTYPE_p_p_tiledb_query_t.java │ │ ├── SWIGTYPE_p_p_tiledb_range_t.java │ │ ├── SWIGTYPE_p_p_tiledb_string_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_subarray_t.java │ │ ├── SWIGTYPE_p_p_tiledb_vfs_fh_handle_t.java │ │ ├── SWIGTYPE_p_p_tiledb_vfs_handle_t.java │ │ ├── SWIGTYPE_p_p_unsigned_char.java │ │ ├── SWIGTYPE_p_p_unsigned_long_long.java │ │ ├── SWIGTYPE_p_p_void.java │ │ ├── SWIGTYPE_p_short.java │ │ ├── SWIGTYPE_p_signed_char.java │ │ ├── SWIGTYPE_p_tiledb_array_schema_evolution_t.java │ │ ├── SWIGTYPE_p_tiledb_array_schema_t.java │ │ ├── SWIGTYPE_p_tiledb_array_t.java │ │ ├── SWIGTYPE_p_tiledb_array_type_t.java │ │ ├── SWIGTYPE_p_tiledb_attribute_t.java │ │ ├── SWIGTYPE_p_tiledb_buffer_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_buffer_list_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_channel_operation_t.java │ │ ├── SWIGTYPE_p_tiledb_channel_operator_t.java │ │ ├── SWIGTYPE_p_tiledb_config_iter_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_config_t.java │ │ ├── SWIGTYPE_p_tiledb_consolidation_plan_t.java │ │ ├── SWIGTYPE_p_tiledb_ctx_t.java │ │ ├── SWIGTYPE_p_tiledb_current_domain_t.java │ │ ├── SWIGTYPE_p_tiledb_current_domain_type_t.java │ │ ├── SWIGTYPE_p_tiledb_data_order_t.java │ │ ├── SWIGTYPE_p_tiledb_datatype_t.java │ │ ├── SWIGTYPE_p_tiledb_dimension_label_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_dimension_t.java │ │ ├── SWIGTYPE_p_tiledb_domain_t.java │ │ ├── SWIGTYPE_p_tiledb_encryption_type_t.java │ │ ├── SWIGTYPE_p_tiledb_enumeration_t.java │ │ ├── SWIGTYPE_p_tiledb_error_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_field_origin_t.java │ │ ├── SWIGTYPE_p_tiledb_filesystem_t.java │ │ ├── SWIGTYPE_p_tiledb_filter_list_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_filter_option_t.java │ │ ├── SWIGTYPE_p_tiledb_filter_t.java │ │ ├── SWIGTYPE_p_tiledb_filter_type_t.java │ │ ├── SWIGTYPE_p_tiledb_fragment_info_t.java │ │ ├── SWIGTYPE_p_tiledb_group_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_layout_t.java │ │ ├── SWIGTYPE_p_tiledb_mime_type_t.java │ │ ├── SWIGTYPE_p_tiledb_ndrectangle_t.java │ │ ├── SWIGTYPE_p_tiledb_object_t.java │ │ ├── SWIGTYPE_p_tiledb_query_channel_t.java │ │ ├── SWIGTYPE_p_tiledb_query_condition_t.java │ │ ├── SWIGTYPE_p_tiledb_query_field_t.java │ │ ├── SWIGTYPE_p_tiledb_query_status_t.java │ │ ├── SWIGTYPE_p_tiledb_query_t.java │ │ ├── SWIGTYPE_p_tiledb_query_type_t.java │ │ ├── SWIGTYPE_p_tiledb_string_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_subarray_t.java │ │ ├── SWIGTYPE_p_tiledb_vfs_fh_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_vfs_handle_t.java │ │ ├── SWIGTYPE_p_tiledb_vfs_mode_t.java │ │ ├── SWIGTYPE_p_tiledb_walk_order_t.java │ │ ├── SWIGTYPE_p_unsigned_char.java │ │ ├── SWIGTYPE_p_unsigned_int.java │ │ ├── SWIGTYPE_p_unsigned_long.java │ │ ├── SWIGTYPE_p_unsigned_long_long.java │ │ ├── SWIGTYPE_p_unsigned_short.java │ │ ├── SWIGTYPE_p_void.java │ │ ├── Utils.java │ │ ├── capi_return_t.java │ │ ├── charArray.java │ │ ├── doubleArray.java │ │ ├── floatArray.java │ │ ├── int16_tArray.java │ │ ├── int32_tArray.java │ │ ├── int64_tArray.java │ │ ├── int8_tArray.java │ │ ├── tiledb.java │ │ ├── tiledbConstants.java │ │ ├── tiledbJNI.java │ │ ├── tiledb_array_type_t.java │ │ ├── tiledb_current_domain_type_t.java │ │ ├── tiledb_data_order_t.java │ │ ├── tiledb_datatype_t.java │ │ ├── tiledb_encryption_type_t.java │ │ ├── tiledb_field_origin_t.java │ │ ├── tiledb_filesystem_t.java │ │ ├── tiledb_filter_option_t.java │ │ ├── tiledb_filter_type_t.java │ │ ├── tiledb_filter_webp_format_t.java │ │ ├── tiledb_layout_t.java │ │ ├── tiledb_mime_type_t.java │ │ ├── tiledb_object_t.java │ │ ├── tiledb_query_condition_combination_op_t.java │ │ ├── tiledb_query_condition_op_t.java │ │ ├── tiledb_query_status_details_reason_t.java │ │ ├── tiledb_query_status_details_t.java │ │ ├── tiledb_query_status_t.java │ │ ├── tiledb_query_type_t.java │ │ ├── tiledb_range_t.java │ │ ├── tiledb_vfs_mode_t.java │ │ ├── tiledb_walk_order_t.java │ │ ├── uint16_tArray.java │ │ ├── uint32_tArray.java │ │ ├── uint64_tArray.java │ │ └── uint8_tArray.java └── test │ ├── java │ └── io │ │ └── tiledb │ │ ├── java │ │ └── api │ │ │ ├── AggregatesTest.java │ │ │ ├── ArraySchemaEvolutionTest.java │ │ │ ├── ArraySchemaTest.java │ │ │ ├── ArrayTest.java │ │ │ ├── AttributeTest.java │ │ │ ├── ConfigTest.java │ │ │ ├── ContextTest.java │ │ │ ├── DatatypeTest.java │ │ │ ├── DimensionTest.java │ │ │ ├── FileStoreTest.java │ │ │ ├── FilterListTest.java │ │ │ ├── FilterTest.java │ │ │ ├── FragmentInfoTest.java │ │ │ ├── FragmentsTest.java │ │ │ ├── GroupTest.java │ │ │ ├── HeterogeneousSparseTest.java │ │ │ ├── JavaArrayTest.java │ │ │ ├── MultiAttributeTest.java │ │ │ ├── MultiRangeQueryTest.java │ │ │ ├── NativeArrayTest.java │ │ │ ├── ObjectTest.java │ │ │ ├── PerformanceTestDenseArray.java │ │ │ ├── QueryConditionTest.java │ │ │ ├── QueryTest.java │ │ │ ├── QuickstartDenseTest.java │ │ │ ├── QuickstartSparseTest.java │ │ │ ├── TestCurrentDomain.java │ │ │ ├── VFSTest.java │ │ │ ├── VersionTest.java │ │ │ ├── WriteBigSparseArray.java │ │ │ ├── WriteDenseGlobalTest.java │ │ │ └── WritingDensePadding.java │ │ └── jni │ │ └── ArrayTest.java │ └── resources │ └── data │ ├── 1.6 │ └── quickstart_sparse_array │ │ ├── __190b4c4c13fd4c94ab93bb1d380450ac_1563504665179 │ │ ├── __coords.tdb │ │ ├── __fragment_metadata.tdb │ │ └── a.tdb │ │ ├── __array_schema.tdb │ │ └── __lock.tdb │ └── text.txt └── swig ├── README.md ├── customCode ├── Callback.java ├── NativeLibLoader.java ├── PathCallback.java ├── PointerUtils.java └── Utils.java ├── tiledb.i └── tiledb_java_extensions.h /.gitattributes: -------------------------------------------------------------------------------- 1 | src/main/c/generated/* linguist-generated=true 2 | src/main/java/io/tiledb/libtiledb/* linguist-generated=true -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "github-actions" 4 | directory: "/" 5 | schedule: 6 | interval: "weekly" 7 | reviewers: 8 | - "DimitrisStaratzis" -------------------------------------------------------------------------------- /.github/workflows/nightly.yml: -------------------------------------------------------------------------------- 1 | name: nightly 2 | on: 3 | schedule: 4 | - cron: "0 2 * * *" # Every night at 2 AM UTC (9 PM EST; 10 PM EDT) 5 | workflow_dispatch: 6 | jobs: 7 | test_macos_ubuntu: 8 | runs-on: ${{ matrix.os }} 9 | name: nightly-${{ matrix.os }} 10 | strategy: 11 | fail-fast: false 12 | matrix: 13 | os: ["macos-latest", "ubuntu-latest"] 14 | steps: 15 | - uses: actions/checkout@v4 16 | - name: Force TileDB to build from Dev branch 17 | shell: bash 18 | run: | 19 | awk '/TILEDB_GIT_TAG/{sub("=.*","=dev")};{print}' gradle.properties > gradle.properties.new && mv gradle.properties.new gradle.properties 20 | awk '/DOWNLOAD_TILEDB_PREBUILT/{sub("=.*","=OFF")};{print}' gradle.properties > gradle.properties.new && mv gradle.properties.new gradle.properties 21 | - run: | 22 | ./gradlew assemble 23 | shell: bash 24 | name: Assemble 25 | - run: | 26 | ./gradlew test 27 | shell: bash 28 | name: Test 29 | 30 | Test_Windows: 31 | runs-on: windows-2022 32 | steps: 33 | - name: checkout 34 | uses: actions/checkout@v4 35 | 36 | - name: Force TileDB to build from Dev branch 37 | shell: pwsh 38 | run: | 39 | (Get-Content gradle.properties) | ForEach-Object { $_ -replace 'TILEDB_GIT_TAG=.*', 'TILEDB_GIT_TAG=dev' } | Set-Content gradle.properties 40 | (Get-Content gradle.properties) | ForEach-Object { $_ -replace 'DOWNLOAD_TILEDB_PREBUILT=.*', 'DOWNLOAD_TILEDB_PREBUILT=OFF' } | Set-Content gradle.properties 41 | - name: assemble 42 | uses: gradle/gradle-build-action@v3.5.0 43 | with: 44 | arguments: assemble 45 | 46 | - name: test 47 | uses: gradle/gradle-build-action@v3.5.0 48 | with: 49 | arguments: test -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | .gradle/* 3 | build/* 4 | */.gradle/* 5 | */build/* 6 | */performance_test/* 7 | .classpath 8 | .project 9 | .settings 10 | bin/ 11 | /.gradle/ 12 | /build/ 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 TileDB, Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | TileDB logo 2 | 3 | # TileDB-Java 4 | ![TileDB-Trino CI](https://github.com/TileDB-Inc/TileDB-Java/actions/workflows/github_actions.yml/badge.svg) 5 | 6 | `TileDB-Java` is a Java interface to the [TileDB Storage Engine](https://github.com/TileDB-Inc/TileDB). 7 | 8 | ## Quick Links 9 | 10 | - Installation: [https://docs.tiledb.com/developer/installation/building-from-source/java](https://docs.tiledb.com/developer/installation/building-from-source/java) 11 | - Full developer documentation for all APIs and integrations: [https://docs.tiledb.com/main/](https://docs.tiledb.com/main/) 12 | 13 | ## Development Notes 14 | 15 | For misc development details see [Development Notes](https://github.com/TileDB-Inc/TileDB-Java/wiki/Developer-Notes) wiki entry. 16 | 17 | ## Compatibility 18 | Refer to [this](https://github.com/TileDB-Inc/TileDB-Java/wiki/Compatiblity) table for information about the compatibility between different versions of TileDB-Java and TileDB-Embedded. 19 | 20 | -------------------------------------------------------------------------------- /ci/Dockerfile2010: -------------------------------------------------------------------------------- 1 | # Dockerfile for lowest common denominator Linux native artifact build 2 | # -------------------------------------------------------------------- 3 | # Cribbed from TileDB-Py/misc/pypi_linux/Dockerfile2010 4 | FROM quay.io/pypa/manylinux2010_x86_64 5 | 6 | RUN yum install -y java-1.8.0-openjdk-devel 7 | RUN yum remove -y cmake 8 | 9 | ENV PATH /opt/python/cp38-cp38/bin:${PATH} 10 | RUN pip install cmake==3.17.3 11 | -------------------------------------------------------------------------------- /ci/assemble_full_jar.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | mv Upload-*/* . 4 | 5 | mkdir -p ./build/install/lib 6 | mkdir -p ./build/install/arm/lib 7 | mkdir ./build/install/lib64 8 | mkdir ./build/tiledb_jni/ 9 | mkdir ./build/tiledb_jni/arm 10 | mkdir ./build/tiledb_jni/Release 11 | mkdir ./build/install/bin 12 | 13 | 14 | for arch in $(ls | grep .gz.tar) 15 | do 16 | tar -xvf $arch 17 | done 18 | 19 | mv binaries_*/* . 20 | 21 | # OSX 22 | mv libtiledb.dylib ./build/install/lib 23 | mv libtiledbjni.dylib ./build/tiledb_jni 24 | mv arm/libtiledb.dylib ./build/install/arm/lib 25 | mv arm/libtiledbjni.dylib ./build/tiledb_jni/arm 26 | 27 | # Linux 28 | cp libtiledb.so ./build/install/lib 29 | mv libtiledb.so ./build/install/lib64 30 | mv libtiledbjni.so ./build/tiledb_jni 31 | 32 | # Windows 33 | mv tbb.dll ./build/install/bin 34 | mv tiledb.dll ./build/install/bin 35 | mv tiledbjni.dll ./build/tiledb_jni/Release 36 | 37 | ./gradlew assemble 38 | 39 | mkdir jars 40 | cp ./build/libs/*.jar jars -------------------------------------------------------------------------------- /ci/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -ex 4 | 5 | cd /TileDB-Java 6 | ./gradlew -PTILEDB_AZURE=ON build 7 | -------------------------------------------------------------------------------- /ci/upload_to_maven.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | export GPG_KEY_LOCATION=$(pwd)/encrypted.key 4 | echo "Starting upload to maven" 5 | echo "${GPG_SECRET_KEYS_ENC}" | base64 --decode > $GPG_KEY_LOCATION 6 | ./gradlew properties -q | grep "version:" | awk '{print $2}' 7 | export PROJECT_VERSION=$(./gradlew properties -q | grep "version:" | awk '{print $2}') 8 | # Upload only snapshots to sonatype oss so it can make its way to maven central 9 | ./gradlew publishMavenJavaPublicationToMavenRepository 10 | 11 | # Only non-snapshot can be pushed as maven releases 12 | if [[ ! $(echo "${PROJECT_VERSION}" | grep "SNAPSHOT") ]]; then 13 | ./gradlew closeAndReleaseRepository 14 | fi -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | TILEDB_GIT_REPOSITORY=https://github.com/TileDB-Inc/TileDB 2 | TILEDB_GIT_TAG=2.28.0 3 | TILEDB_VERBOSE=ON 4 | TILEDB_S3=ON 5 | TILEDB_AZURE=OFF 6 | TILEDB_HDFS=OFF 7 | TILEDB_SERIALIZATION=OFF 8 | FORCE_BUILD_TILEDB=OFF 9 | DOWNLOAD_TILEDB_PREBUILT=ON 10 | TILEDB_SKIP_S3AWSSDK_DIR_LENGTH_CHECK=ON 11 | USE_AVX2=OFF 12 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TileDB-Inc/TileDB-Java/041e67794bea5efe9a11397a64815d335265a874/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | mavenCentral() 4 | gradlePluginPortal() 5 | } 6 | 7 | resolutionStrategy { 8 | eachPlugin { 9 | 10 | if(requested.id.namespace == 'com.google' && requested.id.name == 'osdetector') { 11 | useModule 'com.google.gradle:osdetector-gradle-plugin:1.7.0' 12 | } 13 | } 14 | } 15 | } 16 | rootProject.name = 'tiledb-java' -------------------------------------------------------------------------------- /src/main/c/README.md: -------------------------------------------------------------------------------- 1 | # JNI Generated Code 2 | 3 | This directory contains the C++ code that is used by the JNI native methods, under the `io.tiledb.java.libtiledb.tiledb` class. 4 | The code is separated into two directoriesn, namely custom and generated. 5 | 6 | ## ./generated 7 | The `tiledb_wrap.cxx` file under this directory contains the auto-generated JNI C++ code, using SWIG. 8 | 9 | ## ./custom 10 | The `tiledb_custom.cxx` file under this directory contains custom methods defined by the developer that are not 11 | auto-generated. Any custom method that needs to be added should be put in this file. Also, the signature of the 12 | new custom method should be also put in the `tiledb.i` file under the `TileDB-Java/swig` dir. For implementation details, 13 | all `*_nio` methods (e.g. `tiledb_query_set_offsets_buffer_nio`) are good examples. 14 | -------------------------------------------------------------------------------- /src/main/java/examples/io/tiledb/java/api/ConsolidateExample.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The MIT License (MIT) 3 | * 4 | * Copyright (c) 2020 TileDB, Inc. 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | * SOFTWARE. 23 | */ 24 | 25 | package examples.io.tiledb.java.api; 26 | 27 | import io.tiledb.java.api.Array; 28 | import io.tiledb.java.api.Context; 29 | 30 | public class ConsolidateExample { 31 | public static void main(String[] args) throws Exception { 32 | // Create TileDB context 33 | Context ctx = new Context(); 34 | String arrayURI = "my_dense_array"; 35 | 36 | // Consolidate array 37 | Array.consolidate(ctx, arrayURI); 38 | 39 | // Vacuum array 40 | Array.vacuum(ctx, arrayURI); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/examples/io/tiledb/java/api/TileDBVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The MIT License (MIT) 3 | * 4 | * Copyright (c) 2020 TileDB, Inc. 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | * SOFTWARE. 23 | */ 24 | 25 | package examples.io.tiledb.java.api; 26 | 27 | import io.tiledb.java.api.Version; 28 | 29 | public class TileDBVersion { 30 | public static void main(String[] args) throws Exception { 31 | Version version = new Version(); 32 | System.out.println(version); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/examples/io/tiledb/java/api/test.txt: -------------------------------------------------------------------------------- 1 | test file 2 | line 1 3 | line 3 -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/ArrayType.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_array_type_t; 4 | 5 | public enum ArrayType { 6 | TILEDB_DENSE, 7 | TILEDB_SPARSE; 8 | 9 | protected tiledb_array_type_t toSwigEnum() throws TileDBError { 10 | switch (this) { 11 | case TILEDB_DENSE: 12 | return tiledb_array_type_t.TILEDB_DENSE; 13 | case TILEDB_SPARSE: 14 | return tiledb_array_type_t.TILEDB_SPARSE; 15 | default: 16 | throw new TileDBError("No such enum value" + this.name()); 17 | } 18 | } 19 | 20 | protected static ArrayType fromSwigEnum(tiledb_array_type_t e) throws TileDBError { 21 | switch (e) { 22 | case TILEDB_DENSE: 23 | return TILEDB_DENSE; 24 | case TILEDB_SPARSE: 25 | return TILEDB_SPARSE; 26 | default: 27 | throw new TileDBError("No such enum value" + e.name()); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/BitShuffleFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class BitShuffleFilter extends Filter { 7 | 8 | public BitShuffleFilter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_BITSHUFFLE); 10 | } 11 | 12 | protected BitShuffleFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 13 | super(ctx, filterpp); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/BitWidthReductionFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb; 5 | import io.tiledb.libtiledb.tiledb_filter_option_t; 6 | import io.tiledb.libtiledb.tiledb_filter_type_t; 7 | 8 | public class BitWidthReductionFilter extends Filter { 9 | 10 | public BitWidthReductionFilter(Context ctx) throws TileDBError { 11 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_BIT_WIDTH_REDUCTION); 12 | } 13 | 14 | public BitWidthReductionFilter(Context ctx, int window) throws TileDBError { 15 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_BIT_WIDTH_REDUCTION); 16 | NativeArray windowArray = 17 | new NativeArray( 18 | ctx, 19 | new int[] { 20 | window, 21 | }, 22 | Integer.class); 23 | 24 | ctx.handleError( 25 | tiledb.tiledb_filter_set_option( 26 | ctx.getCtxp(), 27 | getFilterp(), 28 | tiledb_filter_option_t.TILEDB_BIT_WIDTH_MAX_WINDOW, 29 | windowArray.toVoidPointer())); 30 | 31 | windowArray.close(); 32 | } 33 | 34 | protected BitWidthReductionFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 35 | super(ctx, filterpp); 36 | } 37 | 38 | public int getWindow() throws TileDBError { 39 | Context ctx = getCtx(); 40 | int window; 41 | NativeArray windowArray = new NativeArray(ctx, 1, Integer.class); 42 | ctx.handleError( 43 | tiledb.tiledb_filter_get_option( 44 | ctx.getCtxp(), 45 | getFilterp(), 46 | tiledb_filter_option_t.TILEDB_BIT_WIDTH_MAX_WINDOW, 47 | windowArray.toVoidPointer())); 48 | window = (int) windowArray.getItem(0); 49 | windowArray.close(); 50 | return window; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/ByteShuffleFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class ByteShuffleFilter extends Filter { 7 | 8 | public ByteShuffleFilter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_BYTESHUFFLE); 10 | } 11 | 12 | protected ByteShuffleFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 13 | super(ctx, filterpp); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/Bzip2Filter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class Bzip2Filter extends CompressionFilter { 7 | 8 | public Bzip2Filter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_BZIP2); 10 | } 11 | 12 | public Bzip2Filter(Context ctx, int level) throws TileDBError { 13 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_BZIP2, level); 14 | } 15 | 16 | protected Bzip2Filter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 17 | super(ctx, filterpp); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/ChannelOperation.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_channel_operation_t; 4 | import io.tiledb.libtiledb.SWIGTYPE_p_tiledb_channel_operation_t; 5 | import io.tiledb.libtiledb.tiledb; 6 | 7 | public class ChannelOperation implements AutoCloseable { 8 | private Context ctx; 9 | private SWIGTYPE_p_tiledb_channel_operation_t operationp; 10 | private SWIGTYPE_p_p_tiledb_channel_operation_t operationpp; 11 | 12 | /** 13 | * Constructor 14 | * 15 | * @param ctx the context 16 | * @param operator The channel operator 17 | * @param query The query 18 | * @param fieldName The field name to apply the operation to 19 | * @throws TileDBError 20 | */ 21 | public ChannelOperation(Context ctx, ChannelOperator operator, Query query, String fieldName) 22 | throws TileDBError { 23 | this.ctx = ctx; 24 | this.operationpp = tiledb.new_tiledb_channel_operation_tpp(); 25 | 26 | try { 27 | if (operator.isCount()) { 28 | ctx.handleError(tiledb.tiledb_aggregate_count_get(ctx.getCtxp(), this.operationpp)); 29 | } else { 30 | ctx.handleError( 31 | tiledb.tiledb_create_unary_aggregate( 32 | ctx.getCtxp(), 33 | query.getQueryp(), 34 | operator.getOperatorp(), 35 | fieldName, 36 | this.operationpp)); 37 | } 38 | } catch (TileDBError error) { 39 | tiledb.delete_tiledb_channel_operation_tpp(operationpp); 40 | throw error; 41 | } 42 | 43 | this.operationp = tiledb.tiledb_channel_operation_tpp_value(operationpp); 44 | } 45 | 46 | public SWIGTYPE_p_tiledb_channel_operation_t getOperationp() { 47 | return operationp; 48 | } 49 | 50 | @Override 51 | public void close() throws Exception { 52 | if (operationp != null) { 53 | tiledb.delete_tiledb_channel_operation_tpp(operationpp); 54 | operationpp = null; 55 | operationp = null; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/CheckSumMD5Filter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class CheckSumMD5Filter extends Filter { 7 | public CheckSumMD5Filter(Context ctx) throws TileDBError { 8 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_CHECKSUM_MD5); 9 | } 10 | 11 | protected CheckSumMD5Filter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 12 | super(ctx, filterpp); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/CheckSumSHA256Filter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class CheckSumSHA256Filter extends Filter { 7 | public CheckSumSHA256Filter(Context ctx) throws TileDBError { 8 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_CHECKSUM_SHA256); 9 | } 10 | 11 | protected CheckSumSHA256Filter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 12 | super(ctx, filterpp); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/CompressionFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb; 5 | import io.tiledb.libtiledb.tiledb_filter_option_t; 6 | import io.tiledb.libtiledb.tiledb_filter_type_t; 7 | 8 | public class CompressionFilter extends Filter { 9 | 10 | protected CompressionFilter(Context ctx, tiledb_filter_type_t filter_type, int level) 11 | throws TileDBError { 12 | super(ctx, filter_type); 13 | NativeArray levelArray = 14 | new NativeArray( 15 | ctx, 16 | new int[] { 17 | level, 18 | }, 19 | Integer.class); 20 | 21 | ctx.handleError( 22 | tiledb.tiledb_filter_set_option( 23 | ctx.getCtxp(), 24 | getFilterp(), 25 | tiledb_filter_option_t.TILEDB_COMPRESSION_LEVEL, 26 | levelArray.toVoidPointer())); 27 | 28 | levelArray.close(); 29 | } 30 | 31 | protected CompressionFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 32 | super(ctx, filterpp); 33 | } 34 | 35 | protected CompressionFilter(Context ctx, tiledb_filter_type_t filter_type) throws TileDBError { 36 | this(ctx, filter_type, -1); 37 | } 38 | 39 | public int getLevel() throws TileDBError { 40 | Context ctx = getCtx(); 41 | int level; 42 | NativeArray levelArray = new NativeArray(ctx, 1, Integer.class); 43 | 44 | ctx.handleError( 45 | tiledb.tiledb_filter_get_option( 46 | ctx.getCtxp(), 47 | getFilterp(), 48 | tiledb_filter_option_t.TILEDB_COMPRESSION_LEVEL, 49 | levelArray.toVoidPointer())); 50 | level = (int) levelArray.getItem(0); 51 | levelArray.close(); 52 | 53 | return level; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/Constants.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (http://www.swig.org). 3 | * Version 3.0.12 4 | * 5 | * Do not make changes to this file unless you know what you are doing--modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.java.api; 10 | 11 | import io.tiledb.libtiledb.tiledb; 12 | 13 | public class Constants { 14 | public static final int TILEDB_OOM = tiledb.TILEDB_OOM; 15 | public static final int TILEDB_ERR = tiledb.TILEDB_ERR; 16 | public static final int TILEDB_OK = tiledb.TILEDB_OK; 17 | public static final int TILEDB_VERSION_MAJOR = tiledb.TILEDB_VERSION_MAJOR; 18 | public static final int TILEDB_VERSION_MINOR = tiledb.TILEDB_VERSION_MINOR; 19 | public static final int TILEDB_VERSION_PATCH = tiledb.TILEDB_VERSION_PATCH; 20 | public static final long TILEDB_VAR_NUM = tiledb.tiledb_var_num(); 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/CurrentDomainType.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_current_domain_type_t; 4 | 5 | public enum CurrentDomainType { 6 | TILEDB_NDRECTANGLE; 7 | 8 | protected tiledb_current_domain_type_t toSwigEnum() throws TileDBError { 9 | switch (this) { 10 | case TILEDB_NDRECTANGLE: 11 | return tiledb_current_domain_type_t.TILEDB_NDRECTANGLE; 12 | default: 13 | throw new TileDBError("No such enum value" + this.name()); 14 | } 15 | } 16 | 17 | protected static CurrentDomainType fromSwigEnum(tiledb_current_domain_type_t e) 18 | throws TileDBError { 19 | switch (e) { 20 | case TILEDB_NDRECTANGLE: 21 | return TILEDB_NDRECTANGLE; 22 | default: 23 | throw new TileDBError("No such enum value" + e.name()); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/DeltaFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb; 5 | import io.tiledb.libtiledb.tiledb_datatype_t; 6 | import io.tiledb.libtiledb.tiledb_filter_option_t; 7 | import io.tiledb.libtiledb.tiledb_filter_type_t; 8 | 9 | public class DeltaFilter extends CompressionFilter { 10 | 11 | public DeltaFilter(Context ctx, int level, tiledb_datatype_t type) throws TileDBError { 12 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_DELTA, level); 13 | 14 | NativeArray reint = new NativeArray(ctx, new int[] {type.swigValue()}, Integer.class); 15 | 16 | ctx.handleError( 17 | tiledb.tiledb_filter_set_option( 18 | ctx.getCtxp(), 19 | getFilterp(), 20 | tiledb_filter_option_t.TILEDB_COMPRESSION_REINTERPRET_DATATYPE, 21 | reint.toVoidPointer())); 22 | 23 | reint.close(); 24 | } 25 | 26 | public tiledb_datatype_t getCompressionReinterpretDatatype() throws TileDBError { 27 | Context ctx = getCtx(); 28 | int datatype; 29 | NativeArray datatypetArray = new NativeArray(ctx, 1, Integer.class); 30 | ctx.handleError( 31 | tiledb.tiledb_filter_get_option( 32 | ctx.getCtxp(), 33 | getFilterp(), 34 | tiledb_filter_option_t.TILEDB_COMPRESSION_REINTERPRET_DATATYPE, 35 | datatypetArray.toVoidPointer())); 36 | datatype = (int) datatypetArray.getItem(0); 37 | 38 | datatypetArray.close(); 39 | 40 | return tiledb_datatype_t.swigToEnum(datatype); 41 | } 42 | 43 | protected DeltaFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 44 | super(ctx, filterpp); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/DictionaryFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class DictionaryFilter extends CompressionFilter { 7 | public DictionaryFilter(Context ctx) throws TileDBError { 8 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_DICTIONARY); 9 | } 10 | 11 | public DictionaryFilter(Context ctx, int level) throws TileDBError { 12 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_DICTIONARY, level); 13 | } 14 | 15 | protected DictionaryFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 16 | super(ctx, filterpp); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/DoubleDeltaFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class DoubleDeltaFilter extends CompressionFilter { 7 | 8 | public DoubleDeltaFilter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_DOUBLE_DELTA); 10 | } 11 | 12 | public DoubleDeltaFilter(Context ctx, int level) throws TileDBError { 13 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_DOUBLE_DELTA, level); 14 | } 15 | 16 | protected DoubleDeltaFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 17 | super(ctx, filterpp); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/EncryptionType.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_encryption_type_t; 4 | 5 | public enum EncryptionType { 6 | TILEDB_NO_ENCRYPTION, 7 | TILEDB_AES_256_GCM; 8 | 9 | protected tiledb_encryption_type_t toSwigEnum() throws TileDBError { 10 | switch (this) { 11 | case TILEDB_NO_ENCRYPTION: 12 | return tiledb_encryption_type_t.TILEDB_NO_ENCRYPTION; 13 | case TILEDB_AES_256_GCM: 14 | return tiledb_encryption_type_t.TILEDB_AES_256_GCM; 15 | default: 16 | throw new TileDBError("No such enum value " + this.name()); 17 | } 18 | } 19 | 20 | protected static EncryptionType fromSwigEnum(tiledb_encryption_type_t e) throws TileDBError { 21 | switch (e) { 22 | case TILEDB_NO_ENCRYPTION: 23 | return TILEDB_NO_ENCRYPTION; 24 | case TILEDB_AES_256_GCM: 25 | return TILEDB_AES_256_GCM; 26 | default: 27 | throw new TileDBError("No such enum value " + e.name()); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/Filesystem.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_filesystem_t; 4 | 5 | public enum Filesystem { 6 | TILEDB_HDFS, 7 | TILEDB_S3; 8 | 9 | protected tiledb_filesystem_t toSwigEnum() throws TileDBError { 10 | switch (this) { 11 | case TILEDB_HDFS: 12 | return tiledb_filesystem_t.TILEDB_HDFS; 13 | case TILEDB_S3: 14 | return tiledb_filesystem_t.TILEDB_S3; 15 | default: 16 | throw new TileDBError("No such enum value" + this.name()); 17 | } 18 | } 19 | 20 | protected static Filesystem fromSwigEnum(tiledb_filesystem_t e) throws TileDBError { 21 | switch (e) { 22 | case TILEDB_HDFS: 23 | return TILEDB_HDFS; 24 | case TILEDB_S3: 25 | return TILEDB_S3; 26 | default: 27 | throw new TileDBError("No such enum value" + e.name()); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/Filter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.*; 4 | 5 | public class Filter implements AutoCloseable { 6 | 7 | private Context ctx; 8 | private SWIGTYPE_p_tiledb_filter_t filterp; 9 | private SWIGTYPE_p_p_tiledb_filter_t filterpp; 10 | 11 | protected Filter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 12 | this.ctx = ctx; 13 | this.filterp = tiledb.tiledb_filter_tpp_value(filterpp); 14 | this.filterpp = filterpp; 15 | } 16 | 17 | protected Filter(Context ctx, tiledb_filter_type_t filter_type) throws TileDBError { 18 | SWIGTYPE_p_p_tiledb_filter_t filterpp = tiledb.new_tiledb_filter_tpp(); 19 | try { 20 | ctx.handleError(tiledb.tiledb_filter_alloc(ctx.getCtxp(), filter_type, filterpp)); 21 | } catch (TileDBError err) { 22 | tiledb.delete_tiledb_filter_tpp(filterpp); 23 | throw err; 24 | } 25 | this.ctx = ctx; 26 | this.filterp = tiledb.tiledb_filter_tpp_value(filterpp); 27 | this.filterpp = filterpp; 28 | } 29 | 30 | protected SWIGTYPE_p_tiledb_filter_t getFilterp() { 31 | return this.filterp; 32 | } 33 | 34 | protected Context getCtx() { 35 | return this.ctx; 36 | } 37 | 38 | public void close() { 39 | if (filterp != null && filterpp != null) { 40 | tiledb.tiledb_filter_free(filterpp); 41 | tiledb.delete_tiledb_filter_tpp(filterpp); 42 | filterpp = null; 43 | filterp = null; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/GzipFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class GzipFilter extends CompressionFilter { 7 | 8 | public GzipFilter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_GZIP); 10 | } 11 | 12 | public GzipFilter(Context ctx, int level) throws TileDBError { 13 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_GZIP, level); 14 | } 15 | 16 | protected GzipFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 17 | super(ctx, filterpp); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/LZ4Filter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class LZ4Filter extends CompressionFilter { 7 | 8 | public LZ4Filter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_LZ4); 10 | } 11 | 12 | public LZ4Filter(Context ctx, int level) throws TileDBError { 13 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_LZ4, level); 14 | } 15 | 16 | protected LZ4Filter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 17 | super(ctx, filterpp); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/Layout.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_layout_t; 4 | 5 | public enum Layout { 6 | TILEDB_ROW_MAJOR, 7 | TILEDB_COL_MAJOR, 8 | TILEDB_GLOBAL_ORDER, 9 | TILEDB_HILBERT, 10 | TILEDB_UNORDERED; 11 | 12 | protected tiledb_layout_t toSwigEnum() throws TileDBError { 13 | switch (this) { 14 | case TILEDB_ROW_MAJOR: 15 | return tiledb_layout_t.TILEDB_ROW_MAJOR; 16 | case TILEDB_HILBERT: 17 | return tiledb_layout_t.TILEDB_HILBERT; 18 | case TILEDB_COL_MAJOR: 19 | return tiledb_layout_t.TILEDB_COL_MAJOR; 20 | case TILEDB_GLOBAL_ORDER: 21 | return tiledb_layout_t.TILEDB_GLOBAL_ORDER; 22 | case TILEDB_UNORDERED: 23 | return tiledb_layout_t.TILEDB_UNORDERED; 24 | default: 25 | throw new TileDBError("No such enum value" + this.name()); 26 | } 27 | } 28 | 29 | protected static Layout fromSwigEnum(tiledb_layout_t e) throws TileDBError { 30 | switch (e) { 31 | case TILEDB_ROW_MAJOR: 32 | return TILEDB_ROW_MAJOR; 33 | case TILEDB_HILBERT: 34 | return TILEDB_HILBERT; 35 | case TILEDB_COL_MAJOR: 36 | return TILEDB_COL_MAJOR; 37 | case TILEDB_GLOBAL_ORDER: 38 | return TILEDB_GLOBAL_ORDER; 39 | case TILEDB_UNORDERED: 40 | return TILEDB_UNORDERED; 41 | default: 42 | throw new TileDBError("No such enum value" + e.name()); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/NoneFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class NoneFilter extends Filter { 7 | 8 | public NoneFilter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_NONE); 10 | } 11 | 12 | protected NoneFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 13 | super(ctx, filterpp); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/Pair.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The MIT License (MIT) 3 | * 4 | * Copyright (c) 2020 TileDB, Inc. 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | * SOFTWARE. 23 | */ 24 | 25 | package io.tiledb.java.api; 26 | 27 | public class Pair implements java.io.Serializable { 28 | private F first; 29 | private S second; 30 | 31 | private Pair() {} 32 | 33 | public Pair(F first, S second) { 34 | this.first = first; 35 | this.second = second; 36 | } 37 | 38 | public F getFirst() { 39 | return first; 40 | } 41 | 42 | public void setFirst(F first) { 43 | this.first = first; 44 | } 45 | 46 | public S getSecond() { 47 | return second; 48 | } 49 | 50 | public void setSecond(S second) { 51 | this.second = second; 52 | } 53 | 54 | /** 55 | * Returns an empty Pair 56 | * 57 | * @return The Pair 58 | */ 59 | public static Pair empty() { 60 | return new Pair(); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/PositiveDeltaFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb; 5 | import io.tiledb.libtiledb.tiledb_filter_option_t; 6 | import io.tiledb.libtiledb.tiledb_filter_type_t; 7 | 8 | public class PositiveDeltaFilter extends Filter { 9 | 10 | public PositiveDeltaFilter(Context ctx) throws TileDBError { 11 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_POSITIVE_DELTA); 12 | } 13 | 14 | public PositiveDeltaFilter(Context ctx, int window) throws TileDBError { 15 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_POSITIVE_DELTA); 16 | try (NativeArray windowArray = 17 | new NativeArray( 18 | ctx, 19 | new int[] { 20 | window, 21 | }, 22 | Integer.class)) { 23 | ctx.handleError( 24 | tiledb.tiledb_filter_set_option( 25 | ctx.getCtxp(), 26 | getFilterp(), 27 | tiledb_filter_option_t.TILEDB_POSITIVE_DELTA_MAX_WINDOW, 28 | windowArray.toVoidPointer())); 29 | } catch (TileDBError err) { 30 | super.close(); 31 | throw err; 32 | } 33 | } 34 | 35 | protected PositiveDeltaFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 36 | super(ctx, filterpp); 37 | } 38 | 39 | public int getWindow() throws TileDBError { 40 | Context ctx = getCtx(); 41 | int window; 42 | try (NativeArray windowArray = new NativeArray(ctx, 1, Integer.class)) { 43 | ctx.handleError( 44 | tiledb.tiledb_filter_get_option( 45 | ctx.getCtxp(), 46 | getFilterp(), 47 | tiledb_filter_option_t.TILEDB_POSITIVE_DELTA_MAX_WINDOW, 48 | windowArray.toVoidPointer())); 49 | window = (int) windowArray.getItem(0); 50 | } 51 | return window; 52 | } 53 | }; 54 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/QueryChannel.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_query_channel_t; 4 | import io.tiledb.libtiledb.SWIGTYPE_p_tiledb_query_channel_t; 5 | import io.tiledb.libtiledb.tiledb; 6 | 7 | public class QueryChannel implements AutoCloseable { 8 | 9 | private SWIGTYPE_p_tiledb_query_channel_t queryChannelp; 10 | private SWIGTYPE_p_p_tiledb_query_channel_t queryChannelpp; 11 | private Context ctx; 12 | 13 | protected QueryChannel(Context ctx, SWIGTYPE_p_p_tiledb_query_channel_t queryChannelpp) { 14 | this.ctx = ctx; 15 | this.queryChannelpp = queryChannelpp; 16 | this.queryChannelp = tiledb.tiledb_query_channel_tpp_value(queryChannelpp); 17 | } 18 | 19 | /** 20 | * Apply an aggregate operation on this channel which will produce the results on the output field 21 | * passed as argument 22 | * 23 | * @param fieldName The field name 24 | * @param channelOperation the aggregate operation to be applied on the channel 25 | * @throws TileDBError 26 | */ 27 | public void applyAggregate(String fieldName, ChannelOperation channelOperation) 28 | throws TileDBError { 29 | ctx.handleError( 30 | tiledb.tiledb_channel_apply_aggregate( 31 | this.ctx.getCtxp(), this.queryChannelp, fieldName, channelOperation.getOperationp())); 32 | } 33 | 34 | @Override 35 | public void close() throws Exception { 36 | if (queryChannelp != null) { 37 | tiledb.tiledb_query_channel_free(ctx.getCtxp(), queryChannelpp); 38 | tiledb.delete_tiledb_query_channel_tpp(queryChannelpp); 39 | queryChannelpp = null; 40 | queryChannelp = null; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/QueryStatus.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_query_status_t; 4 | 5 | public enum QueryStatus { 6 | TILEDB_FAILED, 7 | TILEDB_COMPLETED, 8 | TILEDB_INPROGRESS, 9 | TILEDB_INCOMPLETE, 10 | TILEDB_UNINITIALIZED; 11 | 12 | protected tiledb_query_status_t toSwigEnum() throws TileDBError { 13 | switch (this) { 14 | case TILEDB_FAILED: 15 | return tiledb_query_status_t.TILEDB_FAILED; 16 | case TILEDB_COMPLETED: 17 | return tiledb_query_status_t.TILEDB_COMPLETED; 18 | case TILEDB_INPROGRESS: 19 | return tiledb_query_status_t.TILEDB_INPROGRESS; 20 | case TILEDB_INCOMPLETE: 21 | return tiledb_query_status_t.TILEDB_INCOMPLETE; 22 | case TILEDB_UNINITIALIZED: 23 | return tiledb_query_status_t.TILEDB_UNINITIALIZED; 24 | default: 25 | throw new TileDBError("No such enum value" + this.name()); 26 | } 27 | } 28 | 29 | protected static QueryStatus fromSwigEnum(tiledb_query_status_t e) throws TileDBError { 30 | switch (e) { 31 | case TILEDB_FAILED: 32 | return TILEDB_FAILED; 33 | case TILEDB_COMPLETED: 34 | return TILEDB_COMPLETED; 35 | case TILEDB_INPROGRESS: 36 | return TILEDB_INPROGRESS; 37 | case TILEDB_INCOMPLETE: 38 | return TILEDB_INCOMPLETE; 39 | case TILEDB_UNINITIALIZED: 40 | return TILEDB_UNINITIALIZED; 41 | default: 42 | throw new TileDBError("No such enum value" + e.name()); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/QueryType.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_query_type_t; 4 | 5 | public enum QueryType { 6 | TILEDB_READ, 7 | TILEDB_WRITE, 8 | TILEDB_DELETE, 9 | TILEDB_UPDATE, 10 | TILEDB_MODIFY_EXCLUSIVE; 11 | 12 | protected tiledb_query_type_t toSwigEnum() throws TileDBError { 13 | switch (this) { 14 | case TILEDB_READ: 15 | return tiledb_query_type_t.TILEDB_READ; 16 | case TILEDB_WRITE: 17 | return tiledb_query_type_t.TILEDB_WRITE; 18 | case TILEDB_DELETE: 19 | return tiledb_query_type_t.TILEDB_DELETE; 20 | case TILEDB_UPDATE: 21 | return tiledb_query_type_t.TILEDB_UPDATE; 22 | case TILEDB_MODIFY_EXCLUSIVE: 23 | return tiledb_query_type_t.TILEDB_MODIFY_EXCLUSIVE; 24 | default: 25 | throw new TileDBError("No such enum value" + this.name()); 26 | } 27 | } 28 | 29 | protected static QueryType fromSwigEnum(tiledb_query_type_t e) throws TileDBError { 30 | switch (e) { 31 | case TILEDB_READ: 32 | return TILEDB_READ; 33 | case TILEDB_WRITE: 34 | return TILEDB_WRITE; 35 | case TILEDB_DELETE: 36 | return TILEDB_DELETE; 37 | case TILEDB_UPDATE: 38 | return TILEDB_UPDATE; 39 | case TILEDB_MODIFY_EXCLUSIVE: 40 | return TILEDB_MODIFY_EXCLUSIVE; 41 | default: 42 | throw new TileDBError("No such enum value" + e.name()); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/README.md: -------------------------------------------------------------------------------- 1 | # Java API 2 | 3 | Contains all the implementations of the TileDB-Java API. -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/RleFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class RleFilter extends CompressionFilter { 7 | 8 | public RleFilter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_RLE); 10 | } 11 | 12 | public RleFilter(Context ctx, int level) throws TileDBError { 13 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_RLE, level); 14 | } 15 | 16 | protected RleFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 17 | super(ctx, filterpp); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/TileDBError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The MIT License (MIT) 3 | * 4 | * Copyright (c) 2020 TileDB, Inc. 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | * SOFTWARE. 23 | */ 24 | 25 | package io.tiledb.java.api; 26 | 27 | /** TileDB Exception class. */ 28 | public class TileDBError extends Exception { 29 | 30 | public TileDBError(String s) { 31 | super(s); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/TileDBObjectType.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_object_t; 4 | 5 | public enum TileDBObjectType { 6 | TILEDB_INVALID, 7 | TILEDB_GROUP, 8 | TILEDB_ARRAY; 9 | 10 | protected tiledb_object_t toSwigEnum() throws TileDBError { 11 | switch (this) { 12 | case TILEDB_INVALID: 13 | return tiledb_object_t.TILEDB_INVALID; 14 | case TILEDB_GROUP: 15 | return tiledb_object_t.TILEDB_GROUP; 16 | case TILEDB_ARRAY: 17 | return tiledb_object_t.TILEDB_ARRAY; 18 | default: 19 | throw new TileDBError("No such enum value" + this.name()); 20 | } 21 | } 22 | 23 | protected static TileDBObjectType fromSwigEnum(tiledb_object_t e) throws TileDBError { 24 | switch (e) { 25 | case TILEDB_INVALID: 26 | return TILEDB_INVALID; 27 | case TILEDB_GROUP: 28 | return TILEDB_GROUP; 29 | case TILEDB_ARRAY: 30 | return TILEDB_ARRAY; 31 | default: 32 | throw new TileDBError("No such enum value" + e.name()); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/TileDBString.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_char; 4 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_string_handle_t; 5 | import io.tiledb.libtiledb.SWIGTYPE_p_tiledb_string_handle_t; 6 | import io.tiledb.libtiledb.SWIGTYPE_p_unsigned_long; 7 | import io.tiledb.libtiledb.tiledb; 8 | 9 | public class TileDBString { 10 | private Context ctx; 11 | private SWIGTYPE_p_tiledb_string_handle_t stringp; 12 | private SWIGTYPE_p_p_tiledb_string_handle_t stringpp; 13 | 14 | /** Constructor */ 15 | protected TileDBString(Context ctx, SWIGTYPE_p_p_tiledb_string_handle_t stringpp) { 16 | this.ctx = ctx; 17 | this.stringp = tiledb.tiledb_string_handle_tpp_value(stringpp); 18 | this.stringpp = stringpp; 19 | } 20 | 21 | protected SWIGTYPE_p_tiledb_string_handle_t getStringp() { 22 | return this.stringp; 23 | } 24 | 25 | protected Context getCtx() { 26 | return this.ctx; 27 | } 28 | 29 | /** 30 | * Returns a view (i.e. data and length) of a TileDB string object. 31 | * 32 | * @return A pair with the String data and size 33 | */ 34 | public Pair getView() throws TileDBError { 35 | String data; 36 | long size; 37 | SWIGTYPE_p_p_char datapp = tiledb.new_charpp(); 38 | SWIGTYPE_p_unsigned_long sizep = tiledb.new_ulp(); 39 | try { 40 | ctx.handleError(tiledb.tiledb_string_view(this.getStringp(), datapp, sizep)); 41 | data = tiledb.charpp_value(datapp); 42 | size = tiledb.ulp_value(sizep); 43 | return new Pair<>(data, size); 44 | } finally { 45 | tiledb.delete_charpp(datapp); 46 | tiledb.delete_ulp(sizep); 47 | } 48 | } 49 | 50 | public void close() { 51 | if (stringp != null && stringpp != null) { 52 | tiledb.tiledb_string_free(stringpp); 53 | tiledb.delete_tiledb_string_handle_tpp(stringpp); 54 | stringpp = null; 55 | stringp = null; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/VFSMode.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_vfs_mode_t; 4 | 5 | public enum VFSMode { 6 | TILEDB_VFS_READ, 7 | TILEDB_VFS_WRITE, 8 | TILEDB_VFS_APPEND; 9 | 10 | protected tiledb_vfs_mode_t toSwigEnum() throws TileDBError { 11 | switch (this) { 12 | case TILEDB_VFS_READ: 13 | return tiledb_vfs_mode_t.TILEDB_VFS_READ; 14 | case TILEDB_VFS_WRITE: 15 | return tiledb_vfs_mode_t.TILEDB_VFS_WRITE; 16 | case TILEDB_VFS_APPEND: 17 | return tiledb_vfs_mode_t.TILEDB_VFS_APPEND; 18 | default: 19 | throw new TileDBError("No such enum value" + this.name()); 20 | } 21 | } 22 | 23 | protected static VFSMode fromSwigEnum(tiledb_vfs_mode_t e) throws TileDBError { 24 | switch (e) { 25 | case TILEDB_VFS_READ: 26 | return TILEDB_VFS_READ; 27 | case TILEDB_VFS_WRITE: 28 | return TILEDB_VFS_WRITE; 29 | case TILEDB_VFS_APPEND: 30 | return TILEDB_VFS_APPEND; 31 | default: 32 | throw new TileDBError("No such enum value" + e.name()); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/VFSWriter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import java.io.Writer; 4 | 5 | public class VFSWriter extends Writer { 6 | 7 | public void write(char[] towrite, int foo, int bar) {}; 8 | 9 | public void flush() {}; 10 | 11 | public void close() {}; 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/WalkOrder.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.tiledb_walk_order_t; 4 | 5 | public enum WalkOrder { 6 | TILEDB_PREORDER, 7 | TILEDB_POSTORDER; 8 | 9 | protected tiledb_walk_order_t toSwigEnum() throws TileDBError { 10 | switch (this) { 11 | case TILEDB_PREORDER: 12 | return tiledb_walk_order_t.TILEDB_PREORDER; 13 | case TILEDB_POSTORDER: 14 | return tiledb_walk_order_t.TILEDB_POSTORDER; 15 | default: 16 | throw new TileDBError("No such enum value" + this.name()); 17 | } 18 | } 19 | 20 | protected static WalkOrder fromSwigEnum(tiledb_walk_order_t e) throws TileDBError { 21 | switch (e) { 22 | case TILEDB_PREORDER: 23 | return TILEDB_PREORDER; 24 | case TILEDB_POSTORDER: 25 | return TILEDB_POSTORDER; 26 | default: 27 | throw new TileDBError("No such enum value" + e.name()); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/XORFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class XORFilter extends Filter { 7 | public XORFilter(Context ctx) throws TileDBError { 8 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_XOR); 9 | } 10 | 11 | protected XORFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 12 | super(ctx, filterpp); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/java/api/ZstdFilter.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import io.tiledb.libtiledb.SWIGTYPE_p_p_tiledb_filter_t; 4 | import io.tiledb.libtiledb.tiledb_filter_type_t; 5 | 6 | public class ZstdFilter extends CompressionFilter { 7 | 8 | public ZstdFilter(Context ctx) throws TileDBError { 9 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_ZSTD); 10 | } 11 | 12 | public ZstdFilter(Context ctx, int level) throws TileDBError { 13 | super(ctx, tiledb_filter_type_t.TILEDB_FILTER_ZSTD, level); 14 | } 15 | 16 | protected ZstdFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp) { 17 | super(ctx, filterpp); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/Callback.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (http://www.swig.org). 3 | * Version 3.0.12 4 | * 5 | * Do not make changes to this file unless you know what you are doing--modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public interface Callback { 12 | public void call(); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/PathCallback.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (http://www.swig.org). 3 | * Version 3.0.12 4 | * 5 | * Do not make changes to this file unless you know what you are doing--modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public abstract class PathCallback { 12 | 13 | private int call(long path, int type) { 14 | charArray jpath = new charArray(path, false); 15 | tiledb_object_t jtype = tiledb_object_t.swigToEnum(type); 16 | return call(Utils.charArrayGet(jpath, 0), jtype); 17 | } 18 | 19 | public abstract int call(String path, tiledb_object_t type); 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_FILE.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_FILE { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_FILE(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_FILE() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_FILE obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_FILE obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_double.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_double { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_double(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_double() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_double obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_double obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease( 28 | SWIGTYPE_p_f_p_q_const__char_enum_tiledb_object_t_p_void__int obj) { 29 | return (obj == null) ? 0 : obj.swigCPtr; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_p_void__int.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_f_p_q_const__char_p_void__int { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_f_p_q_const__char_p_void__int( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_f_p_q_const__char_p_void__int() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_f_p_q_const__char_p_void__int obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_f_p_q_const__char_p_void__int obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_q_const__char_unsigned_long_unsigned_long_long_p_void__int.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_f_p_q_const__char_unsigned_long_unsigned_long_long_p_void__int { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_f_p_q_const__char_unsigned_long_unsigned_long_long_p_void__int( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_f_p_q_const__char_unsigned_long_unsigned_long_long_p_void__int() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr( 24 | SWIGTYPE_p_f_p_q_const__char_unsigned_long_unsigned_long_long_p_void__int obj) { 25 | return (obj == null) ? 0 : obj.swigCPtr; 26 | } 27 | 28 | protected static long swigRelease( 29 | SWIGTYPE_p_f_p_q_const__char_unsigned_long_unsigned_long_long_p_void__int obj) { 30 | return (obj == null) ? 0 : obj.swigCPtr; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_f_p_void__void.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_f_p_void__void { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_f_p_void__void(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_f_p_void__void() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_f_p_void__void obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_f_p_void__void obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_float.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_float { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_float(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_float() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_float obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_float obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_int.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_int { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_int(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_int() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_int obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_int obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_long_long.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_long_long { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_long_long(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_long_long() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_long_long obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_long_long obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_capi_return_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_capi_return_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_capi_return_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_capi_return_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_capi_return_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_capi_return_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_char.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_char { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_char(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_char() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_char obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_char obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_int.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_int { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_int(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_int() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_int obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_int obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_p_void.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_p_void { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_p_void(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_p_void() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_p_void obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_p_void obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_schema_evolution_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_array_schema_evolution_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_array_schema_evolution_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_array_schema_evolution_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_array_schema_evolution_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_array_schema_evolution_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_schema_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_array_schema_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_array_schema_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_array_schema_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_array_schema_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_array_schema_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_array_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_array_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_array_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_tiledb_array_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_array_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_array_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_attribute_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_attribute_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_attribute_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_attribute_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_attribute_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_attribute_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_buffer_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_buffer_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_buffer_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_buffer_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_buffer_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_buffer_list_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_buffer_list_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_buffer_list_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_buffer_list_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_buffer_list_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_buffer_list_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_channel_operation_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_channel_operation_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_channel_operation_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_channel_operation_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_channel_operation_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_channel_operation_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_channel_operator_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_channel_operator_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_channel_operator_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_channel_operator_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_channel_operator_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_channel_operator_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_iter_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_config_iter_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_config_iter_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_config_iter_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_config_iter_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_config_iter_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_config_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_config_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_config_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_tiledb_config_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_config_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_config_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_consolidation_plan_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_consolidation_plan_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_consolidation_plan_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_consolidation_plan_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_consolidation_plan_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_consolidation_plan_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_ctx_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_ctx_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_ctx_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_tiledb_ctx_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_ctx_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_ctx_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_current_domain_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_current_domain_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_current_domain_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_current_domain_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_current_domain_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_current_domain_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_dimension_label_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_dimension_label_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_dimension_label_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_dimension_label_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_dimension_label_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_dimension_label_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_dimension_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_dimension_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_dimension_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_dimension_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_dimension_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_dimension_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_domain_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_domain_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_domain_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_tiledb_domain_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_domain_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_domain_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_enumeration_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_enumeration_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_enumeration_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_enumeration_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_enumeration_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_enumeration_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_error_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_error_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_error_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_error_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_error_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_error_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_list_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_filter_list_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_filter_list_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_filter_list_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_filter_list_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_filter_list_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_filter_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_filter_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_filter_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_tiledb_filter_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_filter_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_filter_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_fragment_info_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_fragment_info_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_fragment_info_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_fragment_info_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_fragment_info_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_fragment_info_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_group_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_group_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_group_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_group_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_group_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_group_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_ndrectangle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_ndrectangle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_ndrectangle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_ndrectangle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_ndrectangle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_ndrectangle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_channel_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_query_channel_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_query_channel_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_query_channel_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_query_channel_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_query_channel_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_condition_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_query_condition_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_query_condition_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_query_condition_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_query_condition_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_query_condition_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_field_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_query_field_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_query_field_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_query_field_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_query_field_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_query_field_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_query_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_query_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_query_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_tiledb_query_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_query_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_query_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_range_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_range_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_range_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_tiledb_range_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | public static long getCPtr(SWIGTYPE_p_p_tiledb_range_t obj) { // todo 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_range_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_string_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_string_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_string_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_string_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_string_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_string_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_subarray_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_subarray_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_subarray_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_subarray_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_subarray_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_subarray_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_fh_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_vfs_fh_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_vfs_fh_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_vfs_fh_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_vfs_fh_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_vfs_fh_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_tiledb_vfs_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_tiledb_vfs_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_tiledb_vfs_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_tiledb_vfs_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_tiledb_vfs_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_tiledb_vfs_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_unsigned_char.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_unsigned_char { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_unsigned_char(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_unsigned_char() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_unsigned_char obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_unsigned_char obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_unsigned_long_long.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_unsigned_long_long { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_unsigned_long_long( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_p_unsigned_long_long() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_p_unsigned_long_long obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_p_unsigned_long_long obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_p_void.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_p_void { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_p_void(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_p_void() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_p_void obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_p_void obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_short.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_short { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_short(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_short() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_short obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_short obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_signed_char.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_signed_char { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_signed_char(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_signed_char() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_signed_char obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_signed_char obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_schema_evolution_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_array_schema_evolution_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_array_schema_evolution_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_array_schema_evolution_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_array_schema_evolution_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_array_schema_evolution_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_schema_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_array_schema_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_array_schema_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_array_schema_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_array_schema_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_array_schema_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_array_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_array_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_array_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_array_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_array_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_array_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_array_type_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_array_type_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_array_type_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_array_type_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_array_type_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_attribute_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_attribute_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_attribute_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_attribute_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_attribute_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_attribute_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_buffer_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_buffer_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_buffer_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_buffer_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_buffer_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_buffer_list_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_buffer_list_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_buffer_list_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_buffer_list_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_buffer_list_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_buffer_list_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_channel_operation_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_channel_operation_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_channel_operation_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_channel_operation_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_channel_operation_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_channel_operation_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_channel_operator_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_channel_operator_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_channel_operator_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_channel_operator_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_channel_operator_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_channel_operator_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_iter_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_config_iter_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_config_iter_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_config_iter_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_config_iter_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_config_iter_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_config_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_config_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_config_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_config_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_config_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_config_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_consolidation_plan_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_consolidation_plan_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_consolidation_plan_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_consolidation_plan_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_consolidation_plan_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_consolidation_plan_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_ctx_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_ctx_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_ctx_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_ctx_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_ctx_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_ctx_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_current_domain_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_current_domain_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_current_domain_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_current_domain_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_current_domain_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_current_domain_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_current_domain_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_current_domain_type_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_current_domain_type_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_current_domain_type_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_current_domain_type_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_current_domain_type_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_data_order_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_data_order_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_data_order_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_data_order_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_data_order_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_data_order_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_datatype_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_datatype_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_datatype_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_datatype_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_datatype_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_datatype_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_dimension_label_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_dimension_label_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_dimension_label_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_dimension_label_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_dimension_label_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_dimension_label_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_dimension_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_dimension_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_dimension_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_dimension_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_dimension_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_dimension_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_domain_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_domain_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_domain_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_domain_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_domain_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_domain_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_encryption_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_encryption_type_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_encryption_type_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_encryption_type_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_encryption_type_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_encryption_type_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_enumeration_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_enumeration_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_enumeration_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_enumeration_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_enumeration_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_enumeration_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_error_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_error_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_error_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_error_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_error_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_error_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_field_origin_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_field_origin_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_field_origin_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_field_origin_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_field_origin_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_field_origin_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filesystem_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_filesystem_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_filesystem_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_filesystem_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_filesystem_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_filesystem_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_list_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_filter_list_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_filter_list_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_filter_list_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_filter_list_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_filter_list_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_option_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_filter_option_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_filter_option_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_filter_option_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_filter_option_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_filter_option_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_filter_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_filter_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_filter_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_filter_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_filter_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_filter_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_filter_type_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_filter_type_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_filter_type_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_filter_type_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_filter_type_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_fragment_info_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_fragment_info_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_fragment_info_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_fragment_info_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_fragment_info_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_fragment_info_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_group_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_group_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_group_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_group_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_group_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_group_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_layout_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_layout_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_layout_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_layout_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_layout_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_layout_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_mime_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_mime_type_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_mime_type_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_mime_type_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_mime_type_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_mime_type_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_ndrectangle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_ndrectangle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_ndrectangle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_ndrectangle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_ndrectangle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_ndrectangle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_object_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_object_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_object_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_object_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_object_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_object_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_channel_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_query_channel_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_query_channel_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_query_channel_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_query_channel_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_query_channel_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_condition_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_query_condition_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_query_condition_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_query_condition_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_query_condition_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_query_condition_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_field_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_query_field_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_query_field_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_query_field_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_query_field_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_query_field_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_status_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_query_status_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_query_status_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_query_status_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_query_status_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_query_status_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_query_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_query_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_query_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_query_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_query_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_query_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_query_type_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_query_type_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_query_type_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_query_type_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_query_type_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_string_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_string_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_string_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_string_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_string_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_string_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_subarray_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_subarray_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_subarray_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_subarray_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_subarray_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_subarray_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_fh_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_vfs_fh_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_vfs_fh_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_vfs_fh_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_vfs_fh_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_vfs_fh_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_handle_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_vfs_handle_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_vfs_handle_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_vfs_handle_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_vfs_handle_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_vfs_handle_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_vfs_mode_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_vfs_mode_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_vfs_mode_t(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_tiledb_vfs_mode_t() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_tiledb_vfs_mode_t obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_tiledb_vfs_mode_t obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_tiledb_walk_order_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_tiledb_walk_order_t { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_tiledb_walk_order_t( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_tiledb_walk_order_t() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_tiledb_walk_order_t obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_tiledb_walk_order_t obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_char.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_unsigned_char { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_unsigned_char(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_unsigned_char() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_unsigned_char obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_unsigned_char obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_int.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_unsigned_int { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_unsigned_int(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_unsigned_int() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_unsigned_int obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_unsigned_int obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_long.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_unsigned_long { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_unsigned_long(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_unsigned_long() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_unsigned_long obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_unsigned_long obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_long_long.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_unsigned_long_long { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_unsigned_long_long( 15 | long cPtr, @SuppressWarnings("unused") boolean futureUse) { 16 | swigCPtr = cPtr; 17 | } 18 | 19 | protected SWIGTYPE_p_unsigned_long_long() { 20 | swigCPtr = 0; 21 | } 22 | 23 | protected static long getCPtr(SWIGTYPE_p_unsigned_long_long obj) { 24 | return (obj == null) ? 0 : obj.swigCPtr; 25 | } 26 | 27 | protected static long swigRelease(SWIGTYPE_p_unsigned_long_long obj) { 28 | return (obj == null) ? 0 : obj.swigCPtr; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_unsigned_short.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_unsigned_short { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_unsigned_short(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_unsigned_short() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_unsigned_short obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_unsigned_short obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/SWIGTYPE_p_void.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public class SWIGTYPE_p_void { 12 | private transient long swigCPtr; 13 | 14 | protected SWIGTYPE_p_void(long cPtr, @SuppressWarnings("unused") boolean futureUse) { 15 | swigCPtr = cPtr; 16 | } 17 | 18 | protected SWIGTYPE_p_void() { 19 | swigCPtr = 0; 20 | } 21 | 22 | protected static long getCPtr(SWIGTYPE_p_void obj) { 23 | return (obj == null) ? 0 : obj.swigCPtr; 24 | } 25 | 26 | protected static long swigRelease(SWIGTYPE_p_void obj) { 27 | return (obj == null) ? 0 : obj.swigCPtr; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledbConstants.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public interface tiledbConstants { 12 | public static final int TILEDB_BUDGET_UNAVAILABLE = (-5); 13 | public static final int TILEDB_ERR = (-1); 14 | public static final int TILEDB_INVALID_CONTEXT = (-3); 15 | public static final int TILEDB_INVALID_ERROR = (-4); 16 | public static final int TILEDB_OK = (0); 17 | public static final int TILEDB_OOM = (-2); 18 | public static final int TILEDB_VERSION_MAJOR = 2; 19 | public static final int TILEDB_VERSION_MINOR = 26; 20 | public static final int TILEDB_VERSION_PATCH = 0; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_array_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_array_type_t { 12 | TILEDB_DENSE(0), 13 | TILEDB_SPARSE(1); 14 | 15 | public final int swigValue() { 16 | return swigValue; 17 | } 18 | 19 | public static tiledb_array_type_t swigToEnum(int swigValue) { 20 | tiledb_array_type_t[] swigValues = tiledb_array_type_t.class.getEnumConstants(); 21 | if (swigValue < swigValues.length 22 | && swigValue >= 0 23 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 24 | for (tiledb_array_type_t swigEnum : swigValues) 25 | if (swigEnum.swigValue == swigValue) return swigEnum; 26 | throw new IllegalArgumentException( 27 | "No enum " + tiledb_array_type_t.class + " with value " + swigValue); 28 | } 29 | 30 | @SuppressWarnings("unused") 31 | private tiledb_array_type_t() { 32 | this.swigValue = SwigNext.next++; 33 | } 34 | 35 | @SuppressWarnings("unused") 36 | private tiledb_array_type_t(int swigValue) { 37 | this.swigValue = swigValue; 38 | SwigNext.next = swigValue + 1; 39 | } 40 | 41 | @SuppressWarnings("unused") 42 | private tiledb_array_type_t(tiledb_array_type_t swigEnum) { 43 | this.swigValue = swigEnum.swigValue; 44 | SwigNext.next = this.swigValue + 1; 45 | } 46 | 47 | private final int swigValue; 48 | 49 | private static class SwigNext { 50 | private static int next = 0; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_current_domain_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_current_domain_type_t { 12 | TILEDB_NDRECTANGLE(0); 13 | 14 | public final int swigValue() { 15 | return swigValue; 16 | } 17 | 18 | public static tiledb_current_domain_type_t swigToEnum(int swigValue) { 19 | tiledb_current_domain_type_t[] swigValues = 20 | tiledb_current_domain_type_t.class.getEnumConstants(); 21 | if (swigValue < swigValues.length 22 | && swigValue >= 0 23 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 24 | for (tiledb_current_domain_type_t swigEnum : swigValues) 25 | if (swigEnum.swigValue == swigValue) return swigEnum; 26 | throw new IllegalArgumentException( 27 | "No enum " + tiledb_current_domain_type_t.class + " with value " + swigValue); 28 | } 29 | 30 | @SuppressWarnings("unused") 31 | private tiledb_current_domain_type_t() { 32 | this.swigValue = SwigNext.next++; 33 | } 34 | 35 | @SuppressWarnings("unused") 36 | private tiledb_current_domain_type_t(int swigValue) { 37 | this.swigValue = swigValue; 38 | SwigNext.next = swigValue + 1; 39 | } 40 | 41 | @SuppressWarnings("unused") 42 | private tiledb_current_domain_type_t(tiledb_current_domain_type_t swigEnum) { 43 | this.swigValue = swigEnum.swigValue; 44 | SwigNext.next = this.swigValue + 1; 45 | } 46 | 47 | private final int swigValue; 48 | 49 | private static class SwigNext { 50 | private static int next = 0; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_data_order_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_data_order_t { 12 | TILEDB_UNORDERED_DATA(0), 13 | TILEDB_INCREASING_DATA(1), 14 | TILEDB_DECREASING_DATA(2); 15 | 16 | public final int swigValue() { 17 | return swigValue; 18 | } 19 | 20 | public static tiledb_data_order_t swigToEnum(int swigValue) { 21 | tiledb_data_order_t[] swigValues = tiledb_data_order_t.class.getEnumConstants(); 22 | if (swigValue < swigValues.length 23 | && swigValue >= 0 24 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 25 | for (tiledb_data_order_t swigEnum : swigValues) 26 | if (swigEnum.swigValue == swigValue) return swigEnum; 27 | throw new IllegalArgumentException( 28 | "No enum " + tiledb_data_order_t.class + " with value " + swigValue); 29 | } 30 | 31 | @SuppressWarnings("unused") 32 | private tiledb_data_order_t() { 33 | this.swigValue = SwigNext.next++; 34 | } 35 | 36 | @SuppressWarnings("unused") 37 | private tiledb_data_order_t(int swigValue) { 38 | this.swigValue = swigValue; 39 | SwigNext.next = swigValue + 1; 40 | } 41 | 42 | @SuppressWarnings("unused") 43 | private tiledb_data_order_t(tiledb_data_order_t swigEnum) { 44 | this.swigValue = swigEnum.swigValue; 45 | SwigNext.next = this.swigValue + 1; 46 | } 47 | 48 | private final int swigValue; 49 | 50 | private static class SwigNext { 51 | private static int next = 0; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_encryption_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_encryption_type_t { 12 | TILEDB_NO_ENCRYPTION(0), 13 | TILEDB_AES_256_GCM(1); 14 | 15 | public final int swigValue() { 16 | return swigValue; 17 | } 18 | 19 | public static tiledb_encryption_type_t swigToEnum(int swigValue) { 20 | tiledb_encryption_type_t[] swigValues = tiledb_encryption_type_t.class.getEnumConstants(); 21 | if (swigValue < swigValues.length 22 | && swigValue >= 0 23 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 24 | for (tiledb_encryption_type_t swigEnum : swigValues) 25 | if (swigEnum.swigValue == swigValue) return swigEnum; 26 | throw new IllegalArgumentException( 27 | "No enum " + tiledb_encryption_type_t.class + " with value " + swigValue); 28 | } 29 | 30 | @SuppressWarnings("unused") 31 | private tiledb_encryption_type_t() { 32 | this.swigValue = SwigNext.next++; 33 | } 34 | 35 | @SuppressWarnings("unused") 36 | private tiledb_encryption_type_t(int swigValue) { 37 | this.swigValue = swigValue; 38 | SwigNext.next = swigValue + 1; 39 | } 40 | 41 | @SuppressWarnings("unused") 42 | private tiledb_encryption_type_t(tiledb_encryption_type_t swigEnum) { 43 | this.swigValue = swigEnum.swigValue; 44 | SwigNext.next = this.swigValue + 1; 45 | } 46 | 47 | private final int swigValue; 48 | 49 | private static class SwigNext { 50 | private static int next = 0; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_field_origin_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_field_origin_t { 12 | TILEDB_ATTRIBUTE_FIELD(0), 13 | TILEDB_DIMENSION_FIELD, 14 | TILEDB_AGGREGATE_FIELD; 15 | 16 | public final int swigValue() { 17 | return swigValue; 18 | } 19 | 20 | public static tiledb_field_origin_t swigToEnum(int swigValue) { 21 | tiledb_field_origin_t[] swigValues = tiledb_field_origin_t.class.getEnumConstants(); 22 | if (swigValue < swigValues.length 23 | && swigValue >= 0 24 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 25 | for (tiledb_field_origin_t swigEnum : swigValues) 26 | if (swigEnum.swigValue == swigValue) return swigEnum; 27 | throw new IllegalArgumentException( 28 | "No enum " + tiledb_field_origin_t.class + " with value " + swigValue); 29 | } 30 | 31 | @SuppressWarnings("unused") 32 | private tiledb_field_origin_t() { 33 | this.swigValue = SwigNext.next++; 34 | } 35 | 36 | @SuppressWarnings("unused") 37 | private tiledb_field_origin_t(int swigValue) { 38 | this.swigValue = swigValue; 39 | SwigNext.next = swigValue + 1; 40 | } 41 | 42 | @SuppressWarnings("unused") 43 | private tiledb_field_origin_t(tiledb_field_origin_t swigEnum) { 44 | this.swigValue = swigEnum.swigValue; 45 | SwigNext.next = this.swigValue + 1; 46 | } 47 | 48 | private final int swigValue; 49 | 50 | private static class SwigNext { 51 | private static int next = 0; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_filesystem_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_filesystem_t { 12 | TILEDB_HDFS(0), 13 | TILEDB_S3(1), 14 | TILEDB_AZURE(2), 15 | TILEDB_GCS(3), 16 | TILEDB_MEMFS(4); 17 | 18 | public final int swigValue() { 19 | return swigValue; 20 | } 21 | 22 | public static tiledb_filesystem_t swigToEnum(int swigValue) { 23 | tiledb_filesystem_t[] swigValues = tiledb_filesystem_t.class.getEnumConstants(); 24 | if (swigValue < swigValues.length 25 | && swigValue >= 0 26 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 27 | for (tiledb_filesystem_t swigEnum : swigValues) 28 | if (swigEnum.swigValue == swigValue) return swigEnum; 29 | throw new IllegalArgumentException( 30 | "No enum " + tiledb_filesystem_t.class + " with value " + swigValue); 31 | } 32 | 33 | @SuppressWarnings("unused") 34 | private tiledb_filesystem_t() { 35 | this.swigValue = SwigNext.next++; 36 | } 37 | 38 | @SuppressWarnings("unused") 39 | private tiledb_filesystem_t(int swigValue) { 40 | this.swigValue = swigValue; 41 | SwigNext.next = swigValue + 1; 42 | } 43 | 44 | @SuppressWarnings("unused") 45 | private tiledb_filesystem_t(tiledb_filesystem_t swigEnum) { 46 | this.swigValue = swigEnum.swigValue; 47 | SwigNext.next = this.swigValue + 1; 48 | } 49 | 50 | private final int swigValue; 51 | 52 | private static class SwigNext { 53 | private static int next = 0; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_filter_webp_format_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_filter_webp_format_t { 12 | TILEDB_WEBP_NONE(0), 13 | TILEDB_WEBP_RGB(1), 14 | TILEDB_WEBP_BGR(2), 15 | TILEDB_WEBP_RGBA(3), 16 | TILEDB_WEBP_BGRA(4); 17 | 18 | public final int swigValue() { 19 | return swigValue; 20 | } 21 | 22 | public static tiledb_filter_webp_format_t swigToEnum(int swigValue) { 23 | tiledb_filter_webp_format_t[] swigValues = tiledb_filter_webp_format_t.class.getEnumConstants(); 24 | if (swigValue < swigValues.length 25 | && swigValue >= 0 26 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 27 | for (tiledb_filter_webp_format_t swigEnum : swigValues) 28 | if (swigEnum.swigValue == swigValue) return swigEnum; 29 | throw new IllegalArgumentException( 30 | "No enum " + tiledb_filter_webp_format_t.class + " with value " + swigValue); 31 | } 32 | 33 | @SuppressWarnings("unused") 34 | private tiledb_filter_webp_format_t() { 35 | this.swigValue = SwigNext.next++; 36 | } 37 | 38 | @SuppressWarnings("unused") 39 | private tiledb_filter_webp_format_t(int swigValue) { 40 | this.swigValue = swigValue; 41 | SwigNext.next = swigValue + 1; 42 | } 43 | 44 | @SuppressWarnings("unused") 45 | private tiledb_filter_webp_format_t(tiledb_filter_webp_format_t swigEnum) { 46 | this.swigValue = swigEnum.swigValue; 47 | SwigNext.next = this.swigValue + 1; 48 | } 49 | 50 | private final int swigValue; 51 | 52 | private static class SwigNext { 53 | private static int next = 0; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_layout_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_layout_t { 12 | TILEDB_ROW_MAJOR(0), 13 | TILEDB_COL_MAJOR(1), 14 | TILEDB_GLOBAL_ORDER(2), 15 | TILEDB_UNORDERED(3), 16 | TILEDB_HILBERT(4); 17 | 18 | public final int swigValue() { 19 | return swigValue; 20 | } 21 | 22 | public static tiledb_layout_t swigToEnum(int swigValue) { 23 | tiledb_layout_t[] swigValues = tiledb_layout_t.class.getEnumConstants(); 24 | if (swigValue < swigValues.length 25 | && swigValue >= 0 26 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 27 | for (tiledb_layout_t swigEnum : swigValues) 28 | if (swigEnum.swigValue == swigValue) return swigEnum; 29 | throw new IllegalArgumentException( 30 | "No enum " + tiledb_layout_t.class + " with value " + swigValue); 31 | } 32 | 33 | @SuppressWarnings("unused") 34 | private tiledb_layout_t() { 35 | this.swigValue = SwigNext.next++; 36 | } 37 | 38 | @SuppressWarnings("unused") 39 | private tiledb_layout_t(int swigValue) { 40 | this.swigValue = swigValue; 41 | SwigNext.next = swigValue + 1; 42 | } 43 | 44 | @SuppressWarnings("unused") 45 | private tiledb_layout_t(tiledb_layout_t swigEnum) { 46 | this.swigValue = swigEnum.swigValue; 47 | SwigNext.next = this.swigValue + 1; 48 | } 49 | 50 | private final int swigValue; 51 | 52 | private static class SwigNext { 53 | private static int next = 0; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_mime_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_mime_type_t { 12 | TILEDB_MIME_AUTODETECT(0), 13 | TILEDB_MIME_TIFF(1), 14 | TILEDB_MIME_PDF(2); 15 | 16 | public final int swigValue() { 17 | return swigValue; 18 | } 19 | 20 | public static tiledb_mime_type_t swigToEnum(int swigValue) { 21 | tiledb_mime_type_t[] swigValues = tiledb_mime_type_t.class.getEnumConstants(); 22 | if (swigValue < swigValues.length 23 | && swigValue >= 0 24 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 25 | for (tiledb_mime_type_t swigEnum : swigValues) 26 | if (swigEnum.swigValue == swigValue) return swigEnum; 27 | throw new IllegalArgumentException( 28 | "No enum " + tiledb_mime_type_t.class + " with value " + swigValue); 29 | } 30 | 31 | @SuppressWarnings("unused") 32 | private tiledb_mime_type_t() { 33 | this.swigValue = SwigNext.next++; 34 | } 35 | 36 | @SuppressWarnings("unused") 37 | private tiledb_mime_type_t(int swigValue) { 38 | this.swigValue = swigValue; 39 | SwigNext.next = swigValue + 1; 40 | } 41 | 42 | @SuppressWarnings("unused") 43 | private tiledb_mime_type_t(tiledb_mime_type_t swigEnum) { 44 | this.swigValue = swigEnum.swigValue; 45 | SwigNext.next = this.swigValue + 1; 46 | } 47 | 48 | private final int swigValue; 49 | 50 | private static class SwigNext { 51 | private static int next = 0; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_object_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_object_t { 12 | TILEDB_INVALID(0), 13 | TILEDB_GROUP(1), 14 | TILEDB_ARRAY(2); 15 | 16 | public final int swigValue() { 17 | return swigValue; 18 | } 19 | 20 | public static tiledb_object_t swigToEnum(int swigValue) { 21 | tiledb_object_t[] swigValues = tiledb_object_t.class.getEnumConstants(); 22 | if (swigValue < swigValues.length 23 | && swigValue >= 0 24 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 25 | for (tiledb_object_t swigEnum : swigValues) 26 | if (swigEnum.swigValue == swigValue) return swigEnum; 27 | throw new IllegalArgumentException( 28 | "No enum " + tiledb_object_t.class + " with value " + swigValue); 29 | } 30 | 31 | @SuppressWarnings("unused") 32 | private tiledb_object_t() { 33 | this.swigValue = SwigNext.next++; 34 | } 35 | 36 | @SuppressWarnings("unused") 37 | private tiledb_object_t(int swigValue) { 38 | this.swigValue = swigValue; 39 | SwigNext.next = swigValue + 1; 40 | } 41 | 42 | @SuppressWarnings("unused") 43 | private tiledb_object_t(tiledb_object_t swigEnum) { 44 | this.swigValue = swigEnum.swigValue; 45 | SwigNext.next = this.swigValue + 1; 46 | } 47 | 48 | private final int swigValue; 49 | 50 | private static class SwigNext { 51 | private static int next = 0; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_query_condition_combination_op_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_query_condition_combination_op_t { 12 | TILEDB_AND(0), 13 | TILEDB_OR(1), 14 | TILEDB_NOT(2); 15 | 16 | public final int swigValue() { 17 | return swigValue; 18 | } 19 | 20 | public static tiledb_query_condition_combination_op_t swigToEnum(int swigValue) { 21 | tiledb_query_condition_combination_op_t[] swigValues = 22 | tiledb_query_condition_combination_op_t.class.getEnumConstants(); 23 | if (swigValue < swigValues.length 24 | && swigValue >= 0 25 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 26 | for (tiledb_query_condition_combination_op_t swigEnum : swigValues) 27 | if (swigEnum.swigValue == swigValue) return swigEnum; 28 | throw new IllegalArgumentException( 29 | "No enum " + tiledb_query_condition_combination_op_t.class + " with value " + swigValue); 30 | } 31 | 32 | @SuppressWarnings("unused") 33 | private tiledb_query_condition_combination_op_t() { 34 | this.swigValue = SwigNext.next++; 35 | } 36 | 37 | @SuppressWarnings("unused") 38 | private tiledb_query_condition_combination_op_t(int swigValue) { 39 | this.swigValue = swigValue; 40 | SwigNext.next = swigValue + 1; 41 | } 42 | 43 | @SuppressWarnings("unused") 44 | private tiledb_query_condition_combination_op_t( 45 | tiledb_query_condition_combination_op_t swigEnum) { 46 | this.swigValue = swigEnum.swigValue; 47 | SwigNext.next = this.swigValue + 1; 48 | } 49 | 50 | private final int swigValue; 51 | 52 | private static class SwigNext { 53 | private static int next = 0; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_query_condition_op_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_query_condition_op_t { 12 | TILEDB_LT(0), 13 | TILEDB_LE(1), 14 | TILEDB_GT(2), 15 | TILEDB_GE(3), 16 | TILEDB_EQ(4), 17 | TILEDB_NE(5), 18 | TILEDB_IN(6), 19 | TILEDB_NOT_IN(7); 20 | 21 | public final int swigValue() { 22 | return swigValue; 23 | } 24 | 25 | public static tiledb_query_condition_op_t swigToEnum(int swigValue) { 26 | tiledb_query_condition_op_t[] swigValues = tiledb_query_condition_op_t.class.getEnumConstants(); 27 | if (swigValue < swigValues.length 28 | && swigValue >= 0 29 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 30 | for (tiledb_query_condition_op_t swigEnum : swigValues) 31 | if (swigEnum.swigValue == swigValue) return swigEnum; 32 | throw new IllegalArgumentException( 33 | "No enum " + tiledb_query_condition_op_t.class + " with value " + swigValue); 34 | } 35 | 36 | @SuppressWarnings("unused") 37 | private tiledb_query_condition_op_t() { 38 | this.swigValue = SwigNext.next++; 39 | } 40 | 41 | @SuppressWarnings("unused") 42 | private tiledb_query_condition_op_t(int swigValue) { 43 | this.swigValue = swigValue; 44 | SwigNext.next = swigValue + 1; 45 | } 46 | 47 | @SuppressWarnings("unused") 48 | private tiledb_query_condition_op_t(tiledb_query_condition_op_t swigEnum) { 49 | this.swigValue = swigEnum.swigValue; 50 | SwigNext.next = this.swigValue + 1; 51 | } 52 | 53 | private final int swigValue; 54 | 55 | private static class SwigNext { 56 | private static int next = 0; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_query_status_details_reason_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_query_status_details_reason_t { 12 | TILEDB_REASON_NONE(0), 13 | TILEDB_REASON_USER_BUFFER_SIZE(1), 14 | TILEDB_REASON_MEMORY_BUDGET(2); 15 | 16 | public final int swigValue() { 17 | return swigValue; 18 | } 19 | 20 | public static tiledb_query_status_details_reason_t swigToEnum(int swigValue) { 21 | tiledb_query_status_details_reason_t[] swigValues = 22 | tiledb_query_status_details_reason_t.class.getEnumConstants(); 23 | if (swigValue < swigValues.length 24 | && swigValue >= 0 25 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 26 | for (tiledb_query_status_details_reason_t swigEnum : swigValues) 27 | if (swigEnum.swigValue == swigValue) return swigEnum; 28 | throw new IllegalArgumentException( 29 | "No enum " + tiledb_query_status_details_reason_t.class + " with value " + swigValue); 30 | } 31 | 32 | @SuppressWarnings("unused") 33 | private tiledb_query_status_details_reason_t() { 34 | this.swigValue = SwigNext.next++; 35 | } 36 | 37 | @SuppressWarnings("unused") 38 | private tiledb_query_status_details_reason_t(int swigValue) { 39 | this.swigValue = swigValue; 40 | SwigNext.next = swigValue + 1; 41 | } 42 | 43 | @SuppressWarnings("unused") 44 | private tiledb_query_status_details_reason_t(tiledb_query_status_details_reason_t swigEnum) { 45 | this.swigValue = swigEnum.swigValue; 46 | SwigNext.next = this.swigValue + 1; 47 | } 48 | 49 | private final int swigValue; 50 | 51 | private static class SwigNext { 52 | private static int next = 0; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_query_status_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_query_status_t { 12 | TILEDB_FAILED(0), 13 | TILEDB_COMPLETED(1), 14 | TILEDB_INPROGRESS(2), 15 | TILEDB_INCOMPLETE(3), 16 | TILEDB_UNINITIALIZED(4), 17 | TILEDB_INITIALIZED(5); 18 | 19 | public final int swigValue() { 20 | return swigValue; 21 | } 22 | 23 | public static tiledb_query_status_t swigToEnum(int swigValue) { 24 | tiledb_query_status_t[] swigValues = tiledb_query_status_t.class.getEnumConstants(); 25 | if (swigValue < swigValues.length 26 | && swigValue >= 0 27 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 28 | for (tiledb_query_status_t swigEnum : swigValues) 29 | if (swigEnum.swigValue == swigValue) return swigEnum; 30 | throw new IllegalArgumentException( 31 | "No enum " + tiledb_query_status_t.class + " with value " + swigValue); 32 | } 33 | 34 | @SuppressWarnings("unused") 35 | private tiledb_query_status_t() { 36 | this.swigValue = SwigNext.next++; 37 | } 38 | 39 | @SuppressWarnings("unused") 40 | private tiledb_query_status_t(int swigValue) { 41 | this.swigValue = swigValue; 42 | SwigNext.next = swigValue + 1; 43 | } 44 | 45 | @SuppressWarnings("unused") 46 | private tiledb_query_status_t(tiledb_query_status_t swigEnum) { 47 | this.swigValue = swigEnum.swigValue; 48 | SwigNext.next = this.swigValue + 1; 49 | } 50 | 51 | private final int swigValue; 52 | 53 | private static class SwigNext { 54 | private static int next = 0; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_query_type_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_query_type_t { 12 | TILEDB_READ(0), 13 | TILEDB_WRITE(1), 14 | TILEDB_DELETE(2), 15 | TILEDB_UPDATE(3), 16 | TILEDB_MODIFY_EXCLUSIVE(4); 17 | 18 | public final int swigValue() { 19 | return swigValue; 20 | } 21 | 22 | public static tiledb_query_type_t swigToEnum(int swigValue) { 23 | tiledb_query_type_t[] swigValues = tiledb_query_type_t.class.getEnumConstants(); 24 | if (swigValue < swigValues.length 25 | && swigValue >= 0 26 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 27 | for (tiledb_query_type_t swigEnum : swigValues) 28 | if (swigEnum.swigValue == swigValue) return swigEnum; 29 | throw new IllegalArgumentException( 30 | "No enum " + tiledb_query_type_t.class + " with value " + swigValue); 31 | } 32 | 33 | @SuppressWarnings("unused") 34 | private tiledb_query_type_t() { 35 | this.swigValue = SwigNext.next++; 36 | } 37 | 38 | @SuppressWarnings("unused") 39 | private tiledb_query_type_t(int swigValue) { 40 | this.swigValue = swigValue; 41 | SwigNext.next = swigValue + 1; 42 | } 43 | 44 | @SuppressWarnings("unused") 45 | private tiledb_query_type_t(tiledb_query_type_t swigEnum) { 46 | this.swigValue = swigEnum.swigValue; 47 | SwigNext.next = this.swigValue + 1; 48 | } 49 | 50 | private final int swigValue; 51 | 52 | private static class SwigNext { 53 | private static int next = 0; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_vfs_mode_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_vfs_mode_t { 12 | TILEDB_VFS_READ(0), 13 | TILEDB_VFS_WRITE(1), 14 | TILEDB_VFS_APPEND(2); 15 | 16 | public final int swigValue() { 17 | return swigValue; 18 | } 19 | 20 | public static tiledb_vfs_mode_t swigToEnum(int swigValue) { 21 | tiledb_vfs_mode_t[] swigValues = tiledb_vfs_mode_t.class.getEnumConstants(); 22 | if (swigValue < swigValues.length 23 | && swigValue >= 0 24 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 25 | for (tiledb_vfs_mode_t swigEnum : swigValues) 26 | if (swigEnum.swigValue == swigValue) return swigEnum; 27 | throw new IllegalArgumentException( 28 | "No enum " + tiledb_vfs_mode_t.class + " with value " + swigValue); 29 | } 30 | 31 | @SuppressWarnings("unused") 32 | private tiledb_vfs_mode_t() { 33 | this.swigValue = SwigNext.next++; 34 | } 35 | 36 | @SuppressWarnings("unused") 37 | private tiledb_vfs_mode_t(int swigValue) { 38 | this.swigValue = swigValue; 39 | SwigNext.next = swigValue + 1; 40 | } 41 | 42 | @SuppressWarnings("unused") 43 | private tiledb_vfs_mode_t(tiledb_vfs_mode_t swigEnum) { 44 | this.swigValue = swigEnum.swigValue; 45 | SwigNext.next = this.swigValue + 1; 46 | } 47 | 48 | private final int swigValue; 49 | 50 | private static class SwigNext { 51 | private static int next = 0; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/io/tiledb/libtiledb/tiledb_walk_order_t.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (https://www.swig.org). 3 | * Version 4.1.1 4 | * 5 | * Do not make changes to this file unless you know what you are doing - modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public enum tiledb_walk_order_t { 12 | TILEDB_PREORDER(0), 13 | TILEDB_POSTORDER(1); 14 | 15 | public final int swigValue() { 16 | return swigValue; 17 | } 18 | 19 | public static tiledb_walk_order_t swigToEnum(int swigValue) { 20 | tiledb_walk_order_t[] swigValues = tiledb_walk_order_t.class.getEnumConstants(); 21 | if (swigValue < swigValues.length 22 | && swigValue >= 0 23 | && swigValues[swigValue].swigValue == swigValue) return swigValues[swigValue]; 24 | for (tiledb_walk_order_t swigEnum : swigValues) 25 | if (swigEnum.swigValue == swigValue) return swigEnum; 26 | throw new IllegalArgumentException( 27 | "No enum " + tiledb_walk_order_t.class + " with value " + swigValue); 28 | } 29 | 30 | @SuppressWarnings("unused") 31 | private tiledb_walk_order_t() { 32 | this.swigValue = SwigNext.next++; 33 | } 34 | 35 | @SuppressWarnings("unused") 36 | private tiledb_walk_order_t(int swigValue) { 37 | this.swigValue = swigValue; 38 | SwigNext.next = swigValue + 1; 39 | } 40 | 41 | @SuppressWarnings("unused") 42 | private tiledb_walk_order_t(tiledb_walk_order_t swigEnum) { 43 | this.swigValue = swigEnum.swigValue; 44 | SwigNext.next = this.swigValue + 1; 45 | } 46 | 47 | private final int swigValue; 48 | 49 | private static class SwigNext { 50 | private static int next = 0; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/test/java/io/tiledb/java/api/FilterListTest.java: -------------------------------------------------------------------------------- 1 | package io.tiledb.java.api; 2 | 3 | import org.junit.Assert; 4 | import org.junit.Test; 5 | 6 | public class FilterListTest { 7 | 8 | @Test 9 | public void testFilterList() throws Exception { 10 | try (Context ctx = new Context(); 11 | FilterList filterList = new FilterList(ctx)) { 12 | Assert.assertEquals(filterList.getNumFilters(), 0L); 13 | try (ByteShuffleFilter bsFilter = new ByteShuffleFilter(ctx); 14 | ZstdFilter zstdFilter = new ZstdFilter(ctx, 5)) { 15 | filterList.addFilter(bsFilter); 16 | filterList.addFilter(zstdFilter); 17 | } 18 | Assert.assertEquals(filterList.getNumFilters(), 2L); 19 | try (Filter filter1 = filterList.getFilter(0L); 20 | Filter filter2 = filterList.getFilter(1L)) { 21 | Assert.assertTrue(filter1 instanceof ByteShuffleFilter); 22 | Assert.assertTrue(filter2 instanceof ZstdFilter); 23 | Assert.assertEquals(((ZstdFilter) filter2).getLevel(), 5L); 24 | } 25 | } 26 | } 27 | 28 | @Test 29 | public void testFilterListChunksize() throws Exception { 30 | try (Context ctx = new Context(); 31 | FilterList filterList = new FilterList(ctx).setMaxChunkSize(1024L)) { 32 | Assert.assertEquals(filterList.getMaxChunkSize(), 1024L); 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/test/java/io/tiledb/java/api/VersionTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * The MIT License (MIT) 3 | * 4 | * Copyright (c) 2020 TileDB, Inc. 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy 7 | * of this software and associated documentation files (the "Software"), to deal 8 | * in the Software without restriction, including without limitation the rights 9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | * copies of the Software, and to permit persons to whom the Software is 11 | * furnished to do so, subject to the following conditions: 12 | * 13 | * The above copyright notice and this permission notice shall be included in all 14 | * copies or substantial portions of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | * SOFTWARE. 23 | */ 24 | 25 | package io.tiledb.java.api; 26 | 27 | import org.junit.Assert; 28 | import org.junit.Test; 29 | 30 | public class VersionTest { 31 | 32 | @Test 33 | public void testVersion() { 34 | Version version = new Version(); 35 | System.out.println(version); 36 | Assert.assertTrue(version.getMajor() == 2); 37 | Assert.assertTrue(version.getMinor() == 28); 38 | Assert.assertTrue(version.getRevision() == 0); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/test/resources/data/1.6/quickstart_sparse_array/__190b4c4c13fd4c94ab93bb1d380450ac_1563504665179/__coords.tdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TileDB-Inc/TileDB-Java/041e67794bea5efe9a11397a64815d335265a874/src/test/resources/data/1.6/quickstart_sparse_array/__190b4c4c13fd4c94ab93bb1d380450ac_1563504665179/__coords.tdb -------------------------------------------------------------------------------- /src/test/resources/data/1.6/quickstart_sparse_array/__190b4c4c13fd4c94ab93bb1d380450ac_1563504665179/__fragment_metadata.tdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TileDB-Inc/TileDB-Java/041e67794bea5efe9a11397a64815d335265a874/src/test/resources/data/1.6/quickstart_sparse_array/__190b4c4c13fd4c94ab93bb1d380450ac_1563504665179/__fragment_metadata.tdb -------------------------------------------------------------------------------- /src/test/resources/data/1.6/quickstart_sparse_array/__190b4c4c13fd4c94ab93bb1d380450ac_1563504665179/a.tdb: -------------------------------------------------------------------------------- 1 |   -------------------------------------------------------------------------------- /src/test/resources/data/1.6/quickstart_sparse_array/__array_schema.tdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TileDB-Inc/TileDB-Java/041e67794bea5efe9a11397a64815d335265a874/src/test/resources/data/1.6/quickstart_sparse_array/__array_schema.tdb -------------------------------------------------------------------------------- /src/test/resources/data/1.6/quickstart_sparse_array/__lock.tdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TileDB-Inc/TileDB-Java/041e67794bea5efe9a11397a64815d335265a874/src/test/resources/data/1.6/quickstart_sparse_array/__lock.tdb -------------------------------------------------------------------------------- /src/test/resources/data/text.txt: -------------------------------------------------------------------------------- 1 | Simple text file. 2 | With two lines. -------------------------------------------------------------------------------- /swig/README.md: -------------------------------------------------------------------------------- 1 | # SWIG 2 | 3 | This directory contains the basic SWIG files. 4 | 5 | ### customCode 6 | Contains custom method implementations. 7 | 8 | - NativeLibLoader.java: Helper methods for loading native libraries (e.g. `.so` files) 9 | - PointerUtils.java: Pointer conversion methods 10 | - Utils.java: Custom JNI methods 11 | 12 | The rest of the files are auto-generated. 13 | 14 | ### tiledb.i 15 | The SWIG interface (`.i`) file. More info can be found at the official SWIG documentation: http://www.swig.org/tutorial.html 16 | 17 | ### tiledb_java_extensions.h 18 | Contains some extensions of the `tiledb.h` (https://github.com/TileDB-Inc/TileDB/blob/dev/tiledb/sm/c_api/tiledb.h) library that we use in Java. Most of these extensions are implementations of 19 | `dump()` methods that print the dumb to the `stdout` (e.g. `tiledb_fragment_info_dump_stdout`). -------------------------------------------------------------------------------- /swig/customCode/Callback.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (http://www.swig.org). 3 | * Version 3.0.12 4 | * 5 | * Do not make changes to this file unless you know what you are doing--modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public interface Callback { 12 | public void call(); 13 | } 14 | -------------------------------------------------------------------------------- /swig/customCode/PathCallback.java: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * This file was automatically generated by SWIG (http://www.swig.org). 3 | * Version 3.0.12 4 | * 5 | * Do not make changes to this file unless you know what you are doing--modify 6 | * the SWIG interface file instead. 7 | * ----------------------------------------------------------------------------- */ 8 | 9 | package io.tiledb.libtiledb; 10 | 11 | public abstract class PathCallback { 12 | 13 | private int call(long path, int type) { 14 | charArray jpath = new charArray(path, false); 15 | tiledb_object_t jtype = tiledb_object_t.swigToEnum(type); 16 | return call(Utils.charArrayGet(jpath, 0), jtype); 17 | } 18 | 19 | public abstract int call(String path, tiledb_object_t type); 20 | } 21 | --------------------------------------------------------------------------------