Documentation ¶
Index ¶
- Constants
- func PositionOf(prefix []byte, d quad.Direction, qs *TripleStore) int
- func Type() graph.Type
- type 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
- 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
- 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 (ts *TripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)
- 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
- type ValueData
Constants ¶
View Source
const ( DefaultCacheSize = 2 DefaultWriteBufferSize = 20 )
Variables ¶
This section is empty.
Functions ¶
func PositionOf ¶ added in v0.3.1
func PositionOf(prefix []byte, d quad.Direction, qs *TripleStore) int
Types ¶
type AllIterator ¶ added in v0.3.1
type AllIterator struct {
// contains filtered or unexported fields
}
func NewAllIterator ¶ added in v0.3.1
func NewAllIterator(prefix string, d quad.Direction, ts *TripleStore) *AllIterator
func (*AllIterator) Clone ¶ added in v0.3.1
func (it *AllIterator) Clone() graph.Iterator
func (*AllIterator) Close ¶ added in v0.3.1
func (it *AllIterator) Close()
func (*AllIterator) DebugString ¶ added in v0.3.1
func (it *AllIterator) DebugString(indent int) string
func (*AllIterator) NextResult ¶ added in v0.3.1
func (it *AllIterator) NextResult() bool
func (*AllIterator) Optimize ¶ added in v0.3.1
func (it *AllIterator) Optimize() (graph.Iterator, bool)
func (*AllIterator) Reset ¶ added in v0.3.1
func (it *AllIterator) Reset()
func (*AllIterator) Result ¶ added in v0.3.1
func (it *AllIterator) Result() graph.Value
func (*AllIterator) ResultTree ¶ added in v0.3.1
func (it *AllIterator) ResultTree() *graph.ResultTree
func (*AllIterator) Size ¶ added in v0.3.1
func (it *AllIterator) Size() (int64, bool)
func (*AllIterator) Sorted ¶ added in v0.3.1
func (it *AllIterator) Sorted() bool
func (*AllIterator) Stats ¶ added in v0.3.1
func (it *AllIterator) Stats() graph.IteratorStats
func (*AllIterator) SubIterators ¶ added in v0.3.1
func (it *AllIterator) SubIterators() []graph.Iterator
No subiterators.
func (*AllIterator) TagResults ¶ added in v0.3.1
func (it *AllIterator) TagResults(dst map[string]graph.Value)
func (*AllIterator) Tagger ¶ added in v0.3.1
func (it *AllIterator) Tagger() *graph.Tagger
func (*AllIterator) Type ¶ added in v0.3.1
func (it *AllIterator) Type() graph.Type
func (*AllIterator) UID ¶ added in v0.3.1
func (it *AllIterator) UID() uint64
type Iterator ¶ added in v0.3.1
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶ added in v0.3.1
func (*Iterator) DebugString ¶ added in v0.3.1
func (*Iterator) NextResult ¶ added in v0.3.1
func (*Iterator) ResultTree ¶ added in v0.3.1
func (it *Iterator) ResultTree() *graph.ResultTree
func (*Iterator) Stats ¶ added in v0.3.1
func (it *Iterator) Stats() graph.IteratorStats
func (*Iterator) SubIterators ¶ added in v0.3.1
No subiterators.
func (*Iterator) TagResults ¶ added in v0.3.1
type TripleStore ¶ added in v0.3.1
type TripleStore struct {
// contains filtered or unexported fields
}
func (*TripleStore) AddTriple ¶ added in v0.3.1
func (qs *TripleStore) AddTriple(t *quad.Quad)
func (*TripleStore) AddTripleSet ¶ added in v0.3.1
func (qs *TripleStore) AddTripleSet(t_s []*quad.Quad)
func (*TripleStore) Close ¶ added in v0.3.1
func (qs *TripleStore) Close()
func (*TripleStore) FixedIterator ¶ added in v0.3.1
func (qs *TripleStore) FixedIterator() graph.FixedIterator
func (*TripleStore) GetStats ¶ added in v0.3.1
func (qs *TripleStore) GetStats() string
func (*TripleStore) NodesAllIterator ¶ added in v0.3.1
func (qs *TripleStore) NodesAllIterator() graph.Iterator
func (*TripleStore) OptimizeIterator ¶ added in v0.3.1
func (*TripleStore) RemoveTriple ¶ added in v0.3.1
func (qs *TripleStore) RemoveTriple(t *quad.Quad)
func (*TripleStore) Size ¶ added in v0.3.1
func (qs *TripleStore) Size() int64
func (*TripleStore) SizeOfPrefix ¶ added in v0.3.1
func (qs *TripleStore) SizeOfPrefix(pre []byte) (int64, error)
func (*TripleStore) TripleDirection ¶ added in v0.3.1
func (*TripleStore) TripleIterator ¶ added in v0.3.1
func (*TripleStore) TriplesAllIterator ¶ added in v0.3.1
func (qs *TripleStore) TriplesAllIterator() graph.Iterator
func (*TripleStore) UpdateValueKeyBy ¶ added in v0.3.1
func (qs *TripleStore) UpdateValueKeyBy(name string, amount int, batch *leveldb.Batch)
Click to show internal directories.
Click to hide internal directories.