Class: Flock::Edges::QueryTerm

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
GRAPH_ID =
2
IS_FORWARD =
3
DESTINATION_IDS =
4
STATE_IDS =
5
FIELDS =
{
  SOURCE_ID => {:type => ::Thrift::Types::I64, :name => 'source_id'},
  GRAPH_ID => {:type => ::Thrift::Types::I32, :name => 'graph_id'},
  IS_FORWARD => {:type => ::Thrift::Types::BOOL, :name => 'is_forward'},
  DESTINATION_IDS => {:type => ::Thrift::Types::STRING, :name => 'destination_ids', :binary => true, :optional => true},
  STATE_IDS => {:type => ::Thrift::Types::LIST, :name => 'state_ids', :element => {:type => ::Thrift::Types::I32}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end