程序包 | 说明 |
---|---|
com.alicloud.openservices.tablestore.core.protocol | |
com.alicloud.openservices.tablestore.model |
限定符和类型 | 方法和说明 |
---|---|
PrimaryKeyValue |
PlainBufferCell.getPkCellValue() |
限定符和类型 | 方法和说明 |
---|---|
static byte[] |
PlainBufferBuilder.buildPrimaryKeyValueWithoutLengthPrefix(PrimaryKeyValue value) |
static int |
PlainBufferBuilder.computePrimaryKeyValue(PrimaryKeyValue value) |
static int |
PlainBufferBuilder.computePrimaryKeyValueWithoutLengthPrefix(PrimaryKeyValue value) |
void |
PlainBufferCell.setPkCellValue(PrimaryKeyValue pkCellValue) |
void |
PlainBufferCodedOutputStream.writeCellValue(PrimaryKeyValue value) |
static void |
PlainBufferBuilder.writePrimaryKeyValue(PrimaryKeyValue value,
PlainBufferOutputStream output) |
void |
PlainBufferCodedOutputStream.writePrimaryKeyValueWithoutLengthPrefix(PrimaryKeyValue value) |
限定符和类型 | 字段和说明 |
---|---|
static PrimaryKeyValue |
PrimaryKeyValue.AUTO_INCREMENT
表示主键值保留,其唯一的用途是用于PK递增列的填充。
|
static PrimaryKeyValue |
PrimaryKeyValue.INF_MAX
表示主键值范围的最大值,其唯一的用途是用于
SyncClientInterface.getRange(GetRangeRequest)
操作中表示主键列的范围,不能作为实际的数据写入TableStore,也不能作为除GetRange操作之外的读操作的参数。 |
static PrimaryKeyValue |
PrimaryKeyValue.INF_MIN
表示主键值范围的最小值,其唯一的用途是用于
SyncClientInterface.getRange(GetRangeRequest)
操作中表示主键列的范围,不能作为实际的数据写入TableStore,也不能作为除GetRange操作之外的读操作的参数。 |
限定符和类型 | 方法和说明 |
---|---|
static PrimaryKeyValue |
PrimaryKeyValue.fromBinary(byte[] value)
构造一个类型为
PrimaryKeyType.BINARY 的主键列。 |
static PrimaryKeyValue |
PrimaryKeyValue.fromColumn(ColumnValue value) |
static PrimaryKeyValue |
PrimaryKeyValue.fromLong(long value)
构造一个类型为
PrimaryKeyType.INTEGER 的主键列。 |
static PrimaryKeyValue |
PrimaryKeyValue.fromString(String value)
构造一个类型为
PrimaryKeyType.STRING 的主键列。 |
PrimaryKeyValue |
PartitionRange.getBegin()
返回范围的起始值。
|
PrimaryKeyValue |
PartitionRange.getEnd()
返回范围的终止值。
|
PrimaryKeyValue |
PrimaryKeyColumn.getValue()
获取主键列的值。
|
限定符和类型 | 方法和说明 |
---|---|
PrimaryKeyBuilder |
PrimaryKeyBuilder.addPrimaryKeyColumn(String name,
PrimaryKeyValue value) |
int |
PrimaryKeyValue.compareTo(PrimaryKeyValue target)
比较两个主键列的值的大小。
|
构造器和说明 |
---|
PartitionRange(PrimaryKeyValue begin,
PrimaryKeyValue end)
构造一个新的实例。
|
PrimaryKeyColumn(String name,
PrimaryKeyValue value)
根据指定的主键列的名称和主键列的值构造主键列。
|
Copyright © 2016. All Rights Reserved.