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.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close