Package | Description |
---|---|
com.huawei.dli.restapi.api | |
com.huawei.dli.restapi.model |
Modifier and Type | Method and Description |
---|---|
ResponseInfo |
RestApi.alertResourceOrGroupOwner(String projectId,
UpdateResourceOwner body,
String xAuthToken)
Modify owner of resource
Modify owner of resource.
|
ResponseInfo |
RestApi.cancelJob_0(String projectId,
String queueName,
String jobId,
String xAuthToken)
Cancel job
Canceling a job that has already been submitted can not be canceled if the job has been completed or failed.
|
ResponseInfo |
RestApi.cancelJob(String projectId,
String jobId,
String xAuthToken)
Cancel job
Canceling a job that has already been submitted can not be canceled if the job has been completed or failed.
|
ResponseInfo |
RestApi.createDatabase(String projectId,
DatabaseInfo databaseInfo,
String xAuthToken)
Create database
create a database
|
ResponseInfo |
RestApi.createTable(String projectId,
String databaseName,
TableInfo tableInfo,
String xAuthToken)
Create a new table
Data location:DLI and OBS,OBS must set data_location and data_type parameter
|
ResponseInfo |
RestApi.dataAuthorize(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
List queue users
Privilege data permissions to the database or data table to other specified users.
|
ResponseInfo |
RestApi.deleteDatabase(String projectId,
String databaseName,
String xAuthToken)
Delete database
Delete database by database name.
|
ResponseInfo |
RestApi.deleteQueue(String projectId,
String queueName,
String xAuthToken)
Delete queue
Delete the specified queue.
|
ResponseInfo |
RestApi.deleteTable(String projectId,
String databaseName,
String tableName,
String xAuthToken)
Delete table
Delete the specified table.
|
ResponseInfo |
RestApi.shareQueue(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
Share queues
To share the specified queue with other users, you can assign the user the privilege to use the specified queue or to recover the usage privileges.
|
Modifier and Type | Method and Description |
---|---|
ApiResponse<ResponseInfo> |
RestApi.alertResourceOrGroupOwnerWithHttpInfo(String projectId,
UpdateResourceOwner body,
String xAuthToken)
Modify owner of resource
Modify owner of resource.
|
ApiResponse<ResponseInfo> |
RestApi.cancelJob_0WithHttpInfo(String projectId,
String queueName,
String jobId,
String xAuthToken)
Cancel job
Canceling a job that has already been submitted can not be canceled if the job has been completed or failed.
|
ApiResponse<ResponseInfo> |
RestApi.cancelJobWithHttpInfo(String projectId,
String jobId,
String xAuthToken)
Cancel job
Canceling a job that has already been submitted can not be canceled if the job has been completed or failed.
|
ApiResponse<ResponseInfo> |
RestApi.createDatabaseWithHttpInfo(String projectId,
DatabaseInfo databaseInfo,
String xAuthToken)
Create database
create a database
|
ApiResponse<ResponseInfo> |
RestApi.createTableWithHttpInfo(String projectId,
String databaseName,
TableInfo tableInfo,
String xAuthToken)
Create a new table
Data location:DLI and OBS,OBS must set data_location and data_type parameter
|
ApiResponse<ResponseInfo> |
RestApi.dataAuthorizeWithHttpInfo(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
List queue users
Privilege data permissions to the database or data table to other specified users.
|
ApiResponse<ResponseInfo> |
RestApi.deleteDatabaseWithHttpInfo(String projectId,
String databaseName,
String xAuthToken)
Delete database
Delete database by database name.
|
ApiResponse<ResponseInfo> |
RestApi.deleteQueueWithHttpInfo(String projectId,
String queueName,
String xAuthToken)
Delete queue
Delete the specified queue.
|
ApiResponse<ResponseInfo> |
RestApi.deleteTableWithHttpInfo(String projectId,
String databaseName,
String tableName,
String xAuthToken)
Delete table
Delete the specified table.
|
ApiResponse<ResponseInfo> |
RestApi.shareQueueWithHttpInfo(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
Share queues
To share the specified queue with other users, you can assign the user the privilege to use the specified queue or to recover the usage privileges.
|
Modifier and Type | Method and Description |
---|---|
okhttp3.Call |
RestApi.alertResourceOrGroupOwnerAsync(String projectId,
UpdateResourceOwner body,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Modify owner of resource (asynchronously)
Modify owner of resource.
|
okhttp3.Call |
RestApi.cancelJob_0Async(String projectId,
String queueName,
String jobId,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Cancel job (asynchronously)
Canceling a job that has already been submitted can not be canceled if the job has been completed or failed.
|
okhttp3.Call |
RestApi.cancelJobAsync(String projectId,
String jobId,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Cancel job (asynchronously)
Canceling a job that has already been submitted can not be canceled if the job has been completed or failed.
|
okhttp3.Call |
RestApi.createDatabaseAsync(String projectId,
DatabaseInfo databaseInfo,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Create database (asynchronously)
create a database
|
okhttp3.Call |
RestApi.createTableAsync(String projectId,
String databaseName,
TableInfo tableInfo,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Create a new table (asynchronously)
Data location:DLI and OBS,OBS must set data_location and data_type parameter
|
okhttp3.Call |
RestApi.dataAuthorizeAsync(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
List queue users (asynchronously)
Privilege data permissions to the database or data table to other specified users.
|
okhttp3.Call |
RestApi.deleteDatabaseAsync(String projectId,
String databaseName,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Delete database (asynchronously)
Delete database by database name.
|
okhttp3.Call |
RestApi.deleteQueueAsync(String projectId,
String queueName,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Delete queue (asynchronously)
Delete the specified queue.
|
okhttp3.Call |
RestApi.deleteTableAsync(String projectId,
String databaseName,
String tableName,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Delete table (asynchronously)
Delete the specified table.
|
okhttp3.Call |
RestApi.shareQueueAsync(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Share queues (asynchronously)
To share the specified queue with other users, you can assign the user the privilege to use the specified queue or to recover the usage privileges.
|
Modifier and Type | Method and Description |
---|---|
ResponseInfo |
ResponseInfo.isSuccess(Boolean isSuccess) |
ResponseInfo |
ResponseInfo.message(String message) |
Copyright © 2023. All rights reserved.