Versions in this module Expand all Collapse all v0 v0.3.0 Jun 28, 2014 Changes in this version + const DefaultDBName + func CreateNewMongoGraph(addr string, options graph.OptionsDict) bool + type IDLru struct + func NewIDLru(size int) *IDLru + func (lru *IDLru) Get(key string) (string, bool) + func (lru *IDLru) Put(key string, value string) + type KV struct + type MongoIterator struct + func NewMongoAllIterator(ts *MongoTripleStore, collection string) *MongoIterator + func NewMongoIterator(ts *MongoTripleStore, collection string, dir string, val graph.TSVal) *MongoIterator + func (m *MongoIterator) Check(v graph.TSVal) bool + func (m *MongoIterator) Clone() graph.Iterator + func (m *MongoIterator) Close() + func (m *MongoIterator) DebugString(indent int) string + func (m *MongoIterator) GetStats() *graph.IteratorStats + func (m *MongoIterator) Next() (graph.TSVal, bool) + func (m *MongoIterator) Optimize() (graph.Iterator, bool) + func (m *MongoIterator) Reset() + func (m *MongoIterator) Size() (int64, bool) + func (m *MongoIterator) Sorted() bool + func (m *MongoIterator) Type() string + type MongoNode struct + Id string + Name string + Size int + type MongoTripleStore struct + func NewMongoTripleStore(addr string, options graph.OptionsDict) *MongoTripleStore + func (ts *MongoTripleStore) AddTriple(t *graph.Triple) + func (ts *MongoTripleStore) AddTripleSet(in []*graph.Triple) + func (ts *MongoTripleStore) BulkLoad(t_chan chan *graph.Triple) + func (ts *MongoTripleStore) Close() + func (ts *MongoTripleStore) ConvertStringToByteHash(s string) string + func (ts *MongoTripleStore) GetIdFor(s string) graph.TSVal + func (ts *MongoTripleStore) GetNameFor(v graph.TSVal) string + func (ts *MongoTripleStore) GetNodesAllIterator() graph.Iterator + func (ts *MongoTripleStore) GetTriple(val graph.TSVal) *graph.Triple + func (ts *MongoTripleStore) GetTripleDirection(in graph.TSVal, dir string) graph.TSVal + func (ts *MongoTripleStore) GetTripleIterator(dir string, val graph.TSVal) graph.Iterator + func (ts *MongoTripleStore) GetTriplesAllIterator() graph.Iterator + func (ts *MongoTripleStore) MakeFixed() *graph.FixedIterator + func (ts *MongoTripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool) + func (ts *MongoTripleStore) RemoveTriple(t *graph.Triple) + func (ts *MongoTripleStore) Size() int64