GravityLabs / HPaste

HBase DSL for Scala with MapReduce support
http://www.gravity.com/technology/
Apache License 2.0
127 stars 32 forks source link

Add a + operator to PutOp in order to chain operations created in different scopes #8

Open Lemmsjid opened 12 years ago

Lemmsjid commented 12 years ago

Say funcA and funcB create operations and you want to defer their execution until funcC.

PutOp should support + so this can be done.

Its signature should be such that only PutOps from the same table can be thus chained (otherwise it breaks hbase's concept of a batched put).