Sha256: 87afa9a9074463eb8f193d33e1704bae6a74f1711620fa03d466a4b74a5ab06b

Contents?: true

Size: 1.16 KB

Versions: 30

Compression:

Stored size: 1.16 KB

Contents

# Redi2casa <a href="http://badge.fury.io/rb/redi2casa"><img src="https://badge.fury.io/rb/redi2casa@2x.png" alt="Gem Version" height="18"></a>

Redis datastructures using Cassandra.

## Installation

    $ gem install redi2casa

#### Configuring cassandra

###### You need to install cassandra-2.0.x (please follow these instructions, https://gist.github.com/vireshas/7462447)

    From the cloned location execute:
    cqlsh -f cqlsh_cmds --debug
    cassandra-cli -k redi2casa -f cassandra_cli_cmds

## Usage

    require "redi2casa"
    r = Redi2casa.new ["localhost"], 'redi2casa'

    Available:  [hset, hget, hincrby, lpush, ltrim, lpop, lrange, rpush, rpop]

    You should be passing an extra param(hash) when you call hget to retrieve a hash
    r.hset "a", "b", "hello_world"
    r.hget "a", "b", "hash"  #the last parameter is needed at the moment

  You can find more examples here: https://gist.github.com/vireshas/99bc322cf0ac42fbf7ee

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
redi2casa-0.2.13 README.md
redi2casa-0.2.12 README.md
redi2casa-0.2.11 README.md
redi2casa-0.2.10 README.md
redi2casa-0.2.9 README.md
redi2casa-0.2.8 README.md
redi2casa-0.2.7 README.md
redi2casa-0.2.6 README.md
redi2casa-0.2.5 README.md
redi2casa-0.2.4 README.md
redi2casa-0.2.3 README.md
redi2casa-0.2.2 README.md
redi2casa-0.2.1 README.md
redi2casa-0.2.0 README.md
redi2casa-0.1.9 README.md
redi2casa-0.1.8 README.md
redi2casa-0.1.7 README.md
redi2casa-0.1.6 README.md
redi2casa-0.1.5 README.md
redi2casa-0.1.4 README.md