Class: Hypertable::ThriftGen::AccessGroup

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hypertable/gen-rb/client_types.rb

Overview

Describes an AccessGroup <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

NAME =
1
IN_MEMORY =
2
REPLICATION =
3
BLOCKSIZE =
4
COMPRESSOR =
5
BLOOM_FILTER =
6
COLUMNS =
7
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name', :optional => true},
  IN_MEMORY => {:type => ::Thrift::Types::BOOL, :name => 'in_memory', :optional => true},
  REPLICATION => {:type => ::Thrift::Types::I16, :name => 'replication', :optional => true},
  BLOCKSIZE => {:type => ::Thrift::Types::I32, :name => 'blocksize', :optional => true},
  COMPRESSOR => {:type => ::Thrift::Types::STRING, :name => 'compressor', :optional => true},
  BLOOM_FILTER => {:type => ::Thrift::Types::STRING, :name => 'bloom_filter', :optional => true},
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::ColumnFamily}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



438
# File 'lib/hypertable/gen-rb/client_types.rb', line 438

def struct_fields; FIELDS; end

#validateObject



440
441
# File 'lib/hypertable/gen-rb/client_types.rb', line 440

def validate
end