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

name
Name of the access group
in_memory
Is this access group in memory
replication
Replication factor for this AG
blocksize
Specifies blocksize for this AG
compressor
Specifies compressor for this AG
bloom_filter
Specifies bloom filter type
columns
Specifies list of column families in this AG

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_fields ⇒ Object



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

def struct_fields; FIELDS; end

#validate ⇒ Object



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

def validate
end