Class: Blur::Record

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/active_blur/thrift/blur_types.rb

Overview

Records contain a list of columns, multiple columns with the same name are allowed.

Constant Summary collapse

RECORDID =
1
FAMILY =
2
COLUMNS =
3
FIELDS =
{
  # Record id uniquely identifies a record within a single row.
  RECORDID => {:type => ::Thrift::Types::STRING, :name => 'recordId'},
  # The family in which this record resides.
  FAMILY => {:type => ::Thrift::Types::STRING, :name => 'family'},
  # A list of columns, multiple columns with the same name are allowed.
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Blur::Column}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



127
# File 'lib/active_blur/thrift/blur_types.rb', line 127

def struct_fields; FIELDS; end

#validateObject



129
130
# File 'lib/active_blur/thrift/blur_types.rb', line 129

def validate
end