Class Apache::Hadoop::Hbase::Thrift::ColumnDescriptor
In: lib/thrift/hbase_types.rb
Parent: Object

An HColumnDescriptor contains information about a column family such as the number of versions, compression settings, etc. It is used as input when creating a table or adding a column.

Methods

Included Modules

::Thrift::Struct ::Thrift::Struct_Union

Constants

NAME = 1
MAXVERSIONS = 2
COMPRESSION = 3
INMEMORY = 4
BLOOMFILTERTYPE = 5
BLOOMFILTERVECTORSIZE = 6
BLOOMFILTERNBHASHES = 7
BLOCKCACHEENABLED = 8
TIMETOLIVE = 9
FIELDS = { NAME => {:type => ::Thrift::Types::STRING, :name => 'name', :binary => true}, MAXVERSIONS => {:type => ::Thrift::Types::I32, :name => 'maxVersions', :default => 3}, COMPRESSION => {:type => ::Thrift::Types::STRING, :name => 'compression', :default => %q"NONE"}, INMEMORY => {:type => ::Thrift::Types::BOOL, :name => 'inMemory', :default => false}, BLOOMFILTERTYPE => {:type => ::Thrift::Types::STRING, :name => 'bloomFilterType', :default => %q"NONE"}, BLOOMFILTERVECTORSIZE => {:type => ::Thrift::Types::I32, :name => 'bloomFilterVectorSize', :default => 0}, BLOOMFILTERNBHASHES => {:type => ::Thrift::Types::I32, :name => 'bloomFilterNbHashes', :default => 0}, BLOCKCACHEENABLED => {:type => ::Thrift::Types::BOOL, :name => 'blockCacheEnabled', :default => false}, TIMETOLIVE => {:type => ::Thrift::Types::I32, :name => 'timeToLive', :default => -1}

Public Instance methods

[Source]

# File lib/thrift/hbase_types.rb, line 61
                  def struct_fields; FIELDS; end

[Source]

# File lib/thrift/hbase_types.rb, line 63
                  def validate
                  end

[Validate]