Class: Blur::Column

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

Overview

Column is the lowest storage element in Blur, it stores a single name and value pair.

Constant Summary collapse

NAME =
1
VALUE =
2
FIELDS =
{
  # The name of the column.
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  # The value to be indexed and stored.
  VALUE => {:type => ::Thrift::Types::STRING, :name => 'value'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end