| 程序包 | 说明 |
|---|---|
| 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()
Get the type of the primary key column.
|
PrimaryKeyType |
PrimaryKeySchema.getType()
Get the type of the primary key.
|
static PrimaryKeyType |
PrimaryKeyType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static PrimaryKeyType[] |
PrimaryKeyType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,PrimaryKeyType> |
TableMeta.getPrimaryKeyMap()
Returns the dictionary corresponding to the column names and types of the primary key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TimeseriesTableMeta.addFieldPrimaryKey(String name,
PrimaryKeyType type) |
void |
TableMeta.addPrimaryKeyColumn(String name,
PrimaryKeyType type)
Add a primary key column.
|
void |
TableMeta.addPrimaryKeyColumn(String name,
PrimaryKeyType type,
PrimaryKeyOption option)
Add a primary key column.
|
void |
ComputeSplitsBySizeResponse.addPrimaryKeySchema(String name,
PrimaryKeyType type)
Add a primary key column definition.
|
void |
ComputeSplitsBySizeResponse.addPrimaryKeySchema(String name,
PrimaryKeyType type,
PrimaryKeyOption option)
Add a primary key column definition.
|
void |
PrimaryKeySchema.setType(PrimaryKeyType type)
Set the type of the primary key.
|
| 构造器和说明 |
|---|
PrimaryKeySchema(String name,
PrimaryKeyType type) |
PrimaryKeySchema(String name,
PrimaryKeyType type,
PrimaryKeyOption option) |
Copyright © 2025. All Rights Reserved.