Documentation ¶
Index ¶
- func PositionOf(tok *Token, d quad.Direction, qs *QuadStore) 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() bool
- func (it *AllIterator) NextPath() 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 IndexEntry
- 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() bool
- func (it *Iterator) NextPath() 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 QuadStore
- func (qs *QuadStore) ApplyDeltas(deltas []graph.Delta) error
- func (qs *QuadStore) Close()
- func (qs *QuadStore) FixedIterator() graph.FixedIterator
- func (qs *QuadStore) Horizon() int64
- func (qs *QuadStore) NameOf(k graph.Value) string
- func (qs *QuadStore) NodesAllIterator() graph.Iterator
- func (ts *QuadStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)
- func (qs *QuadStore) Quad(k graph.Value) quad.Quad
- func (qs *QuadStore) Size() int64
- func (qs *QuadStore) SizeOf(k graph.Value) int64
- func (qs *QuadStore) TripleDirection(val graph.Value, d quad.Direction) graph.Value
- func (qs *QuadStore) TripleIterator(d quad.Direction, val graph.Value) graph.Iterator
- func (qs *QuadStore) TriplesAllIterator() graph.Iterator
- func (qs *QuadStore) UpdateValueKeyBy(name string, amount int64, tx *bolt.Tx) error
- func (qs *QuadStore) ValueOf(s string) graph.Value
- func (qs *QuadStore) WriteHorizonAndSize(tx *bolt.Tx) error
- type Token
- type ValueData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllIterator ¶
type AllIterator struct {
// contains filtered or unexported fields
}
func NewAllIterator ¶
func NewAllIterator(bucket []byte, d quad.Direction, qs *QuadStore) *AllIterator
func (*AllIterator) Clone ¶
func (it *AllIterator) Clone() graph.Iterator
func (*AllIterator) Close ¶
func (it *AllIterator) Close()
func (*AllIterator) DebugString ¶
func (it *AllIterator) DebugString(indent int) string
func (*AllIterator) Next ¶
func (it *AllIterator) Next() bool
func (*AllIterator) NextPath ¶
func (it *AllIterator) NextPath() bool
func (*AllIterator) Reset ¶
func (it *AllIterator) Reset()
func (*AllIterator) Result ¶
func (it *AllIterator) Result() graph.Value
func (*AllIterator) ResultTree ¶
func (it *AllIterator) ResultTree() *graph.ResultTree
func (*AllIterator) Size ¶
func (it *AllIterator) Size() (int64, bool)
func (*AllIterator) Sorted ¶
func (it *AllIterator) Sorted() bool
func (*AllIterator) Stats ¶
func (it *AllIterator) Stats() graph.IteratorStats
func (*AllIterator) SubIterators ¶
func (it *AllIterator) SubIterators() []graph.Iterator
No subiterators.
func (*AllIterator) TagResults ¶
func (it *AllIterator) TagResults(dst map[string]graph.Value)
func (*AllIterator) Tagger ¶
func (it *AllIterator) Tagger() *graph.Tagger
func (*AllIterator) Type ¶
func (it *AllIterator) Type() graph.Type
func (*AllIterator) UID ¶
func (it *AllIterator) UID() uint64
type IndexEntry ¶
type IndexEntry struct {
History []int64
}
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
func (*Iterator) DebugString ¶
func (*Iterator) ResultTree ¶
func (it *Iterator) ResultTree() *graph.ResultTree
func (*Iterator) Stats ¶
func (it *Iterator) Stats() graph.IteratorStats
func (*Iterator) SubIterators ¶
No subiterators.
type QuadStore ¶
type QuadStore struct {
// contains filtered or unexported fields
}
func (*QuadStore) FixedIterator ¶
func (qs *QuadStore) FixedIterator() graph.FixedIterator
func (*QuadStore) NodesAllIterator ¶
func (*QuadStore) OptimizeIterator ¶
func (*QuadStore) TripleDirection ¶
func (*QuadStore) TripleIterator ¶
func (*QuadStore) TriplesAllIterator ¶
func (*QuadStore) UpdateValueKeyBy ¶
Click to show internal directories.
Click to hide internal directories.