Documentation ¶
Index ¶
- type Int64
- type LlrbIterator
- func (it *LlrbIterator) Check(v graph.TSVal) bool
- func (it *LlrbIterator) Clone() graph.Iterator
- func (it *LlrbIterator) Close()
- func (it *LlrbIterator) DebugString(indent int) string
- func (it *LlrbIterator) GetStats() *graph.IteratorStats
- func (it *LlrbIterator) Next() (graph.TSVal, bool)
- func (it *LlrbIterator) Optimize() (graph.Iterator, bool)
- func (it *LlrbIterator) Reset()
- func (it *LlrbIterator) Size() (int64, bool)
- func (it *LlrbIterator) Sorted() bool
- func (it *LlrbIterator) Type() string
- type MemTripleStore
- func (ts *MemTripleStore) AddTriple(t *graph.Triple)
- func (ts *MemTripleStore) AddTripleSet(triples []*graph.Triple)
- func (ts *MemTripleStore) Close()
- func (ts *MemTripleStore) DebugPrint()
- func (ts *MemTripleStore) GetIdFor(name string) graph.TSVal
- func (ts *MemTripleStore) GetNameFor(id graph.TSVal) string
- func (ts *MemTripleStore) GetNodesAllIterator() graph.Iterator
- func (ts *MemTripleStore) GetTriple(index graph.TSVal) *graph.Triple
- func (ts *MemTripleStore) GetTripleDirection(val graph.TSVal, direction string) graph.TSVal
- func (ts *MemTripleStore) GetTripleIterator(direction string, value graph.TSVal) graph.Iterator
- func (ts *MemTripleStore) GetTriplesAllIterator() graph.Iterator
- func (ts *MemTripleStore) MakeFixed() *graph.FixedIterator
- func (ts *MemTripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)
- func (ts *MemTripleStore) RemoveTriple(t *graph.Triple)
- func (ts *MemTripleStore) Size() int64
- type MemstoreAllIterator
- type TripleDirectionIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LlrbIterator ¶
type LlrbIterator struct { graph.BaseIterator // contains filtered or unexported fields }
func NewLlrbIterator ¶
func NewLlrbIterator(tree *llrb.LLRB, data string) *LlrbIterator
func (*LlrbIterator) Clone ¶
func (it *LlrbIterator) Clone() graph.Iterator
func (*LlrbIterator) Close ¶
func (it *LlrbIterator) Close()
func (*LlrbIterator) DebugString ¶
func (it *LlrbIterator) DebugString(indent int) string
func (*LlrbIterator) GetStats ¶
func (it *LlrbIterator) GetStats() *graph.IteratorStats
func (*LlrbIterator) Reset ¶
func (it *LlrbIterator) Reset()
func (*LlrbIterator) Size ¶
func (it *LlrbIterator) Size() (int64, bool)
func (*LlrbIterator) Sorted ¶
func (it *LlrbIterator) Sorted() bool
func (*LlrbIterator) Type ¶
func (it *LlrbIterator) Type() string
type MemTripleStore ¶
type MemTripleStore struct {
// contains filtered or unexported fields
}
func MakeTestingMemstore ¶
func MakeTestingMemstore() *MemTripleStore
func NewMemTripleStore ¶
func NewMemTripleStore() *MemTripleStore
func (*MemTripleStore) AddTriple ¶
func (ts *MemTripleStore) AddTriple(t *graph.Triple)
func (*MemTripleStore) AddTripleSet ¶
func (ts *MemTripleStore) AddTripleSet(triples []*graph.Triple)
func (*MemTripleStore) Close ¶
func (ts *MemTripleStore) Close()
func (*MemTripleStore) DebugPrint ¶
func (ts *MemTripleStore) DebugPrint()
func (*MemTripleStore) GetNameFor ¶
func (ts *MemTripleStore) GetNameFor(id graph.TSVal) string
func (*MemTripleStore) GetNodesAllIterator ¶
func (ts *MemTripleStore) GetNodesAllIterator() graph.Iterator
func (*MemTripleStore) GetTriple ¶
func (ts *MemTripleStore) GetTriple(index graph.TSVal) *graph.Triple
func (*MemTripleStore) GetTripleDirection ¶
func (*MemTripleStore) GetTripleIterator ¶
func (*MemTripleStore) GetTriplesAllIterator ¶
func (ts *MemTripleStore) GetTriplesAllIterator() graph.Iterator
func (*MemTripleStore) MakeFixed ¶
func (ts *MemTripleStore) MakeFixed() *graph.FixedIterator
func (*MemTripleStore) OptimizeIterator ¶
func (*MemTripleStore) RemoveTriple ¶
func (ts *MemTripleStore) RemoveTriple(t *graph.Triple)
func (*MemTripleStore) Size ¶
func (ts *MemTripleStore) Size() int64
type MemstoreAllIterator ¶
type MemstoreAllIterator struct { graph.Int64AllIterator // contains filtered or unexported fields }
func NewMemstoreAllIterator ¶
func NewMemstoreAllIterator(ts *MemTripleStore) *MemstoreAllIterator
type TripleDirectionIndex ¶
type TripleDirectionIndex struct {
// contains filtered or unexported fields
}
func NewTripleDirectionIndex ¶
func NewTripleDirectionIndex() *TripleDirectionIndex
func (*TripleDirectionIndex) GetForDir ¶
func (tdi *TripleDirectionIndex) GetForDir(s string) map[int64]*llrb.LLRB
func (*TripleDirectionIndex) GetOrCreate ¶
func (tdi *TripleDirectionIndex) GetOrCreate(dir string, id int64) *llrb.LLRB
Click to show internal directories.
Click to hide internal directories.