|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.aliyun.openservices.ots.OTSClient
public class OTSClient
访问阿里云开放结构化数据服务(Open Table Service, OTS)的入口类。
| 构造方法摘要 | |
|---|---|
OTSClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName)
使用指定的OTS Endpoint和默认配置构造一个新的 OTSClient实例。 |
|
OTSClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config)
使用指定的OTS Endpoint和配置构造一个新的 OTSClient实例。 |
|
OTSClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config,
OTSServiceConfiguration otsConfig)
使用指定的OTS Endpoint和配置构造一个新的 OTSClient实例。 |
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public OTSClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName)
OTSClient实例。
endpoint - OTS服务的endpoint。accessKeyId - 访问OTS服务的Access ID。accessKeySecret - 访问OTS服务的Access Key。
public OTSClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config)
OTSClient实例。
endpoint - OTS服务的endpoint。accessKeyId - 访问OTS服务的Access ID。accessKeySecret - 访问OTS服务的Access Key。config - 客户端配置信息(ClientConfiguration)。
如果传入null则使用默认配置。
public OTSClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config,
OTSServiceConfiguration otsConfig)
OTSClient实例。
endpoint - OTS服务的endpoint。accessKeyId - 访问OTS服务的Access ID。accessKeySecret - 访问OTS服务的Access Key。config - 客户端配置信息(ClientConfiguration)。
如果传入null则使用默认配置。otsConfig - OTS服务相关配置信息(OTSServiceConfiguration)。
如果传入null则使用默认配置。| 方法详细信息 |
|---|
public URI getEndpoint()
public String getInstanceName()
public CreateTableResult createTable(CreateTableRequest createTableRequest)
throws OTSException,
ClientException
OTS 复制的描述此方法为非查询操作,SDK不会对其进行重试(即使设置最大重试次数大于0也不会重试)
OTS 中的 createTablecreateTableRequest - 执行CreateTable操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public ListTableResult listTable()
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 listTableOTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public DescribeTableResult describeTable(DescribeTableRequest describeTableRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 describeTabledescribeTableRequest - 执行DescribeTable操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public DeleteTableResult deleteTable(DeleteTableRequest deleteTableRequest)
throws OTSException,
ClientException
OTS 复制的描述此方法为非查询操作,SDK不会对其进行重试(即使设置最大重试次数大于0也不会重试)
OTS 中的 deleteTabledeleteTableRequest - 执行DeleteTable操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public UpdateTableResult updateTable(UpdateTableRequest updateTableRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 updateTableupdateTableRequest - 执行UpdateTable操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public GetRowResult getRow(GetRowRequest getRowRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 getRowgetRowRequest - 执行GetRow操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public PutRowResult putRow(PutRowRequest putRowRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 putRowputRowRequest - 执行PutRow操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public UpdateRowResult updateRow(UpdateRowRequest updateRowRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 updateRowupdateRowRequest - 执行UpdateRow操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public DeleteRowResult deleteRow(DeleteRowRequest deleteRowRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 deleteRowdeleteRowRequest - 执行DeleteRow操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public BatchGetRowResult batchGetRow(BatchGetRowRequest batchGetRowRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 batchGetRowbatchGetRowRequest - 执行BatchGetRow操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public BatchWriteRowResult batchWriteRow(BatchWriteRowRequest batchWriteRowRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 batchWriteRowbatchWriteRowRequest - 执行BatchWriteRow操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public GetRangeResult getRange(GetRangeRequest getRangeRequest)
throws OTSException,
ClientException
OTS 复制的描述
OTS 中的 getRangegetRangeRequest - 执行GetRange操作所需参数的封装。
OTSException - OTS访问返回错误消息
ClientException - 请求的返回结果无效,
或由于网络原因请求失败,
或访问超时。
public Iterator<Row> createRangeIterator(RangeIteratorParameter rangeIteratorParameter)
throws OTSException,
ClientException
OTS 中的 createRangeIteratorOTSException
ClientException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||