Class: HBase::Model::ColumnDescriptor

Inherits:
Record show all
Defined in:
lib/hbase/model/column_descriptor.rb

Constant Summary collapse

AVAILABLE_OPTS =
{ :name => "name", :max_versions => "max-versions", :compression => "compression",
:in_memory => "in-memory", :block_cache => "block-cache", :max_cell_size => "max-cell-size",
:ttl => "time-to-live", :bloomfilter => "bloomfilter"}

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

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

Instance Attribute Details

#bloomfilterObject

Returns the value of attribute bloomfilter.



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

def bloomfilter
  @bloomfilter
end

#compressionObject

Returns the value of attribute compression.



22
23
24
# File 'lib/hbase/model/column_descriptor.rb', line 22

def compression
  @compression
end

#max_versionsObject

Returns the value of attribute max_versions.



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

def max_versions
  @max_versions
end

#maximum_cell_sizeObject

Returns the value of attribute maximum_cell_size.



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

def maximum_cell_size
  @maximum_cell_size
end

#nameObject

Returns the value of attribute name.



21
22
23
# File 'lib/hbase/model/column_descriptor.rb', line 21

def name
  @name
end