Package io.tiledb.cloud.rest_api.api
Class RegisteredTaskGraphsApi
- java.lang.Object
-
- io.tiledb.cloud.rest_api.api.RegisteredTaskGraphsApi
-
public class RegisteredTaskGraphsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RegisteredTaskGraphsApi()
RegisteredTaskGraphsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteRegisteredTaskGraph(java.lang.String namespace, java.lang.String name)
Delete the given registered task graph.okhttp3.Call
deleteRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, ApiCallback<java.lang.Void> _callback)
(asynchronously) Delete the given registered task graph.okhttp3.Call
deleteRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback)
Build call for deleteRegisteredTaskGraphApiResponse<java.lang.Void>
deleteRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name)
Delete the given registered task graph.ApiClient
getApiClient()
java.lang.String
getCustomBaseUrl()
int
getHostIndex()
RegisteredTaskGraph
getRegisteredTaskGraph(java.lang.String namespace, java.lang.String name)
Fetch the contents of this registered task graph.okhttp3.Call
getRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, ApiCallback<RegisteredTaskGraph> _callback)
(asynchronously) Fetch the contents of this registered task graph.okhttp3.Call
getRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback)
Build call for getRegisteredTaskGraphjava.util.List<TaskGraphSharing>
getRegisteredTaskGraphSharingPolicies(java.lang.String namespace, java.lang.String name)
Get sharing policies for the task graph.okhttp3.Call
getRegisteredTaskGraphSharingPoliciesAsync(java.lang.String namespace, java.lang.String name, ApiCallback<java.util.List<TaskGraphSharing>> _callback)
(asynchronously) Get sharing policies for the task graph.okhttp3.Call
getRegisteredTaskGraphSharingPoliciesCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback)
Build call for getRegisteredTaskGraphSharingPoliciesApiResponse<java.util.List<TaskGraphSharing>>
getRegisteredTaskGraphSharingPoliciesWithHttpInfo(java.lang.String namespace, java.lang.String name)
Get sharing policies for the task graph.ApiResponse<RegisteredTaskGraph>
getRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name)
Fetch the contents of this registered task graph.void
registerRegisteredTaskGraph(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph)
Register a task graph in the given namespace, with the given name.okhttp3.Call
registerRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback<java.lang.Void> _callback)
(asynchronously) Register a task graph in the given namespace, with the given name.okhttp3.Call
registerRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback _callback)
Build call for registerRegisteredTaskGraphApiResponse<java.lang.Void>
registerRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph)
Register a task graph in the given namespace, with the given name.void
setApiClient(ApiClient apiClient)
void
setCustomBaseUrl(java.lang.String customBaseUrl)
void
setHostIndex(int hostIndex)
void
shareRegisteredTaskGraph(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing)
Share a task graph.okhttp3.Call
shareRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing, ApiCallback<java.lang.Void> _callback)
(asynchronously) Share a task graph.okhttp3.Call
shareRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing, ApiCallback _callback)
Build call for shareRegisteredTaskGraphApiResponse<java.lang.Void>
shareRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing)
Share a task graph.void
updateRegisteredTaskGraph(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph)
Update the contents of an existing registered task graph.okhttp3.Call
updateRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback<java.lang.Void> _callback)
(asynchronously) Update the contents of an existing registered task graph.okhttp3.Call
updateRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback _callback)
Build call for updateRegisteredTaskGraphApiResponse<java.lang.Void>
updateRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph)
Update the contents of an existing registered task graph.
-
-
-
Constructor Detail
-
RegisteredTaskGraphsApi
public RegisteredTaskGraphsApi()
-
RegisteredTaskGraphsApi
public RegisteredTaskGraphsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
deleteRegisteredTaskGraphCall
public okhttp3.Call deleteRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback) throws ApiException
Build call for deleteRegisteredTaskGraph- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteRegisteredTaskGraph
public void deleteRegisteredTaskGraph(java.lang.String namespace, java.lang.String name) throws ApiException
Delete the given registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteRegisteredTaskGraphWithHttpInfo
public ApiResponse<java.lang.Void> deleteRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name) throws ApiException
Delete the given registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteRegisteredTaskGraphAsync
public okhttp3.Call deleteRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) Delete the given registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getRegisteredTaskGraphCall
public okhttp3.Call getRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback) throws ApiException
Build call for getRegisteredTaskGraph- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getRegisteredTaskGraph
public RegisteredTaskGraph getRegisteredTaskGraph(java.lang.String namespace, java.lang.String name) throws ApiException
Fetch the contents of this registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)- Returns:
- RegisteredTaskGraph
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRegisteredTaskGraphWithHttpInfo
public ApiResponse<RegisteredTaskGraph> getRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name) throws ApiException
Fetch the contents of this registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)- Returns:
- ApiResponse<RegisteredTaskGraph>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRegisteredTaskGraphAsync
public okhttp3.Call getRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, ApiCallback<RegisteredTaskGraph> _callback) throws ApiException
(asynchronously) Fetch the contents of this registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getRegisteredTaskGraphSharingPoliciesCall
public okhttp3.Call getRegisteredTaskGraphSharingPoliciesCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback) throws ApiException
Build call for getRegisteredTaskGraphSharingPolicies- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getRegisteredTaskGraphSharingPolicies
public java.util.List<TaskGraphSharing> getRegisteredTaskGraphSharingPolicies(java.lang.String namespace, java.lang.String name) throws ApiException
Get sharing policies for the task graph.- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)- Returns:
- List<TaskGraphSharing>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRegisteredTaskGraphSharingPoliciesWithHttpInfo
public ApiResponse<java.util.List<TaskGraphSharing>> getRegisteredTaskGraphSharingPoliciesWithHttpInfo(java.lang.String namespace, java.lang.String name) throws ApiException
Get sharing policies for the task graph.- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)- Returns:
- ApiResponse<List<TaskGraphSharing>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRegisteredTaskGraphSharingPoliciesAsync
public okhttp3.Call getRegisteredTaskGraphSharingPoliciesAsync(java.lang.String namespace, java.lang.String name, ApiCallback<java.util.List<TaskGraphSharing>> _callback) throws ApiException
(asynchronously) Get sharing policies for the task graph.- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
registerRegisteredTaskGraphCall
public okhttp3.Call registerRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback _callback) throws ApiException
Build call for registerRegisteredTaskGraph- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- Task graph to register. (optional)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
registerRegisteredTaskGraph
public void registerRegisteredTaskGraph(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph) throws ApiException
Register a task graph in the given namespace, with the given name.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- Task graph to register. (optional)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
registerRegisteredTaskGraphWithHttpInfo
public ApiResponse<java.lang.Void> registerRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph) throws ApiException
Register a task graph in the given namespace, with the given name.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- Task graph to register. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
registerRegisteredTaskGraphAsync
public okhttp3.Call registerRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) Register a task graph in the given namespace, with the given name.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- Task graph to register. (optional)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
shareRegisteredTaskGraphCall
public okhttp3.Call shareRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing, ApiCallback _callback) throws ApiException
Build call for shareRegisteredTaskGraph- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)taskGraphSharing
- Namespace and list of permissions to share with. An empty list of permissions will remove the namespace; if permissions already exist they will be deleted then new ones added. In the event of a failure, the new policies will be rolled back to prevent partial policies, and it's likely the UDF will not be shared with the namespace at all. (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
shareRegisteredTaskGraph
public void shareRegisteredTaskGraph(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing) throws ApiException
Share a task graph.- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)taskGraphSharing
- Namespace and list of permissions to share with. An empty list of permissions will remove the namespace; if permissions already exist they will be deleted then new ones added. In the event of a failure, the new policies will be rolled back to prevent partial policies, and it's likely the UDF will not be shared with the namespace at all. (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
shareRegisteredTaskGraphWithHttpInfo
public ApiResponse<java.lang.Void> shareRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing) throws ApiException
Share a task graph.- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)taskGraphSharing
- Namespace and list of permissions to share with. An empty list of permissions will remove the namespace; if permissions already exist they will be deleted then new ones added. In the event of a failure, the new policies will be rolled back to prevent partial policies, and it's likely the UDF will not be shared with the namespace at all. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
shareRegisteredTaskGraphAsync
public okhttp3.Call shareRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, TaskGraphSharing taskGraphSharing, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) Share a task graph.- Parameters:
namespace
- The namespace that owns the registered task graph. (required)name
- The name of the task graph. (required)taskGraphSharing
- Namespace and list of permissions to share with. An empty list of permissions will remove the namespace; if permissions already exist they will be deleted then new ones added. In the event of a failure, the new policies will be rolled back to prevent partial policies, and it's likely the UDF will not be shared with the namespace at all. (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
updateRegisteredTaskGraphCall
public okhttp3.Call updateRegisteredTaskGraphCall(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback _callback) throws ApiException
Build call for updateRegisteredTaskGraph- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- The new contents of the task graph. (optional)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
updateRegisteredTaskGraph
public void updateRegisteredTaskGraph(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph) throws ApiException
Update the contents of an existing registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- The new contents of the task graph. (optional)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateRegisteredTaskGraphWithHttpInfo
public ApiResponse<java.lang.Void> updateRegisteredTaskGraphWithHttpInfo(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph) throws ApiException
Update the contents of an existing registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- The new contents of the task graph. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateRegisteredTaskGraphAsync
public okhttp3.Call updateRegisteredTaskGraphAsync(java.lang.String namespace, java.lang.String name, RegisteredTaskGraph graph, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) Update the contents of an existing registered task graph.- Parameters:
namespace
- The namespace that owns this registered UDF. (required)name
- The name of the registered task graph. (required)graph
- The new contents of the task graph. (optional)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
-