public interface IStore
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
createTable(Serializable t)
创建表
|
boolean |
del(Serializable t)
删除行
|
boolean |
deleteTable(Serializable t)
删除表
|
boolean |
exsitTable(Serializable t)
表是否存在
|
boolean |
get(Serializable t)
获得行
|
boolean |
getByMaxVersions(Serializable t,
int max,
NavigableMap<String,NavigableMap<Long,ColumnValueObject>> columnMap)
多版本查询
|
Objector |
getObjector() |
<T extends Serializable> |
getRange(Serializable start,
Serializable end,
List<? extends Serializable> range,
boolean asc,
int limit)
范围查询
|
ITableStoreService |
getTableStoreService()
表存储驱动
|
boolean |
increment(Serializable t)
自增行
|
boolean |
save(Serializable t)
保存行
|
void |
setObjector(Objector objector)
设置对象构造器
|
void |
setTableStoreService(ITableStoreService tableStoreService)
设置表存储驱动
|
boolean |
update(Serializable t)
更新行
|
boolean exsitTable(Serializable t) throws StoreException
t - StoreExceptionboolean createTable(Serializable t) throws StoreException
t - StoreExceptionboolean deleteTable(Serializable t) throws StoreException
t - StoreExceptionboolean save(Serializable t) throws StoreException
t - StoreExceptionboolean del(Serializable t) throws StoreException
t - StoreExceptionboolean get(Serializable t) throws StoreException
t - StoreExceptionboolean update(Serializable t) throws StoreException
t - StoreExceptionboolean increment(Serializable t) throws StoreException
t - StoreException<T extends Serializable> T getRange(Serializable start, Serializable end, List<? extends Serializable> range, boolean asc, int limit) throws StoreException
start - 开始对象end - 结束对象range - 返回结果集asc - 是否升序limit - 返回数量StoreExceptionboolean getByMaxVersions(Serializable t, int max, NavigableMap<String,NavigableMap<Long,ColumnValueObject>> columnMap) throws StoreException
t - 查询对象max - 最大版本columnMap - 返回结果集StoreExceptionObjector getObjector()
void setObjector(Objector objector)
objector - ITableStoreService getTableStoreService()
void setTableStoreService(ITableStoreService tableStoreService)
tableStoreService - Copyright © 2019. All rights reserved.