public class MultiRowQueryCriteria extends RowQueryCriteria
构造器和说明 |
---|
MultiRowQueryCriteria(String tableName) |
限定符和类型 | 方法和说明 |
---|---|
void |
addRow(RowPrimaryKey primaryKey)
向多行查询条件中插入要查询的行的主键。
|
void |
clear()
清空要查询的所有行。
|
MultiRowQueryCriteria |
cloneWithoutRowKeys() |
RowPrimaryKey |
get(int index)
获取某行的主键。
|
List<RowPrimaryKey> |
getRowKeys()
获取该表中所要要查询的行的主键。
|
boolean |
isEmpty() |
void |
setRowKeys(List<RowPrimaryKey> primaryKeys)
设置该表中所有要查询的行的主键。
|
int |
size()
获取要查询的行的个数。
|
addColumnsToGet, addColumnsToGet, copyTo, getColumnsToGet, getFilter, getTableName, setColumnsToGet, setFilter, setTableName
public MultiRowQueryCriteria(String tableName)
public void addRow(RowPrimaryKey primaryKey)
primaryKey
- 要查询的行的主键。public List<RowPrimaryKey> getRowKeys()
public void setRowKeys(List<RowPrimaryKey> primaryKeys)
primaryKeys
- 所有行的主键。public RowPrimaryKey get(int index)
若该行index不存在,则返回null。
index
- 该行的索引public void clear()
public int size()
public boolean isEmpty()
public MultiRowQueryCriteria cloneWithoutRowKeys()
Copyright © 2016. All Rights Reserved.