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 <dl>

<dt>name</dt>
<dd>Name of the column family</dd>

<dt>ag</dt>
<dd>Name of the access group for this CF</dd>

<dt>max_versions</dt>
<dd>Max versions of the same cell to be stored</dd>

<dt>ttl</dt>
<dd>Time to live for cells in the CF (ie delete cells older than this time)</dd>

</dl>

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_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end