public class MultiRowQueryCriteria extends RowQueryCriteria
Note: The read parameters cannot be set separately for each row; the same query parameters must be used for multiple rows.
| 构造器和说明 |
|---|
MultiRowQueryCriteria(String tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
MultiRowQueryCriteria |
addRow(PrimaryKey primaryKey)
Insert the primary key of the row to be queried into the multi-row query condition.
|
MultiRowQueryCriteria |
addRow(PrimaryKey primaryKey,
byte[] token)
Insert the primary key of the row to be queried into the multi-row query condition.
|
void |
clear()
Clear all rows to be queried.
|
MultiRowQueryCriteria |
cloneWithoutRowKeys() |
PrimaryKey |
get(int index)
Get the primary key of a certain row.
|
List<PrimaryKey> |
getRowKeys()
Get the primary key of the row to be queried in this table.
|
List<byte[]> |
getTokens() |
boolean |
isEmpty() |
void |
setRowKeys(List<PrimaryKey> primaryKeys)
Set the primary keys of all rows to be queried in this table.
|
int |
size()
Get the number of rows to be queried.
|
addColumnsToGet, addColumnsToGet, addColumnsToGet, clearColumnsToGet, copyTo, getCacheBlocks, getColumnsToGet, getEndColumn, getFilter, getMaxVersions, getStartColumn, getTableName, getTimeRange, hasSetCacheBlock, hasSetEndColumn, hasSetFilter, hasSetMaxVersions, hasSetStartColumn, hasSetTimeRange, numColumnsToGet, setCacheBlocks, setEndColumn, setFilter, setMaxVersions, setStartColumn, setTableName, setTimeRange, setTimestamppublic MultiRowQueryCriteria(String tableName)
public MultiRowQueryCriteria addRow(PrimaryKey primaryKey)
primaryKey - The primary key of the row to be queried.public MultiRowQueryCriteria addRow(PrimaryKey primaryKey, byte[] token)
primaryKey - The primary key of the row to be queried.public List<PrimaryKey> getRowKeys()
public void setRowKeys(List<PrimaryKey> primaryKeys)
primaryKeys - The primary keys of all rows.public List<byte[]> getTokens()
public PrimaryKey get(int index)
If the row index does not exist, return null.
index - The index of the rowpublic void clear()
public int size()
public boolean isEmpty()
public MultiRowQueryCriteria cloneWithoutRowKeys()
Copyright © 2025. All Rights Reserved.