Class: Flock::Edges::Edge

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

Constant Summary collapse

SOURCE_ID =
1
DESTINATION_ID =
2
POSITION =
3
UPDATED_AT =
4
COUNT =
5
STATE_ID =
6
FIELDS =
{
  SOURCE_ID => {:type => ::Thrift::Types::I64, :name => 'source_id'},
  DESTINATION_ID => {:type => ::Thrift::Types::I64, :name => 'destination_id'},
  POSITION => {:type => ::Thrift::Types::I64, :name => 'position'},
  UPDATED_AT => {:type => ::Thrift::Types::I32, :name => 'updated_at'},
  COUNT => {:type => ::Thrift::Types::I32, :name => 'count'},
  STATE_ID => {:type => ::Thrift::Types::I32, :name => 'state_id'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



146
# File 'lib/flock/gen-rb/flockdb_types.rb', line 146

def struct_fields; FIELDS; end

#validateObject



148
149
# File 'lib/flock/gen-rb/flockdb_types.rb', line 148

def validate
end