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