public class SingleRowQueryCriteria extends RowQueryCriteria implements IRow
构造器和说明 |
---|
SingleRowQueryCriteria(String tableName)
构造一个在给定名称的表中查询的条件。
|
SingleRowQueryCriteria(String tableName,
PrimaryKey primaryKey)
构造一个在给定名称的表中查询的条件。
|
限定符和类型 | 方法和说明 |
---|---|
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, setTimestamp
public 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
在接口中 Comparable<IRow>
public PrimaryKey getPrimaryKey()
getPrimaryKey
在接口中 IRow
Copyright © 2019. All Rights Reserved.