Package | Description |
---|---|
com.huawei.dli.restapi.api | |
com.huawei.dli.restapi.model |
Modifier and Type | Method and Description |
---|---|
ResponseJobInfo |
RestApi.checkSQL(String projectId,
SQLJobRequest sqLJobInfo,
String xAuthToken)
Check sql
Check the SQL grammar.
|
ResponseJobInfo |
RestApi.execute_0(String projectId,
String queueName,
SQLJobRequest sqLJobInfo,
String xAuthToken)
Submit job
This API is used to submit jobs to the cluster by executing SQL statements.
|
ResponseJobInfo |
RestApi.execute(String projectId,
SQLJobRequest sqLJobInfo,
String xAuthToken)
Submit job
This API is used to submit jobs to the cluster by executing SQL statements.
|
ResponseJobInfo |
RestApi.exportData(String projectId,
ExportJobRequest exportInfo,
String xAuthToken)
Export data
Export the data to a file.
|
ResponseJobInfo |
RestApi.importData(String projectId,
ImportJobRequest importExportInfo,
String xAuthToken)
Import data
Importing data from a file into a DLI table currently only supports importing data from OBS into DLI.
|
ResponseJobInfo |
RestApi.storeJobResult(String projectId,
String jobId,
String xAuthToken,
ExportCommonInfo exportCommonInfo)
Export job result
Export the results of the SQL statement to the OBS object store and only support the export of query results for \"QUERY\" type jobs.
|
Modifier and Type | Method and Description |
---|---|
ApiResponse<ResponseJobInfo> |
RestApi.checkSQLWithHttpInfo(String projectId,
SQLJobRequest sqLJobInfo,
String xAuthToken)
Check sql
Check the SQL grammar.
|
ApiResponse<ResponseJobInfo> |
RestApi.execute_0WithHttpInfo(String projectId,
String queueName,
SQLJobRequest sqLJobInfo,
String xAuthToken)
Submit job
This API is used to submit jobs to the cluster by executing SQL statements.
|
ApiResponse<ResponseJobInfo> |
RestApi.executeWithHttpInfo(String projectId,
SQLJobRequest sqLJobInfo,
String xAuthToken)
Submit job
This API is used to submit jobs to the cluster by executing SQL statements.
|
ApiResponse<ResponseJobInfo> |
RestApi.exportDataWithHttpInfo(String projectId,
ExportJobRequest exportInfo,
String xAuthToken)
Export data
Export the data to a file.
|
ApiResponse<ResponseJobInfo> |
RestApi.importDataWithHttpInfo(String projectId,
ImportJobRequest importExportInfo,
String xAuthToken)
Import data
Importing data from a file into a DLI table currently only supports importing data from OBS into DLI.
|
ApiResponse<ResponseJobInfo> |
RestApi.storeJobResultWithHttpInfo(String projectId,
String jobId,
String xAuthToken,
ExportCommonInfo exportCommonInfo)
Export job result
Export the results of the SQL statement to the OBS object store and only support the export of query results for \"QUERY\" type jobs.
|
Modifier and Type | Method and Description |
---|---|
okhttp3.Call |
RestApi.checkSQLAsync(String projectId,
SQLJobRequest sqLJobInfo,
String xAuthToken,
ApiCallback<ResponseJobInfo> callback)
Check sql (asynchronously)
Check the SQL grammar.
|
okhttp3.Call |
RestApi.execute_0Async(String projectId,
String queueName,
SQLJobRequest sqLJobInfo,
String xAuthToken,
ApiCallback<ResponseJobInfo> callback)
Submit job (asynchronously)
This API is used to submit jobs to the cluster by executing SQL statements.
|
okhttp3.Call |
RestApi.executeAsync(String projectId,
SQLJobRequest sqLJobInfo,
String xAuthToken,
ApiCallback<ResponseJobInfo> callback)
Submit job (asynchronously)
This API is used to submit jobs to the cluster by executing SQL statements.
|
okhttp3.Call |
RestApi.exportDataAsync(String projectId,
ExportJobRequest exportInfo,
String xAuthToken,
ApiCallback<ResponseJobInfo> callback)
Export data (asynchronously)
Export the data to a file.
|
okhttp3.Call |
RestApi.importDataAsync(String projectId,
ImportJobRequest importExportInfo,
String xAuthToken,
ApiCallback<ResponseJobInfo> callback)
Import data (asynchronously)
Importing data from a file into a DLI table currently only supports importing data from OBS into DLI.
|
okhttp3.Call |
RestApi.storeJobResultAsync(String projectId,
String jobId,
String xAuthToken,
ExportCommonInfo exportCommonInfo,
ApiCallback<ResponseJobInfo> callback)
Export job result (asynchronously)
Export the results of the SQL statement to the OBS object store and only support the export of query results for \"QUERY\" type jobs.
|
Modifier and Type | Method and Description |
---|---|
ResponseJobInfo |
ResponseJobInfo.addRowsItem(List<String> rowsItem) |
ResponseJobInfo |
ResponseJobInfo.addSchemaItem(Map<String,String> schemaItem) |
ResponseJobInfo |
ResponseJobInfo.errorCode(String errorCode) |
ResponseJobInfo |
ResponseJobInfo.errorMsg(String errorMsg) |
ResponseJobInfo |
ResponseJobInfo.isSuccess(Boolean isSuccess) |
ResponseJobInfo |
ResponseJobInfo.jobId(String jobId) |
ResponseJobInfo |
ResponseJobInfo.jobMode(String jobMode) |
ResponseJobInfo |
ResponseJobInfo.jobType(String jobType) |
ResponseJobInfo |
ResponseJobInfo.message(String message) |
ResponseJobInfo |
ResponseJobInfo.rows(List<List<String>> rows) |
ResponseJobInfo |
ResponseJobInfo.schema(List<Map<String,String>> schema) |
Copyright © 2023. All rights reserved.