Helper methods to allow for mutations https://hbase.apache.org/1.2/apidocs/org/apache/hadoop/hbase/client/Mutation.html Right now it only supports increment.
Supports basic table operations or a BufferedMutator for async use.
Helper methods to allow for mutations https://hbase.apache.org/1.2/apidocs/org/apache/hadoop/hbase/client/Mutation.html Right now it only supports increment. Supports basic table operations or a BufferedMutator for async use.
(flush-mutator mutator)(get-buffered-mutator conn table-name)Create a buffered mutator for the given table.
Create a buffered mutator for the given table.
(get-increment-op row-key family columns_and_amounts)(get-increment-op row-key family column amount)This method creates insert mutation calls for hbase.
This can be called with either a single column and amount or a list of pairs to set
See tests_mutate.clj for examples.
This method creates insert mutation calls for hbase. - family can be a string or a keyword - row-key should be a string - columns may be specified as either a keyword or a string This can be called with either a single column and amount or a list of pairs to set See tests_mutate.clj for examples.
(increment conn table row-key family columns_and_amounts)(increment conn table row-key family column amount)Perform a single increment operation.
Perform a single increment operation.
(increment-batch conn table increments)Process increments in batch. Increments is a vector obtained by calls to get-increment-op
Process increments in batch. Increments is a vector obtained by calls to get-increment-op
(mutate mutator mutations)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |