Represents a cassandra column

See Also:

Inherits

Object

Methods

name

Returns column name

Returns:
Type Details
String column name

order

Returns column order (:asc or :desc)

Returns:
Type Details
Symbol column order (:asc or :desc)

static?

Returns whether the column is static

Returns:
Type Details
Boolean whether the column is static

to_cql

Returns a cql representation of this column

Returns:
Type Details
String a cql representation of this column

inspect

Returns a CLI-friendly column representation

Returns:
Type Details
String a CLI-friendly column representation

eql?

(other) aliased as: ==

Returns whether this column is equal to the other

Returns:
Type Details
Boolean whether this column is equal to the other