Class: Hypertable::ThriftGen::Schema
- Inherits:
-
Object
- Object
- Hypertable::ThriftGen::Schema
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hypertable/gen-rb/client_types.rb
Overview
Describes a schema <dl>
<dt>name</dt>
<dd>Name of the access group</dd>
<dt>in_memory</dt>
<dd>Is this access group in memory</dd>
<dt>replication</dt>
<dd>Replication factor for this AG</dd>
<dt>blocksize</dt>
<dd>Specifies blocksize for this AG</dd>
<dt>compressor</dt>
<dd>Specifies compressor for this AG</dd>
<dt>bloom_filter</dt>
<dd>Specifies bloom filter type</dd>
<dt>columns</dt>
<dd>Specifies list of column families in this AG</dd>
</dl>
Constant Summary collapse
- ACCESS_GROUPS =
1
- COLUMN_FAMILIES =
2
- FIELDS =
{ ACCESS_GROUPS => {:type => ::Thrift::Types::MAP, :name => 'access_groups', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::AccessGroup}, :optional => true}, COLUMN_FAMILIES => {:type => ::Thrift::Types::MAP, :name => 'column_families', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::ColumnFamily}, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
479 |
# File 'lib/hypertable/gen-rb/client_types.rb', line 479 def struct_fields; FIELDS; end |
#validate ⇒ Object
481 482 |
# File 'lib/hypertable/gen-rb/client_types.rb', line 481 def validate end |