Class: Apache::Hadoop::Hbase::Thrift::ColumnDescriptor
- Inherits:
-
Object
- Object
- Apache::Hadoop::Hbase::Thrift::ColumnDescriptor
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/massive_record/adapters/thrift/hbase/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', :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} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
60 |
# File 'lib/massive_record/adapters/thrift/hbase/hbase_types.rb', line 60 def struct_fields; FIELDS; end |
#validate ⇒ Object
62 63 |
# File 'lib/massive_record/adapters/thrift/hbase/hbase_types.rb', line 62 def validate end |