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

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

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

返回 PrimaryKeyTypecom.aliyun.openservices.ots.model 中的方法
 PrimaryKeyType PrimaryKeyValue.getType()
          获取值的数据类型。
 PrimaryKeyType PrimaryKeyRange.getType()
          返回主键的数据类型。
static PrimaryKeyType PrimaryKeyType.valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static PrimaryKeyType[] PrimaryKeyType.values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 

返回变量类型为 PrimaryKeyType 的类型的 com.aliyun.openservices.ots.model 中的方法
 Map<String,PrimaryKeyType> ViewMeta.getPrimaryKeys()
          返回主键的列名与值的只读对应字典。
 Map<String,PrimaryKeyType> TableMeta.getPrimaryKeys()
          返回主键的列名与值的只读对应字典。
 

参数类型为 PrimaryKeyTypecom.aliyun.openservices.ots.model 中的方法
 void ViewMeta.addPrimaryKey(String name, PrimaryKeyType type)
          添加一个主键列。
 void TableMeta.addPrimaryKey(String name, PrimaryKeyType type)
          添加一个主键列。
 

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



Copyright © 2013. All Rights Reserved.