hbase-jruby 0.2.6-java → 0.3.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +16 -0
- data/README.md +303 -207
- data/hbase-jruby.gemspec +1 -1
- data/lib/hbase-jruby/byte_array.rb +25 -5
- data/lib/hbase-jruby/cell.rb +21 -10
- data/lib/hbase-jruby/dependency.rb +1 -5
- data/lib/hbase-jruby/hbase.rb +16 -1
- data/lib/hbase-jruby/row.rb +123 -260
- data/lib/hbase-jruby/schema.rb +115 -0
- data/lib/hbase-jruby/scoped/aggregation.rb +14 -0
- data/lib/hbase-jruby/scoped.rb +30 -23
- data/lib/hbase-jruby/table.rb +44 -22
- data/lib/hbase-jruby/util.rb +39 -5
- data/lib/hbase-jruby/version.rb +1 -1
- data/lib/hbase-jruby.rb +13 -13
- data/test/helper.rb +7 -1
- data/test/test_aggregation.rb +1 -1
- data/test/test_byte_array.rb +1 -1
- data/test/test_cell.rb +4 -5
- data/test/test_schema.rb +275 -0
- data/test/test_scoped.rb +33 -30
- data/test/test_table.rb +49 -86
- data/test/test_table_admin.rb +3 -3
- data/test/test_util.rb +7 -7
- metadata +5 -5
- data/lib/hbase-jruby/column_key.rb +0 -72
- data/test/test_column_key.rb +0 -49
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,22 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
0.3.0
|
5
|
+
-----
|
6
|
+
- Easier data access with table schema
|
7
|
+
- `HBase::Table#schema=` method to provide the schema of the table
|
8
|
+
- You can omit column family names on predefined columns
|
9
|
+
- Automatic type conversion for known columns
|
10
|
+
- *0.3.0 brings many backward-incompatible changes*
|
11
|
+
- *`Row#to_hash` and `Row#to_hash_with_versions` are now deprecated*. Use `to_h` and `to_H` instead without arguments.
|
12
|
+
- Default parameters for `HBase::Row#rowkey` and `HBase::Cell#rowkey` are now `:raw` instead of `:string`.
|
13
|
+
- `HBase::ColumnKey` is removed. Use plain 2-element Arrays instead.
|
14
|
+
- Enumerable classes (Table, Scoped, Row, ByteArray) now return Enumerator on each method when block not given
|
15
|
+
- `Cell#value` can now return the correct data type if defined in the schema. For Java byte array, use `Cell#raw`.
|
16
|
+
- `Row#[type|types]` methods no more take Array of columns as arguments
|
17
|
+
- Added `HBase::Table#scoped` method to return `HBase::Scoped` object for the table
|
18
|
+
- Added `HBase::Cell#{eql?,hash}` method for equaility check
|
19
|
+
|
4
20
|
0.2.6
|
5
21
|
-----
|
6
22
|
- Fixed `HBase::Scoped#filter` method to take short integer (byte, short, int) values
|