com.aliyun.openservices.ots.model
类 MultiRowQueryCriteria

java.lang.Object
  继承者 com.aliyun.openservices.ots.model.RowQueryCriteria
      继承者 com.aliyun.openservices.ots.model.MultiRowQueryCriteria

public class MultiRowQueryCriteria
extends RowQueryCriteria


构造方法摘要
MultiRowQueryCriteria(String tableName)
           
 
方法摘要
 void addRow(RowPrimaryKey primaryKey)
          向多行查询条件中插入要查询的行的主键。
 List<RowPrimaryKey> getRowKeys()
          获取该表中所要要查询的行的主键。
 void setRowKeys(List<RowPrimaryKey> primaryKeys)
          设置该表中所有要查询的行的主键。
 
从类 com.aliyun.openservices.ots.model.RowQueryCriteria 继承的方法
addColumnsToGet, addColumnsToGet, getColumnsToGet, getTableName, setColumnsToGet, setTableName
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MultiRowQueryCriteria

public MultiRowQueryCriteria(String tableName)
方法详细信息

addRow

public void addRow(RowPrimaryKey primaryKey)
向多行查询条件中插入要查询的行的主键。

参数:
primaryKey - 要查询的行的主键。

getRowKeys

public List<RowPrimaryKey> getRowKeys()
获取该表中所要要查询的行的主键。

返回:
所有行的主键。

setRowKeys

public void setRowKeys(List<RowPrimaryKey> primaryKeys)
设置该表中所有要查询的行的主键。

参数:
primaryKeys - 所有行的主键。


Copyright © 2014. All Rights Reserved.