Module: Cequel::Record::Schema

Extended by:
ActiveSupport::Concern, Forwardable
Defined in:
lib/cequel/record/schema.rb

Overview

‘Cequel::Record` implementations define their own schema in their class definitions. As well as defining attributes on record instances, the column definitions in Properties allow a `Cequel::Record` to have a precise internal represntation of its representation as a CQL3 table schema. Further, it is able to check this representation against the actual table defined in Cassandra (if any), and create or modify the schema in Cassandra to match what’s defined in code.

All the interesting stuff is in the ClassMethods.

Since:

  • 1.0.0

Defined Under Namespace

Modules: ClassMethods