| Package | Description |
|---|---|
| com.alicloud.openservices.tablestore.core.protocol | |
| com.alicloud.openservices.tablestore.model |
| Modifier and Type | Method and Description |
|---|---|
static PrimaryKeyType |
OTSProtocolParser.toPrimaryKeyType(OtsInternalApi.PrimaryKeyType type) |
| Modifier and Type | Method and Description |
|---|---|
static OtsInternalApi.PrimaryKeyType |
OTSProtocolBuilder.toPBPrimaryKeyType(PrimaryKeyType type) |
| Modifier and Type | Method and Description |
|---|---|
PrimaryKeyType |
PrimaryKeyValue.getType()
获取主键列的类型。
|
PrimaryKeyType |
PrimaryKeySchema.getType()
获取主键的类型。
|
static PrimaryKeyType |
PrimaryKeyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimaryKeyType[] |
PrimaryKeyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,PrimaryKeyType> |
TableMeta.getPrimaryKeyMap()
返回主键的列名与类型的对应字典,该字典的遍历顺序与表中主键的顺序一致。
|
| Modifier and Type | Method and Description |
|---|---|
void |
TimeseriesTableMeta.addFieldPrimaryKey(String name,
PrimaryKeyType type) |
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)
设置主键的类型。
|
| Constructor and Description |
|---|
PrimaryKeySchema(String name,
PrimaryKeyType type) |
PrimaryKeySchema(String name,
PrimaryKeyType type,
PrimaryKeyOption option) |
Copyright © 2024. All Rights Reserved.