Liking cljdoc? Tell your friends :D

cbass.mutate

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.
raw docstring

flush-mutatorclj

(flush-mutator mutator)

get-buffered-mutatorclj

(get-buffered-mutator conn table-name)

Create a buffered mutator for the given table.

Create a buffered mutator for the given table.
raw docstring

get-increment-opclj

(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.

  • 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.

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.
raw docstring

incrementclj

(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.
raw docstring

increment-batchclj

(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
raw docstring

mutateclj

(mutate mutator mutations)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close