public class SingleRowQueryCriteria extends RowQueryCriteria implements IRow
| 构造器和说明 |
|---|
SingleRowQueryCriteria(String tableName)
Constructs a query condition for a table with the given name.
|
SingleRowQueryCriteria(String tableName,
PrimaryKey primaryKey)
Constructs a query condition in the table with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(IRow row) |
PrimaryKey |
getPrimaryKey() |
byte[] |
getToken() |
boolean |
hasSetToken() |
void |
setPrimaryKey(PrimaryKey primaryKey)
Set the primary key of the row.
|
void |
setToken(byte[] token) |
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 SingleRowQueryCriteria(String tableName)
tableName - The name of the table to querypublic SingleRowQueryCriteria(String tableName, PrimaryKey primaryKey)
tableName - The name of the table to query.primaryKey - The primary key of the row.public void setPrimaryKey(PrimaryKey primaryKey)
primaryKey - The primary key of the row.public byte[] getToken()
public void setToken(byte[] token)
public boolean hasSetToken()
public int compareTo(IRow row)
compareTo 在接口中 Comparable<IRow>public PrimaryKey getPrimaryKey()
getPrimaryKey 在接口中 IRowCopyright © 2025. All Rights Reserved.