Class: Hypertable::ThriftGen::Schema

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

Overview

Describes a schema

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

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