module Cequel

Cequel is a library providing robust data modeling and query building capabilities for Cassandra using CQL3.

@see Cequel::Record Cequel::Record, an object-row mapper for CQL3 @see Cequel::Metal Cequel::Metal, a query builder for CQL3 statements @see Cequel::Schema Cequel::Schema::Keyspace, which provides full read-write

access to the database schema defined in Cassandra

Constants

InvalidSchemaMigration

@since 1.0.0

Raised when the schema defined in Cassandra cannot be modified to match the schema defined in the application (e.g., changing the type of a primary key)

NoSuchKeyspaceError
NoSuchTableError
VERSION

The current version of the library

Public Class Methods

connect(configuration = nil) click to toggle source

Get a handle to a keyspace

@param (see Metal::Keyspace#initialize) @option (see Metal::Keyspace#initialize) @return [Metal::Keyspace] a handle to a keyspace

# File lib/cequel.rb, line 36
def self.connect(configuration = nil)
  Metal::Keyspace.new(configuration || {})
end