类 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()
          获取值的数据类型。
static PrimaryKeyType OTSProtocolHelper.toPrimaryKeyType(OtsProtocol2.ColumnType type)
           
static PrimaryKeyType PrimaryKeyType.valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static PrimaryKeyType[] PrimaryKeyType.values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 

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

参数类型为 PrimaryKeyTypecom.aliyun.openservices.ots.model 中的方法
 void TableMeta.addPrimaryKeyColumn(String name, PrimaryKeyType type)
          添加一个主键列,最终创建的表中主键的顺序与用户添加主键的顺序相同。
static OtsProtocol2.ColumnSchema OTSProtocolHelper.buildColumnSchema(String name, PrimaryKeyType type)
           
static OtsProtocol2.ColumnType OTSProtocolHelper.toPBColumnType(PrimaryKeyType pkType)
           
 



Copyright © 2014. All Rights Reserved.