程序包 | 说明 |
---|---|
com.alicloud.openservices.tablestore | |
com.alicloud.openservices.tablestore.model | |
com.alicloud.openservices.tablestore.writer |
限定符和类型 | 方法和说明 |
---|---|
TableStoreCallback<RowChange,ConsumedCapacity> |
TableStoreWriter.getCallback()
获取设置的Callback。
|
TableStoreCallback<RowChange,ConsumedCapacity> |
DefaultTableStoreWriter.getCallback() |
限定符和类型 | 方法和说明 |
---|---|
void |
TableStoreWriter.setCallback(TableStoreCallback<RowChange,ConsumedCapacity> callback)
设置Callback,数据写入成功或者失败均会通过Callback来反馈。
|
void |
DefaultTableStoreWriter.setCallback(TableStoreCallback<RowChange,ConsumedCapacity> callback) |
构造器和说明 |
---|
DefaultTableStoreWriter(AsyncClientInterface ots,
String tableName,
WriterConfig config,
TableStoreCallback<RowChange,ConsumedCapacity> callback,
Executor executor) |
限定符和类型 | 方法和说明 |
---|---|
ConsumedCapacity |
UpdateRowResponse.getConsumedCapacity()
获取此次操作消耗的能力单元。
|
ConsumedCapacity |
PutRowResponse.getConsumedCapacity()
获取此次操作消耗的能力单元。
|
ConsumedCapacity |
GetRowResponse.getConsumedCapacity()
获取此次操作消耗的能力单元。
|
ConsumedCapacity |
GetRangeResponse.getConsumedCapacity()
获取此次操作消耗的CapacityUnit。
|
ConsumedCapacity |
DeleteRowResponse.getConsumedCapacity()
获取此次操作消耗的能力单元。
|
ConsumedCapacity |
ComputeSplitsBySizeResponse.getConsumedCapacity()
获得ComputeSplitsBySize操作所消耗的CU数值。
|
ConsumedCapacity |
BatchWriteRowResponse.RowResult.getConsumedCapacity()
若该行查询成功,则返回消耗的能力单元。
|
ConsumedCapacity |
BatchGetRowResponse.RowResult.getConsumedCapacity() |
限定符和类型 | 方法和说明 |
---|---|
void |
ComputeSplitsBySizeResponse.setConsumedCapacity(ConsumedCapacity consumedCapacity)
设置ComputeSplitsBySize操作所消耗的CU数值参数。
|
构造器和说明 |
---|
BatchGetRowResponse.RowResult(String tableName,
Row row,
ConsumedCapacity consumedCapacity,
int index) |
BatchGetRowResponse.RowResult(String tableName,
Row row,
ConsumedCapacity consumedCapacity,
int index,
byte[] nextToken) |
BatchWriteRowResponse.RowResult(String tableName,
Row row,
ConsumedCapacity consumedCapacity,
int index)
internal use
|
DeleteRowResponse(Response meta,
Row row,
ConsumedCapacity consumedCapacity) |
GetRangeResponse(Response meta,
ConsumedCapacity consumedCapacity)
internal use
|
GetRowResponse(Response meta,
Row row,
ConsumedCapacity consumedCapacity) |
PutRowResponse(Response meta,
Row row,
ConsumedCapacity consumedCapacity) |
UpdateRowResponse(Response meta,
Row row,
ConsumedCapacity consumedCapacity) |
构造器和说明 |
---|
RowChangeEventHandler(AsyncClientInterface ots,
WriterConfig writerConfig,
TableStoreCallback<RowChange,ConsumedCapacity> callback,
Executor executor,
DefaultWriterStatistics writerStatistics) |
Copyright © 2017. All Rights Reserved.