public class DliServiceProxy extends Object implements IDliServiceProxy
Constructor and Description |
---|
DliServiceProxy(ConnectionResource connRes) |
Modifier and Type | Method and Description |
---|---|
CancelJobResponse |
cancelJob(String jobId) |
DescribeTableResponse |
describeTableInfo(String dbName,
String tblName) |
ExecuteJobResponse |
execute(RequestExecuteSql request) |
DownloadIterator |
exportJobResult(String jobId) |
String |
getCharSet() |
GetJobResultResponse |
getJobResult(String jobId,
int pageSize,
int currentPage) |
com.huawei.dli.sdk.common.JobResultInfo |
getJobStatus(String jobId) |
String |
getProjectId() |
String |
getQueueName() |
com.huawei.dli.sdk.common.TableSchema |
getResultSchema(String jobId) |
String |
getServiceVersion() |
GetTablesResponse |
getTablesInfo(String dbName) |
public DliServiceProxy(ConnectionResource connRes)
public String getProjectId()
public String getServiceVersion()
public String getQueueName()
public String getCharSet()
public ExecuteJobResponse execute(RequestExecuteSql request) throws DliException
execute
in interface IDliServiceProxy
DliException
public com.huawei.dli.sdk.common.JobResultInfo getJobStatus(String jobId) throws DliException
getJobStatus
in interface IDliServiceProxy
DliException
public com.huawei.dli.sdk.common.TableSchema getResultSchema(String jobId) throws DliException
getResultSchema
in interface IDliServiceProxy
DliException
public GetJobResultResponse getJobResult(String jobId, int pageSize, int currentPage) throws DliException
getJobResult
in interface IDliServiceProxy
DliException
public DownloadIterator exportJobResult(String jobId) throws DliException
exportJobResult
in interface IDliServiceProxy
DliException
public CancelJobResponse cancelJob(String jobId) throws DliException
cancelJob
in interface IDliServiceProxy
DliException
public GetTablesResponse getTablesInfo(String dbName) throws DliException
getTablesInfo
in interface IDliServiceProxy
DliException
public DescribeTableResponse describeTableInfo(String dbName, String tblName) throws DliException
describeTableInfo
in interface IDliServiceProxy
DliException
Copyright © 2023. All rights reserved.