Versions in this module Expand all Collapse all v0 v0.3.1 Jul 31, 2014 Changes in this version + func PositionOf(prefix []byte, d quad.Direction, qs *TripleStore) int + func Type() graph.Type + type AllIterator struct + func NewAllIterator(prefix string, d quad.Direction, ts *TripleStore) *AllIterator + func (it *AllIterator) Clone() graph.Iterator + func (it *AllIterator) Close() + func (it *AllIterator) Contains(v graph.Value) bool + func (it *AllIterator) DebugString(indent int) string + func (it *AllIterator) Next() (graph.Value, bool) + func (it *AllIterator) NextResult() bool + func (it *AllIterator) Optimize() (graph.Iterator, bool) + func (it *AllIterator) Reset() + func (it *AllIterator) Result() graph.Value + func (it *AllIterator) ResultTree() *graph.ResultTree + func (it *AllIterator) Size() (int64, bool) + func (it *AllIterator) Sorted() bool + func (it *AllIterator) Stats() graph.IteratorStats + func (it *AllIterator) SubIterators() []graph.Iterator + func (it *AllIterator) TagResults(dst map[string]graph.Value) + func (it *AllIterator) Tagger() *graph.Tagger + func (it *AllIterator) Type() graph.Type + func (it *AllIterator) UID() uint64 + type Iterator struct + func NewIterator(prefix string, d quad.Direction, value graph.Value, qs *TripleStore) *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(t_s []*quad.Quad) + func (qs *TripleStore) Close() + func (qs *TripleStore) FixedIterator() graph.FixedIterator + func (qs *TripleStore) GetStats() string + func (qs *TripleStore) NameOf(k graph.Value) string + func (qs *TripleStore) NodesAllIterator() graph.Iterator + func (qs *TripleStore) Quad(k graph.Value) *quad.Quad + func (qs *TripleStore) RemoveTriple(t *quad.Quad) + func (qs *TripleStore) Size() int64 + func (qs *TripleStore) SizeOf(k graph.Value) int64 + func (qs *TripleStore) SizeOfPrefix(pre []byte) (int64, error) + func (qs *TripleStore) TripleDirection(val 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) UpdateValueKeyBy(name string, amount int, batch *leveldb.Batch) + 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 DefaultCacheSize + const DefaultWriteBufferSize + func CreateNewLevelDB(path string) bool + func GetPositionFromPrefix(prefix []byte, dir string, ts *LevelDBTripleStore) int + type LevelDBAllIterator struct + func NewLevelDBAllIterator(prefix, dir string, ts *LevelDBTripleStore) *LevelDBAllIterator + func (a *LevelDBAllIterator) Check(v graph.TSVal) bool + func (a *LevelDBAllIterator) Clone() graph.Iterator + func (a *LevelDBAllIterator) Next() (graph.TSVal, bool) + func (a *LevelDBAllIterator) Reset() + func (a *LevelDBAllIterator) Size() (int64, bool) + func (lit *LevelDBAllIterator) Close() + func (lit *LevelDBAllIterator) DebugString(indent int) string + func (lit *LevelDBAllIterator) GetStats() *graph.IteratorStats + func (lit *LevelDBAllIterator) Optimize() (graph.Iterator, bool) + func (lit *LevelDBAllIterator) Sorted() bool + func (lit *LevelDBAllIterator) Type() string + type LevelDBIterator struct + func NewLevelDBIterator(prefix, dir string, value graph.TSVal, ts *LevelDBTripleStore) *LevelDBIterator + func (lit *LevelDBIterator) Check(v graph.TSVal) bool + func (lit *LevelDBIterator) Clone() graph.Iterator + func (lit *LevelDBIterator) Close() + func (lit *LevelDBIterator) DebugString(indent int) string + func (lit *LevelDBIterator) GetStats() *graph.IteratorStats + func (lit *LevelDBIterator) Next() (graph.TSVal, bool) + func (lit *LevelDBIterator) Optimize() (graph.Iterator, bool) + func (lit *LevelDBIterator) Reset() + func (lit *LevelDBIterator) Size() (int64, bool) + func (lit *LevelDBIterator) Sorted() bool + func (lit *LevelDBIterator) Type() string + type LevelDBTripleStore struct + func NewDefaultLevelDBTripleStore(path string, options graph.OptionsDict) *LevelDBTripleStore + func (ldbts *LevelDBTripleStore) Close() + func (ts *LevelDBTripleStore) AddTriple(t *graph.Triple) + func (ts *LevelDBTripleStore) AddTripleSet(t_s []*graph.Triple) + func (ts *LevelDBTripleStore) GetApproximateSizeForPrefix(pre []byte) (int64, error) + func (ts *LevelDBTripleStore) GetIdFor(s string) graph.TSVal + func (ts *LevelDBTripleStore) GetNameFor(k graph.TSVal) string + func (ts *LevelDBTripleStore) GetNodesAllIterator() graph.Iterator + func (ts *LevelDBTripleStore) GetSizeFor(k graph.TSVal) int64 + func (ts *LevelDBTripleStore) GetStats() string + func (ts *LevelDBTripleStore) GetTriple(k graph.TSVal) *graph.Triple + func (ts *LevelDBTripleStore) GetTripleDirection(val graph.TSVal, direction string) graph.TSVal + func (ts *LevelDBTripleStore) GetTripleIterator(dir string, val graph.TSVal) graph.Iterator + func (ts *LevelDBTripleStore) GetTriplesAllIterator() graph.Iterator + func (ts *LevelDBTripleStore) MakeFixed() *graph.FixedIterator + func (ts *LevelDBTripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool) + func (ts *LevelDBTripleStore) RemoveTriple(t *graph.Triple) + func (ts *LevelDBTripleStore) Size() int64 + func (ts *LevelDBTripleStore) UpdateValueKeyBy(name string, amount int, batch *leveldb.Batch) + type ValueData struct + Name string + Size int64