Skip to content

Releases: alibaba/simplehbase

simplehbase v0.98.2

25 Aug 06:23
Compare
Choose a tag to compare

增加对namespace的支持

删掉count sum相关代码。目前simplehbase98中未实现,保持代码干净。

新增以下接口和对应test。
public void delete(RowKey rowKey);
public void deleteList(List rowKeyList);
public void deleteList(RowKey startRowKey, RowKey endRowKey);

simplehbase v0.94.2

25 Aug 03:22
Compare
Choose a tag to compare

新增count和countsum hql service
新增count和countsum hql service的test

新增以下接口和对应test。
public void delete(RowKey rowKey);
public void deleteList(List rowKeyList);
public void deleteList(RowKey startRowKey, RowKey endRowKey);

simplehbase v0.98.1

29 Dec 13:44
Compare
Choose a tag to compare

版本说明
Simplehbase v0.98.x系列从原有simplehbase(基于hbase0.94开发)拉分支而产生。
主要原因为hbase0.94和hbase0.96,hbase0.98系列API差异较大。
Simplehbase V0.98.x系列基于hbase 0.98开发。对hbase 0.96提供兼容性测试(由于hbase 0.96系列官方已经中止开发,不建议使用)。

功能说明
主体功能同simplehbase,请参考simplehbase说明文档。

其他变更:
删除了接口AggregateService(统计相关的代码)。
删除了HBaseDataSource中simplehbase自带数据源相关功能的实现。
使用KeyValue的地方替换为使用Cell。

simplehbase v1.1

23 Dec 15:05
Compare
Choose a tag to compare

simplehbase自带的coprocessor修改包名。

simplehbase v1.0

12 Dec 13:16
Compare
Choose a tag to compare

Data Object需要被simpleHbase识别,除了原有annotation方式,新增POJO和xml配置方式。

新增count的实现,count时可以limit。

public long count(RowKey startRowKey, RowKey endRowKey,
@nullable AggregateExtInfo aggregateExtInfo);
public long count(RowKey startRowKey, RowKey endRowKey,
@nullable String id, @nullable Map<String, Object> para,
@nullable AggregateExtInfo aggregateExtInfo);

新增countAndSum。

public long[] countAndSum(RowKey startRowKey, RowKey endRowKey);
public long[] countAndSum(RowKey startRowKey, RowKey endRowKey,
@nullable AggregateExtInfo aggregateExtInfo);
public long[] countAndSum(RowKey startRowKey, RowKey endRowKey,
@nullable String id, @nullable Map<String, Object> para);
public long[] countAndSum(RowKey startRowKey, RowKey endRowKey,
@nullable String id, @nullable Map<String, Object> para,
@nullable AggregateExtInfo aggregateExtInfo);

新增batch get功能。

public List findObjectBatch(List rowKeyList,Class<? extends T> type);
public List<SimpleHbaseDOWithKeyResult> findObjectAndKeyBatch(List rowKeyList, Class<? extends T> type);

增加异常描述family和qualifier,rowKeyHandler,方便问题排查。

调整测试代码。

simplehbase v0.9

30 Jun 07:01
Compare
Choose a tag to compare
----不兼容改动------
修改HBaseDataSource
删除HBaseDataSource的simpleHbaseDataSourceConfigResource;
删除ConfigOfDataSource

----功能增强--------
修改HBaseDataSource
支持自定义htablePoolService;
支持SimpleHbaseHTablePool    

新增SimpleHbaseHTablePool
可以按照指定时间间隔flush HTable。

新增SimpleHbaseHTableFactory
可以配置线程池
可以配置autoFlush

新增HTablePoolService    
新增HTablePoolAdaptor

新增intelligentScanSize功能。
可以根据limit的值设定scan的cachingsize大小。

simplehbase v0.8

08 Apr 02:46
Compare
Choose a tag to compare

接口新增
public void putObjectList(List<PutRequest> putRequestList);
public void deleteObjectList(List rowKeyList, Class type); public void putObjectListMV(List> putRequests,long timestamp) public void putObjectListMV(List> putRequests,Date timestamp) public void putObjectListMV(List> putRequestList) public void deleteObjectMV(RowKey rowKey, Class type, long timeStamp)
public void deleteObjectMV(RowKey rowKey, Class type, Date timeStamp) public void deleteObjectListMV(List rowKeyList, Class type,long timeStamp)
public void deleteObjectListMV(List rowKeyList, Class type,Date timeStamp) public void deleteObjectListMV(List deleteRequestList,Class type);

Util新增
public static RowKey getEndRowKeyOfPrefix(RowKey prefixRowKey)

性能改进
1 把get的实现从scan调回get。

simplehbase v0.7

25 Mar 04:18
Compare
Choose a tag to compare

(不兼容改动)
RowKeyHandler接口convert结果由object改为RowKey。
SimpleHbaseCellResult修改原有rowObject的类型从Object到RowKey。

(兼容改动)
BasicService新增返回DO和RowKey接口。
SimpleHbaseDOResult新增RowKey结果字段。

(内部代码优化)
提取构造scan为baseclient的一个方法。
增加post构造scan方法,可以方便实现局部二级索引,或者是small scan特性。
优化代码,把Object的实现全部代理到DOWithKey上面去。
删除POJO的java class type和schema中的type的对比,简化代码,如果class type不匹配,用运行时异常。
修改delete实现,避免无用的scan。
修改说明文档

simplehbase v0.6

22 Mar 07:02
Compare
Choose a tag to compare

功能同v0.5.1,调整了目录结构。

simplehbase v0.5.1

21 Mar 03:35
Compare
Choose a tag to compare

第一个release版本。