Class: Cequel::Schema::CollectionColumn Abstract
- Defined in:
- lib/cequel/schema/column.rb
Overview
This class is abstract.
A collection column (list, set, or map)
Instance Attribute Summary
Attributes inherited from Column
Instance Method Summary collapse
-
#collection_column? ⇒ Boolean
True if this is a collection column.
-
#indexed? ⇒ Boolean
True if this column has a secondary index.
Methods inherited from Column
#==, #cast, #clustering_column?, #data_column?, #initialize, #inspect, #key?, #partition_key?, #to_cql, #to_s, #type?
Constructor Details
This class inherits a constructor from Cequel::Schema::Column
Instance Method Details
#collection_column? ⇒ Boolean
Returns true if this is a collection column.
215 216 217 |
# File 'lib/cequel/schema/column.rb', line 215 def collection_column? true end |
#indexed? ⇒ Boolean
Returns true if this column has a secondary index.
220 221 222 |
# File 'lib/cequel/schema/column.rb', line 220 def indexed? false end |