Class: Cequel::Type::Int
Overview
‘int` columns store 32-bit integer values
Instance Method Summary collapse
Methods inherited from Base
#compatible_types, #cql_aliases, #cql_name, #internal_name, #to_s
Instance Method Details
#cast(value) ⇒ Object
327 328 329 |
# File 'lib/cequel/type.rb', line 327 def cast(value) Integer(value) end |
#internal_names ⇒ Object
323 324 325 |
# File 'lib/cequel/type.rb', line 323 def internal_names ['org.apache.cassandra.db.marshal.Int32Type'] end |