Class: Cequel::Type::Text

Inherits:
String show all
Defined in:
lib/cequel/type.rb

Overview

‘text` columns store UTF-8 character data. They are also known as `varchar` columns; the names can be used interchangeably. Text columns do not have a length limit

See Also:

Since:

  • 1.0.0

Instance Method Summary collapse

Methods inherited from String

#cast

Methods inherited from Base

#cast, #compatible_types, #cql_name, #internal_name, #to_s

Instance Method Details

#cql_aliasesObject

Since:

  • 1.0.0



368
369
370
# File 'lib/cequel/type.rb', line 368

def cql_aliases
  [:varchar]
end

#internal_namesObject

Since:

  • 1.0.0



364
365
366
# File 'lib/cequel/type.rb', line 364

def internal_names
  ['org.apache.cassandra.db.marshal.UTF8Type']
end