程序包 | 说明 |
---|---|
com.aliyun.openservices.ots.model |
限定符和类型 | 方法和说明 |
---|---|
PrimaryKeyType |
PrimaryKeyValue.getType()
获取值的数据类型。
|
static PrimaryKeyType |
OTSProtocolHelper.toPrimaryKeyType(OtsProtocol2.ColumnType type) |
static PrimaryKeyType |
PrimaryKeyType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static PrimaryKeyType[] |
PrimaryKeyType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
Map<String,PrimaryKeyType> |
TableMeta.getPrimaryKey()
返回主键的列名与值的只读对应字典。
|
限定符和类型 | 方法和说明 |
---|---|
void |
TableMeta.addPrimaryKeyColumn(String name,
PrimaryKeyType type)
添加一个主键列,最终创建的表中主键的顺序与用户添加主键的顺序相同。
|
static OtsProtocol2.ColumnSchema |
OTSProtocolHelper.buildColumnSchema(String name,
PrimaryKeyType type) |
static OtsProtocol2.ColumnType |
OTSProtocolHelper.toPBColumnType(PrimaryKeyType pkType) |
Copyright © 2016. All Rights Reserved.