类 com.aliyun.openservices.ots.model.PartitionKeyValue
的使用

使用 PartitionKeyValue 的软件包
com.aliyun.openservices.ots   
com.aliyun.openservices.ots.model   
 

com.aliyun.openservices.ots 中 PartitionKeyValue 的使用
 

参数类型为 PartitionKeyValue 的 com.aliyun.openservices.ots 中的方法
 String OTSClient.startTransaction(String entityName, PartitionKeyValue pkValue)
           
 String OTS.startTransaction(String entityName, PartitionKeyValue pkValue)
          在表(Table)或表组(Table Group)上开始一个Partition级别的事务(Transaction),并得到该事务ID。
 

com.aliyun.openservices.ots.model 中 PartitionKeyValue 的使用
 

返回 PartitionKeyValue 的 com.aliyun.openservices.ots.model 中的方法
static PartitionKeyValue PartitionKeyValue.fromLong(long value)
          使用int值构造值的数据类型为PartitionKeyType.INTEGER的PartitionKeyValue对象。
static PartitionKeyValue PartitionKeyValue.fromString(String value)
          使用String对象构造值的数据类型为PartitionKeyType.STRING的PartitionKeyValue对象。
 

参数类型为 PartitionKeyValue 的 com.aliyun.openservices.ots.model 中的方法
static OtsProtocol.ColumnValue OTSProtocolHelper.buildColumnValue(PartitionKeyValue partKey)
           
static byte[] OTSProtocolHelper.buildStartTransactionRequest(String entityName, PartitionKeyValue pkValue)
           
 



Copyright © 2013. All Rights Reserved.