com.aliyun.openservices.ots.model
类 SingleRowQueryCriteria
java.lang.Object
com.aliyun.openservices.ots.model.RowQueryCriteria
com.aliyun.openservices.ots.model.SingleRowQueryCriteria
public class SingleRowQueryCriteria
- extends RowQueryCriteria
表示获取一行数据的查询条件。
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleRowQueryCriteria
public SingleRowQueryCriteria(String tableName)
- 构造一个在给定名称的表中查询的条件。
- 参数:
tableName - 查询的表名。
getRowPrimaryKey
public RowPrimaryKey getRowPrimaryKey()
- 获取主键(Primary Key)列名称与值的对应字典(只读)。
- 返回:
- 主键(Primary Key)列名称与值的对应字典(只读)。
setPrimaryKey
public void setPrimaryKey(RowPrimaryKey primaryKey)
- 设置主键(Primary Key)。
- 参数:
primaryKey - 行的主键。
Copyright © 2014. All Rights Reserved.