程序包 | 说明 |
---|---|
com.alicloud.openservices.tablestore.core.protocol | |
com.alicloud.openservices.tablestore.model |
限定符和类型 | 方法和说明 |
---|---|
static PrimaryKeyType |
OTSProtocolParser.toPrimaryKeyType(OtsInternalApi.PrimaryKeyType type) |
限定符和类型 | 方法和说明 |
---|---|
static OtsInternalApi.PrimaryKeyType |
OTSProtocolBuilder.toPBPrimaryKeyType(PrimaryKeyType type) |
限定符和类型 | 方法和说明 |
---|---|
PrimaryKeyType |
PrimaryKeyValue.getType()
获取主键列的类型。
|
PrimaryKeyType |
PrimaryKeySchema.getType()
获取主键的类型。
|
static PrimaryKeyType |
PrimaryKeyType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static PrimaryKeyType[] |
PrimaryKeyType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
Map<String,PrimaryKeyType> |
TableMeta.getPrimaryKeyMap()
返回主键的列名与类型的对应字典,该字典的遍历顺序与表中主键的顺序一致。
|
限定符和类型 | 方法和说明 |
---|---|
void |
TableMeta.addPrimaryKeyColumn(String name,
PrimaryKeyType type)
添加一个主键列。
|
void |
TableMeta.addPrimaryKeyColumn(String name,
PrimaryKeyType type,
PrimaryKeyOption option)
添加一个主键列。
|
void |
ComputeSplitsBySizeResponse.addPrimaryKeySchema(String name,
PrimaryKeyType type)
添加一个主键列定义。
|
void |
ComputeSplitsBySizeResponse.addPrimaryKeySchema(String name,
PrimaryKeyType type,
PrimaryKeyOption option)
添加一个主键列定义。
|
void |
PrimaryKeySchema.setType(PrimaryKeyType type)
设置主键的类型。
|
构造器和说明 |
---|
PrimaryKeySchema(String name,
PrimaryKeyType type) |
PrimaryKeySchema(String name,
PrimaryKeyType type,
PrimaryKeyOption option) |
Copyright © 2017. All Rights Reserved.