diff --git a/build.gradle b/build.gradle
index 87e58d3..cebdbd3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -155,10 +155,13 @@ dependencies {
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
+ implementation group: 'org.apache.arrow', name: 'arrow-vector', version: '9.0.0'
+ runtimeOnly group: 'org.apache.arrow', name: 'arrow-memory-netty', version: '9.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.mockito:mockito-core:3.12.4'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'junit:junit:4.13.1'
+
}
import org.gradle.plugins.signing.Sign
diff --git a/src/main/java/io/tiledb/cloud/CustomCode.txt b/src/main/java/io/tiledb/cloud/CustomCode.txt
new file mode 100644
index 0000000..f9cb66e
--- /dev/null
+++ b/src/main/java/io/tiledb/cloud/CustomCode.txt
@@ -0,0 +1,48 @@
+This file contains custom methods to add to the generated files.
+
+SqlApi.java
+
+/**
+ *
+ * Run a sql query
+ * @param namespace namespace to run task under is in (an organization name or user's username) (required)
+ * @param sql sql being submitted (required)
+ * @param acceptEncoding Encoding to use (optional)
+ * @return ApiResponse with byte[]
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+
Status Code
Description
Response Headers
+
200
JSON results in array of objects form, if the query returns results
* X-TILEDB-CLOUD-TASK-ID - Task ID for just completed request
+
204
SQL executed successfully
* X-TILEDB-CLOUD-TASK-ID - Task ID for just completed request
+
0
error response
-
+
+ */
+public ApiResponse runSQLWithHttpInfoBytes(String namespace, SQLParameters sql, String acceptEncoding) throws ApiException {
+ okhttp3.Call localVarCall = runSQLValidateBeforeCall(namespace, sql, acceptEncoding, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+}
+
+/**
+ *
+ * Run a sql query
+ * @param namespace namespace to run task under is in (an organization name or user's username) (required)
+ * @param sql sql being submitted (required)
+ * @param acceptEncoding Encoding to use (optional)
+ * @return byte[]
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+
Status Code
Description
Response Headers
+
200
JSON results in array of objects form, if the query returns results
* X-TILEDB-CLOUD-TASK-ID - Task ID for just completed request
+
204
SQL executed successfully
* X-TILEDB-CLOUD-TASK-ID - Task ID for just completed request