junegunn / hbase-jruby

A JRuby binding for HBase
MIT License
38 stars 14 forks source link

Make Table#increment to return updated column values as Hash #22

Closed junegunn closed 11 years ago

junegunn commented 11 years ago
table.put :rowkey, :col1 => 1, :col2 => 2
table.increment :rowkey, :col1 => 100, :col2 => 200
  # { :col1 => 101, :col2 => 202 }

table.increment :rowkey => { :col1 => 100, :col2 => 200 }
  # { :rowkey => { :col1 => 101, :col2 => 202 } }