程序包 | 说明 |
---|---|
com.alicloud.openservices.tablestore.timestream | |
com.alicloud.openservices.tablestore.timestream.model |
限定符和类型 | 方法和说明 |
---|---|
void |
TimestreamDataTable.asyncWrite(TimestreamIdentifier identifier,
Point point)
异步写入数据,如果写入失败需要通过
TableStoreCallback 来获取
异步接口,通过TableStoreWriter 写入数据,相比同步接口,该接口数据写入的吞吐更好
注意:若TableStoreWriter的缓冲区满,则该操作会被block |
void |
TimestreamDataTable.write(TimestreamIdentifier identifier,
Point point)
同步写入数据,如果数据写入失败会抛异常
|
限定符和类型 | 方法和说明 |
---|---|
protected Point |
Point.addField(Column col) |
Point |
Point.Builder.build() |
Point |
PointIterator.next() |
Copyright © 2019. All Rights Reserved.