Versions in this module Expand all Collapse all v0 v0.3.1 Jul 31, 2014 Changes in this version + func Type() graph.Type + type Iterator struct + func NewAllIterator(qs *TripleStore, collection string) *Iterator + func NewIterator(qs *TripleStore, collection string, d quad.Direction, val graph.Value) *Iterator + func (it *Iterator) Clone() graph.Iterator + func (it *Iterator) Close() + func (it *Iterator) Contains(v graph.Value) bool + func (it *Iterator) DebugString(indent int) string + func (it *Iterator) Next() (graph.Value, bool) + func (it *Iterator) NextResult() bool + func (it *Iterator) Optimize() (graph.Iterator, bool) + func (it *Iterator) Reset() + func (it *Iterator) Result() graph.Value + func (it *Iterator) ResultTree() *graph.ResultTree + func (it *Iterator) Size() (int64, bool) + func (it *Iterator) Sorted() bool + func (it *Iterator) Stats() graph.IteratorStats + func (it *Iterator) SubIterators() []graph.Iterator + func (it *Iterator) TagResults(dst map[string]graph.Value) + func (it *Iterator) Tagger() *graph.Tagger + func (it *Iterator) Type() graph.Type + func (it *Iterator) UID() uint64 + type TripleStore struct + func (qs *TripleStore) AddTriple(t *quad.Quad) + func (qs *TripleStore) AddTripleSet(in []*quad.Quad) + func (qs *TripleStore) BulkLoad(dec quad.Unmarshaler) error + func (qs *TripleStore) Close() + func (qs *TripleStore) ConvertStringToByteHash(s string) string + func (qs *TripleStore) FixedIterator() graph.FixedIterator + func (qs *TripleStore) NameOf(v graph.Value) string + func (qs *TripleStore) NodesAllIterator() graph.Iterator + func (qs *TripleStore) Quad(val graph.Value) *quad.Quad + func (qs *TripleStore) RemoveTriple(t *quad.Quad) + func (qs *TripleStore) Size() int64 + func (qs *TripleStore) TripleDirection(in graph.Value, d quad.Direction) graph.Value + func (qs *TripleStore) TripleIterator(d quad.Direction, val graph.Value) graph.Iterator + func (qs *TripleStore) TriplesAllIterator() graph.Iterator + func (qs *TripleStore) ValueOf(s string) graph.Value + func (ts *TripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool) 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