Class: Hypertable::ThriftGen::ColumnFamily

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

Overview

Describes a ColumnFamily

name
Name of the column family
ag
Name of the access group for this CF
max_versions
Max versions of the same cell to be stored
ttl
Time to live for cells in the CF (ie delete cells older than this time)

Constant Summary collapse

NAME =
1
AG =
2
MAX_VERSIONS =
3
TTL =
4
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name', :optional => true},
  AG => {:type => ::Thrift::Types::STRING, :name => 'ag', :optional => true},
  MAX_VERSIONS => {:type => ::Thrift::Types::I32, :name => 'max_versions', :optional => true},
  TTL => {:type => ::Thrift::Types::STRING, :name => 'ttl', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fields ⇒ Object



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

def struct_fields; FIELDS; end

#validate ⇒ Object



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

def validate
end