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

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

com.aliyun.openservices.ots.modelPrimaryKeyValue 的使用
 

声明为 PrimaryKeyValuecom.aliyun.openservices.ots.model 中的字段
static PrimaryKeyValue PrimaryKeyValue.INF_MAX
          表示主键值范围的最大值。
static PrimaryKeyValue PrimaryKeyValue.INF_MIN
          表示主键值范围的最小值。
 

返回 PrimaryKeyValuecom.aliyun.openservices.ots.model 中的方法
static PrimaryKeyValue PrimaryKeyValue.fromLong(long value)
          使用int值构造值的数据类型为PrimaryKeyType.INTEGERPrimaryKeyValue对象。
static PrimaryKeyValue PrimaryKeyValue.fromString(String value)
          使用String对象构造值的数据类型为PrimaryKeyType.STRINGPrimaryKeyValue对象。
static PrimaryKeyValue OTSProtocolHelper.toPrimaryKeyValue(OtsProtocol2.ColumnValue value)
           
 

返回变量类型为 PrimaryKeyValue 的类型的 com.aliyun.openservices.ots.model 中的方法
 Map<String,PrimaryKeyValue> RowPrimaryKey.getPrimaryKey()
          获取主键(Primary Key)列名称与值的对应字典(只读)。
 

参数类型为 PrimaryKeyValuecom.aliyun.openservices.ots.model 中的方法
 void RowPrimaryKey.addPrimaryKeyColumn(String name, PrimaryKeyValue value)
          添加主键(Primary Key)列的名称和值。
static OtsProtocol2.Column OTSProtocolHelper.buildColumn(String name, PrimaryKeyValue value)
           
static OtsProtocol2.ColumnValue OTSProtocolHelper.buildColumnValue(PrimaryKeyValue primaryKey)
           
static OtsProtocol2.Column OTSProtocolHelper.buildRangeColumn(String name, PrimaryKeyValue value)
           
 

类型变量类型为 PrimaryKeyValuecom.aliyun.openservices.ots.model 中的方法参数
static OtsProtocol2.Row OTSProtocolHelper.buildRow(Map<String,PrimaryKeyValue> primaryKey, Map<String,ColumnValue> attributeColumns)
           
 



Copyright © 2014. All Rights Reserved.