public class SingleRowQueryCriteria extends RowQueryCriteria implements IRow
| Constructor and Description |
|---|
SingleRowQueryCriteria(String tableName)
构造一个在给定名称的表中查询的条件。
|
SingleRowQueryCriteria(String tableName,
PrimaryKey primaryKey)
构造一个在给定名称的表中查询的条件。
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IRow row) |
PrimaryKey |
getPrimaryKey() |
byte[] |
getToken() |
boolean |
hasSetToken() |
void |
setPrimaryKey(PrimaryKey primaryKey)
设置行的主键。
|
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 - 查询的表名public SingleRowQueryCriteria(String tableName, PrimaryKey primaryKey)
tableName - 查询的表名primaryKey - 行的主键public void setPrimaryKey(PrimaryKey primaryKey)
primaryKey - 行的主键。public byte[] getToken()
public void setToken(byte[] token)
public boolean hasSetToken()
public int compareTo(IRow row)
compareTo in interface Comparable<IRow>public PrimaryKey getPrimaryKey()
getPrimaryKey in interface IRowCopyright © 2024. All Rights Reserved.