class Cequel::Type::Blob
`blob` columns store arbitrary bytes of data, represented as 8-bit ASCII strings of hex digits
@see cassandra.apache.org/doc/latest/cql/types.html
CQL3 data type documentation
Public Instance Methods
cast(value)
click to toggle source
Calls superclass method
Cequel::Type::String#cast
# File lib/cequel/type.rb, line 225 def cast(value) value = value.to_s(16) if value.is_a?(Integer) super end
internal_names()
click to toggle source
# File lib/cequel/type.rb, line 221 def internal_names ['org.apache.cassandra.db.marshal.BytesType'] end
Private Instance Methods
encoding()
click to toggle source
# File lib/cequel/type.rb, line 232 def encoding 'ASCII-8BIT' end