Class: Stargate::Model::ColumnDescriptor

Inherits:
Record
  • Object
show all
Defined in:
lib/stargate/model/column_descriptor.rb

Constant Summary collapse

AVAILABLE_OPTS =
{  :name => "name", :max_versions => "VERSIONS", :versions => "VERSIONS",
:compression => "COMPRESSION", :in_memory => "IN_MEMORY",
:block_cache => "BLOCKCACHE", :blockcache => "BLOCKCACHE",
:blocksize => "BLOCKSIZE", :length => "LENGTH", :ttl => "TTL",
:bloomfilter => "BLOOMFILTER"}

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from Stargate::Model::Record

Instance Attribute Details

#bloomfilterObject

Returns the value of attribute bloomfilter.



25
26
27
# File 'lib/stargate/model/column_descriptor.rb', line 25

def bloomfilter
  @bloomfilter
end

#compressionObject

Returns the value of attribute compression.



24
25
26
# File 'lib/stargate/model/column_descriptor.rb', line 24

def compression
  @compression
end

#max_versionsObject

Returns the value of attribute max_versions.



27
28
29
# File 'lib/stargate/model/column_descriptor.rb', line 27

def max_versions
  @max_versions
end

#maximum_cell_sizeObject

Returns the value of attribute maximum_cell_size.



26
27
28
# File 'lib/stargate/model/column_descriptor.rb', line 26

def maximum_cell_size
  @maximum_cell_size
end

#nameObject

Returns the value of attribute name.



23
24
25
# File 'lib/stargate/model/column_descriptor.rb', line 23

def name
  @name
end

#versionsObject

Returns the value of attribute versions.



29
30
31
# File 'lib/stargate/model/column_descriptor.rb', line 29

def versions
  @versions
end