Class: Blur::Row

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

Overview

Rows contain a list of records.

Constant Summary collapse

ID =
1
RECORDS =
2
RECORDCOUNT =
3
FIELDS =
{
  # The row id.
  ID => {:type => ::Thrift::Types::STRING, :name => 'id'},
  # The list records within the row.  If paging is used this list will only
  # reflect the paged records from the selector.
  RECORDS => {:type => ::Thrift::Types::LIST, :name => 'records', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Blur::Record}},
  # The total record count for the row.  If paging is used in a selector to page
  # through records of a row, this count will reflect the entire row.
  RECORDCOUNT => {:type => ::Thrift::Types::I32, :name => 'recordCount'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end