Class: Concord::Thrift::Record

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

Constant Summary collapse

META =
1
TIME =
2
KEY =
3
DATA =
4
USERSTREAM =
5
FIELDS =
{
  META => {:type => ::Thrift::Types::STRUCT, :name => 'meta', :class => ::Concord::Thrift::RecordMetadata},
  TIME => {:type => ::Thrift::Types::I64, :name => 'time', :default => 0},
  KEY => {:type => ::Thrift::Types::STRING, :name => 'key', :binary => true},
  DATA => {:type => ::Thrift::Types::STRING, :name => 'data', :binary => true},
  USERSTREAM => {:type => ::Thrift::Types::STRING, :name => 'userStream', :binary => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



305
# File 'lib/gen-rb/bolt_types.rb', line 305

def struct_fields; FIELDS; end

#validateObject



307
308
# File 'lib/gen-rb/bolt_types.rb', line 307

def validate
end