Sha256: dad2319baf7de6251460f261a91e1f00a68ddf584df49fe5d8eb72184608fb2b

Contents?: true

Size: 918 Bytes

Versions: 9

Compression:

Stored size: 918 Bytes

Contents

CassandraObject::Base.register_attribute_type(:integer, Integer, CassandraObject::IntegerType)
CassandraObject::Base.register_attribute_type(:float, Float, CassandraObject::FloatType)
CassandraObject::Base.register_attribute_type(:date, Date, CassandraObject::DateType)
CassandraObject::Base.register_attribute_type(:time, Time, CassandraObject::TimeType)
CassandraObject::Base.register_attribute_type(:time_with_zone, ActiveSupport::TimeWithZone, CassandraObject::TimeWithZoneType)
CassandraObject::Base.register_attribute_type(:string, String, CassandraObject::UTF8StringType) #This could be changed to StringType to support non-utf8 strings
CassandraObject::Base.register_attribute_type(:utf8, String, CassandraObject::UTF8StringType)
CassandraObject::Base.register_attribute_type(:hash, Hash, CassandraObject::HashType)
CassandraObject::Base.register_attribute_type(:boolean, Object, CassandraObject::BooleanType)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gotime-cassandra_object-0.8.0 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.8 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.7 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.6 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.5 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.4 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.3 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.2 lib/cassandra_object/type_registration.rb
gotime-cassandra_object-0.7.1 lib/cassandra_object/type_registration.rb