Class: CassandraObject::BaseSchemaless
- Defined in:
- lib/cassandra_object/base_schemaless.rb
Class Method Summary collapse
Methods inherited from Base
Methods included from Model
#_key, #_keys, #allow_filtering, #allow_filtering=, #base_class, #column_family, #column_family=, #config, #config=, #keys, #keys=
Methods included from Core
#==, #eql?, #get_cql_response, #hash, #initialize, #initialize_dup, #to_param
Methods included from Callbacks
Methods included from BelongsTo
Methods included from AttributeMethods::PrimaryKey
Methods included from AttributeMethods::Dirty
#reload, #save, #write_attribute
Methods included from Validations
Methods included from AttributeMethods
#attribute_exists?, #attributes, #attributes=, #method_missing, #read_attribute, #respond_to?, #write_attribute
Methods included from Persistence
#becomes, #destroy, #destroyed?, #new_record?, #persisted?, #reload, #save, #update_attribute, #update_attributes, #update_attributes!
Methods included from Inspect
#attribute_for_inspect, #inspect
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CassandraObject::AttributeMethods
Class Method Details
.adapter ⇒ Object
3 4 5 |
# File 'lib/cassandra_object/base_schemaless.rb', line 3 def self.adapter @adapter ||= CassandraObject::Adapters::CassandraSchemalessAdapter.new(self.config) end |
.schema_type ⇒ Object
7 8 9 |
# File 'lib/cassandra_object/base_schemaless.rb', line 7 def self.schema_type :schemaless end |