Module: Cequel
- Extended by:
- Uuids
- Defined in:
- lib/cequel.rb,
lib/cequel/type.rb,
lib/cequel/util.rb,
lib/cequel/metal.rb,
lib/cequel/uuids.rb,
lib/cequel/errors.rb,
lib/cequel/record.rb,
lib/cequel/schema.rb,
lib/cequel/version.rb,
lib/cequel/metal/row.rb,
lib/cequel/metal/batch.rb,
lib/cequel/metal/writer.rb,
lib/cequel/record/bound.rb,
lib/cequel/record/dirty.rb,
lib/cequel/schema/patch.rb,
lib/cequel/schema/table.rb,
lib/cequel/spec_support.rb,
lib/cequel/metal/deleter.rb,
lib/cequel/metal/logging.rb,
lib/cequel/metal/updater.rb,
lib/cequel/record/errors.rb,
lib/cequel/record/schema.rb,
lib/cequel/record/scoped.rb,
lib/cequel/schema/column.rb,
lib/cequel/metal/data_set.rb,
lib/cequel/metal/inserter.rb,
lib/cequel/metal/keyspace.rb,
lib/cequel/record/finders.rb,
lib/cequel/record/railtie.rb,
lib/cequel/instrumentation.rb,
lib/cequel/metal/statement.rb,
lib/cequel/schema/keyspace.rb,
lib/cequel/record/callbacks.rb,
lib/cequel/metal/incrementer.rb,
lib/cequel/record/collection.rb,
lib/cequel/record/conversion.rb,
lib/cequel/record/properties.rb,
lib/cequel/record/record_set.rb,
lib/cequel/record/timestamps.rb,
lib/cequel/record/bulk_writes.rb,
lib/cequel/record/persistence.rb,
lib/cequel/record/validations.rb,
lib/cequel/metal/batch_manager.rb,
lib/cequel/record/associations.rb,
lib/cequel/schema/table_differ.rb,
lib/cequel/schema/table_reader.rb,
lib/cequel/schema/table_writer.rb,
lib/cequel/metal/request_logger.rb,
lib/cequel/schema/table_updater.rb,
lib/cequel/schema/table_desc_dsl.rb,
lib/cequel/schema/table_property.rb,
lib/cequel/record/mass_assignment.rb,
lib/cequel/metal/row_specification.rb,
lib/cequel/record/data_set_builder.rb,
lib/cequel/record/record_generator.rb,
lib/cequel/schema/update_table_dsl.rb,
lib/cequel/spec_support/preparation.rb,
lib/cequel/schema/migration_validator.rb,
lib/cequel/metal/cql_row_specification.rb,
lib/cequel/record/has_many_association.rb,
lib/cequel/metal/policy/cassandra_error.rb,
lib/cequel/record/association_collection.rb,
lib/cequel/record/belongs_to_association.rb,
lib/cequel/record/lazy_record_collection.rb,
lib/cequel/record/configuration_generator.rb,
lib/cequel/metal/new_relic_instrumentation.rb
Overview
Cequel is a library providing robust data modeling and query building capabilities for Cassandra using CQL3.
Defined Under Namespace
Modules: Instrumentation, Metal, Record, Schema, SpecSupport, Type, Util, Uuids
Constant Summary collapse
- InvalidSchemaMigration =
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)
Class.new(StandardError)
- NoSuchKeyspaceError =
Class.new(StandardError)
- NoSuchTableError =
Class.new(StandardError)
- VERSION =
The current version of the library
'3.0.1'
Class Method Summary collapse
-
.connect(configuration = nil) ⇒ Metal::Keyspace
Get a handle to a keyspace.
Methods included from Uuids
Class Method Details
.connect(configuration = nil) ⇒ Metal::Keyspace
Get a handle to a keyspace
37 38 39 |
# File 'lib/cequel.rb', line 37 def self.connect(configuration = nil) Metal::Keyspace.new(configuration || {}) end |