|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 PrimaryKeyValue 的软件包 | |
|---|---|
| com.aliyun.openservices.ots.model | |
| com.aliyun.openservices.ots.model 中 PrimaryKeyValue 的使用 |
|---|
| 声明为 PrimaryKeyValue 的 com.aliyun.openservices.ots.model 中的字段 | |
|---|---|
static PrimaryKeyValue |
PrimaryKeyRange.INF_MAX
表示主键值范围的最大值。 |
static PrimaryKeyValue |
PrimaryKeyRange.INF_MIN
表示主键值范围的最小值。 |
| 返回 PrimaryKeyValue 的 com.aliyun.openservices.ots.model 中的方法 | |
|---|---|
static PrimaryKeyValue |
PrimaryKeyValue.fromBoolean(boolean value)
使用 boolean值构造值的数据类型为PrimaryKeyType.BOOLEAN的
PrimaryKeyValue对象。 |
static PrimaryKeyValue |
PrimaryKeyValue.fromLong(long value)
使用 int值构造值的数据类型为PrimaryKeyType.INTEGER的
PrimaryKeyValue对象。 |
static PrimaryKeyValue |
PrimaryKeyValue.fromString(String value)
使用 String对象构造值的数据类型为PrimaryKeyType.STRING的
PrimaryKeyValue对象。 |
PrimaryKeyValue |
PrimaryKeyRange.getBegin()
返回主键范围的起始值。 |
PrimaryKeyValue |
PrimaryKeyRange.getEnd()
返回主键范围的终止值。 |
| 返回变量类型为 PrimaryKeyValue 的类型的 com.aliyun.openservices.ots.model 中的方法 | |
|---|---|
Map<String,PrimaryKeyValue> |
OffsetRowQueryCriteria.getPagingKeys()
获取主键(Primary Key)列名称与值的对应只读字典。 |
Map<String,PrimaryKeyValue> |
SingleRowQueryCriteria.getPrimaryKeys()
获取主键(Primary Key)列名称与值的对应字典(只读)。 |
Map<String,PrimaryKeyValue> |
RowChange.getPrimaryKeys()
获取主键(Primary Key)列名称与值的对应只读字典。 |
Map<String,PrimaryKeyValue> |
RangeRowQueryCriteria.getPrimaryKeys()
获取主键(Primary Key)列名称与值的对应只读字典。 |
| 参数类型为 PrimaryKeyValue 的 com.aliyun.openservices.ots.model 中的方法 | |
|---|---|
void |
OffsetRowQueryCriteria.addPaginKey(String name,
PrimaryKeyValue value)
添加主键(Primary Key)列的名称和值。 |
void |
SingleRowQueryCriteria.addPrimaryKey(String name,
PrimaryKeyValue value)
添加主键(Primary Key)列的名称和值。 |
void |
RowChange.addPrimaryKey(String name,
PrimaryKeyValue value)
添加主键(Primary Key)列的名称和值。 |
void |
RangeRowQueryCriteria.addPrimaryKey(String name,
PrimaryKeyValue value)
添加主键(Primary Key)列的名称和值。 |
void |
RangeRowQueryCriteria.setRange(String primaryKeyName,
PrimaryKeyValue begin,
PrimaryKeyValue end)
设置查询主键范围(左开右闭)。 |
| 参数类型为 PrimaryKeyValue 的 com.aliyun.openservices.ots.model 中的构造方法 | |
|---|---|
PrimaryKeyRange(String primaryKeyName,
PrimaryKeyValue begin,
PrimaryKeyValue end)
构造一个新的 PrimaryKeyRange实例。 |
|
PrimaryKeyRange(String primaryKeyName,
PrimaryKeyValue begin,
PrimaryKeyValue end,
PrimaryKeyType type)
构造一个新的 PrimaryKeyRange实例。 |
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||