程序包 | 说明 |
---|---|
com.aliyun.openservices.ots.model | |
com.aliyun.openservices.ots.utils |
限定符和类型 | 字段和说明 |
---|---|
static PrimaryKeyValue |
PrimaryKeyValue.INF_MAX
表示主键值范围的最大值。
|
static PrimaryKeyValue |
PrimaryKeyValue.INF_MIN
表示主键值范围的最小值。
|
限定符和类型 | 方法和说明 |
---|---|
static PrimaryKeyValue |
PrimaryKeyValue.fromBinary(byte[] value) |
static PrimaryKeyValue |
PrimaryKeyValue.fromColumn(ColumnValue value) |
static PrimaryKeyValue |
PrimaryKeyValue.fromLong(long value)
|
static PrimaryKeyValue |
PrimaryKeyValue.fromString(String value)
|
static PrimaryKeyValue |
OTSProtocolHelper.toPrimaryKeyValue(OtsProtocol2.ColumnValue value) |
限定符和类型 | 方法和说明 |
---|---|
Map<String,PrimaryKeyValue> |
RowPrimaryKey.getPrimaryKey()
获取主键(Primary Key)列名称与值的对应字典(只读)。
|
限定符和类型 | 方法和说明 |
---|---|
RowPrimaryKey |
RowPrimaryKey.addPrimaryKeyColumn(String name,
PrimaryKeyValue value)
添加主键(Primary Key)列的名称和值。
|
static OtsProtocol2.Column |
OTSProtocolHelper.buildColumn(String name,
PrimaryKeyValue value) |
static OtsProtocol2.ColumnValue |
OTSProtocolHelper.buildColumnValue(PrimaryKeyValue primaryKey) |
static OtsProtocol2.Column |
OTSProtocolHelper.buildRangeColumn(String name,
PrimaryKeyValue value) |
int |
PrimaryKeyValue.compareTo(PrimaryKeyValue target)
比较两个主键列的值的大小。
|
限定符和类型 | 方法和说明 |
---|---|
static OtsProtocol2.Row |
OTSProtocolHelper.buildRow(Map<String,PrimaryKeyValue> primaryKey,
Map<String,ColumnValue> attributeColumns) |
限定符和类型 | 方法和说明 |
---|---|
static int |
CalculateHelper.getPrimaryKeyDataSize(String name,
PrimaryKeyValue value)
计算一个PK列的数据大小
|
Copyright © 2016. All Rights Reserved.