Documentation ¶
Index ¶
- func Type() graph.Type
- type AllIterator
- type Int64
- 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 TripleDirectionIndex
- type TripleStore
- func (ts *TripleStore) AddTriple(t *quad.Quad)
- func (ts *TripleStore) AddTripleSet(triples []*quad.Quad)
- func (ts *TripleStore) Close()
- func (ts *TripleStore) DebugPrint()
- func (ts *TripleStore) FixedIterator() graph.FixedIterator
- func (ts *TripleStore) NameOf(id graph.Value) string
- func (ts *TripleStore) NodesAllIterator() graph.Iterator
- func (ts *TripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)
- func (ts *TripleStore) Quad(index graph.Value) *quad.Quad
- func (ts *TripleStore) RemoveTriple(t *quad.Quad)
- func (ts *TripleStore) Size() int64
- func (ts *TripleStore) TripleDirection(val graph.Value, d quad.Direction) graph.Value
- func (ts *TripleStore) TripleIterator(d quad.Direction, value graph.Value) graph.Iterator
- func (ts *TripleStore) TriplesAllIterator() graph.Iterator
- func (ts *TripleStore) ValueOf(name string) graph.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllIterator ¶ added in v0.3.1
func NewMemstoreAllIterator ¶
func NewMemstoreAllIterator(ts *TripleStore) *AllIterator
func (*AllIterator) SubIterators ¶ added in v0.3.1
func (it *AllIterator) SubIterators() []graph.Iterator
No subiterators.
type Iterator ¶ added in v0.3.1
type Iterator struct {
// contains filtered or unexported fields
}
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 TripleDirectionIndex ¶
type TripleDirectionIndex struct {
// contains filtered or unexported fields
}
func NewTripleDirectionIndex ¶
func NewTripleDirectionIndex() *TripleDirectionIndex
func (*TripleDirectionIndex) GetOrCreate ¶
type TripleStore ¶ added in v0.3.1
type TripleStore struct {
// contains filtered or unexported fields
}
func (*TripleStore) AddTriple ¶ added in v0.3.1
func (ts *TripleStore) AddTriple(t *quad.Quad)
func (*TripleStore) AddTripleSet ¶ added in v0.3.1
func (ts *TripleStore) AddTripleSet(triples []*quad.Quad)
func (*TripleStore) Close ¶ added in v0.3.1
func (ts *TripleStore) Close()
func (*TripleStore) DebugPrint ¶ added in v0.3.1
func (ts *TripleStore) DebugPrint()
func (*TripleStore) FixedIterator ¶ added in v0.3.1
func (ts *TripleStore) FixedIterator() graph.FixedIterator
func (*TripleStore) NodesAllIterator ¶ added in v0.3.1
func (ts *TripleStore) NodesAllIterator() graph.Iterator
func (*TripleStore) OptimizeIterator ¶ added in v0.3.1
func (*TripleStore) Quad ¶ added in v0.3.1
func (ts *TripleStore) Quad(index graph.Value) *quad.Quad
func (*TripleStore) RemoveTriple ¶ added in v0.3.1
func (ts *TripleStore) RemoveTriple(t *quad.Quad)
func (*TripleStore) Size ¶ added in v0.3.1
func (ts *TripleStore) Size() int64
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 (ts *TripleStore) TriplesAllIterator() graph.Iterator
Click to show internal directories.
Click to hide internal directories.