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

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

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

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

返回 PrimaryKeyValuecom.aliyun.openservices.ots.model 中的方法
static PrimaryKeyValue PrimaryKeyValue.fromBoolean(boolean value)
          使用boolean值构造值的数据类型为PrimaryKeyType.BOOLEANPrimaryKeyValue对象。
static PrimaryKeyValue PrimaryKeyValue.fromLong(long value)
          使用int值构造值的数据类型为PrimaryKeyType.INTEGERPrimaryKeyValue对象。
static PrimaryKeyValue PrimaryKeyValue.fromString(String value)
          使用String对象构造值的数据类型为PrimaryKeyType.STRINGPrimaryKeyValue对象。
 PrimaryKeyValue PrimaryKeyRange.getBegin()
          返回主键范围的起始值。
 PrimaryKeyValue PrimaryKeyRange.getEnd()
          返回主键范围的终止值。
 

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

参数类型为 PrimaryKeyValuecom.aliyun.openservices.ots.model 中的方法
 void OffsetRowQueryCriteria.addPaginKey(String name, PrimaryKeyValue value)
          添加主键(Primary Key)列的名称和值。
 void SingleRowQueryCriteria.addPrimaryKey(String name, PrimaryKeyValue value)
          添加主键(Primary Key)列的名称和值。
 void RowChange.addPrimaryKey(String name, PrimaryKeyValue value)
          添加主键(Primary Key)列的名称和值。
 void RangeRowQueryCriteria.addPrimaryKey(String name, PrimaryKeyValue value)
          添加主键(Primary Key)列的名称和值。
 void RangeRowQueryCriteria.setRange(String primaryKeyName, PrimaryKeyValue begin, PrimaryKeyValue end)
          设置查询主键范围(左开右闭)。
 

参数类型为 PrimaryKeyValuecom.aliyun.openservices.ots.model 中的构造方法
PrimaryKeyRange(String primaryKeyName, PrimaryKeyValue begin, PrimaryKeyValue end)
           构造一个新的PrimaryKeyRange实例。
PrimaryKeyRange(String primaryKeyName, PrimaryKeyValue begin, PrimaryKeyValue end, PrimaryKeyType type)
           构造一个新的PrimaryKeyRange实例。
 



Copyright © 2013. All Rights Reserved.