Class: Apache::Hadoop::Hbase::Thrift::ColumnDescriptor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct
Defined in:
lib/gen-rb/hbase_types.rb

Overview

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.

Constant Summary collapse

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'},
  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}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



62
# File 'lib/gen-rb/hbase_types.rb', line 62

def struct_fields; FIELDS; end

#validateObject



64
65
# File 'lib/gen-rb/hbase_types.rb', line 64

def validate
end