Class: Flock::Edges::Edge

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct
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



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end