memstore

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Type added in v0.3.1

func Type() graph.Type

Types

type AllIterator added in v0.3.1

type AllIterator struct {
	iterator.Int64
	// contains filtered or unexported fields
}

type Iterator added in v0.3.1

type Iterator struct {
	// contains filtered or unexported fields
}

func NewIterator added in v0.4.0

func NewIterator(tree *b.Tree, data string, ts *TripleStore) *Iterator

func (*Iterator) Clone added in v0.3.1

func (it *Iterator) Clone() graph.Iterator

func (*Iterator) Close added in v0.3.1

func (it *Iterator) Close()

func (*Iterator) Contains added in v0.3.1

func (it *Iterator) Contains(v graph.Value) bool

func (*Iterator) DebugString added in v0.3.1

func (it *Iterator) DebugString(indent int) string

func (*Iterator) Next added in v0.3.1

func (it *Iterator) Next() bool

func (*Iterator) NextPath added in v0.4.0

func (it *Iterator) NextPath() bool

func (*Iterator) Optimize added in v0.3.1

func (it *Iterator) Optimize() (graph.Iterator, bool)

func (*Iterator) Reset added in v0.3.1

func (it *Iterator) Reset()

func (*Iterator) Result added in v0.3.1

func (it *Iterator) Result() graph.Value

func (*Iterator) ResultTree added in v0.3.1

func (it *Iterator) ResultTree() *graph.ResultTree

func (*Iterator) Size added in v0.3.1

func (it *Iterator) Size() (int64, bool)

func (*Iterator) Sorted added in v0.3.1

func (it *Iterator) Sorted() bool

func (*Iterator) Stats added in v0.3.1

func (it *Iterator) Stats() graph.IteratorStats

func (*Iterator) SubIterators added in v0.3.1

func (it *Iterator) SubIterators() []graph.Iterator

No subiterators.

func (*Iterator) TagResults added in v0.3.1

func (it *Iterator) TagResults(dst map[string]graph.Value)

func (*Iterator) Tagger added in v0.3.1

func (it *Iterator) Tagger() *graph.Tagger

func (*Iterator) Type added in v0.3.1

func (it *Iterator) Type() graph.Type

func (*Iterator) UID added in v0.3.1

func (it *Iterator) UID() uint64

type LogEntry added in v0.4.0

type LogEntry struct {
	graph.Delta
	DeletedBy int64
}

type NodesAllIterator added in v0.4.0

type NodesAllIterator AllIterator

func NewMemstoreNodesAllIterator added in v0.4.0

func NewMemstoreNodesAllIterator(ts *TripleStore) *NodesAllIterator

func (*NodesAllIterator) Next added in v0.4.0

func (it *NodesAllIterator) Next() bool

func (*NodesAllIterator) SubIterators added in v0.4.0

func (it *NodesAllIterator) SubIterators() []graph.Iterator

No subiterators.

type QuadDirectionIndex added in v0.4.0

type QuadDirectionIndex struct {
	// contains filtered or unexported fields
}

func NewQuadDirectionIndex added in v0.4.0

func NewQuadDirectionIndex() QuadDirectionIndex

func (QuadDirectionIndex) Get added in v0.4.0

func (qdi QuadDirectionIndex) Get(d quad.Direction, id int64) (*b.Tree, bool)

func (QuadDirectionIndex) Tree added in v0.4.0

func (qdi QuadDirectionIndex) Tree(d quad.Direction, id int64) *b.Tree

type QuadsAllIterator added in v0.4.0

type QuadsAllIterator AllIterator

func NewMemstoreQuadsAllIterator added in v0.4.0

func NewMemstoreQuadsAllIterator(ts *TripleStore) *QuadsAllIterator

func (*QuadsAllIterator) Next added in v0.4.0

func (qit *QuadsAllIterator) Next() bool

type TripleStore added in v0.3.1

type TripleStore struct {
	// contains filtered or unexported fields
}

func (*TripleStore) AddDelta added in v0.4.0

func (ts *TripleStore) AddDelta(d graph.Delta) error

func (*TripleStore) ApplyDeltas added in v0.4.0

func (ts *TripleStore) ApplyDeltas(deltas []graph.Delta) error

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) Horizon added in v0.4.0

func (ts *TripleStore) Horizon() int64

func (*TripleStore) NameOf added in v0.3.1

func (ts *TripleStore) NameOf(id graph.Value) string

func (*TripleStore) NodesAllIterator added in v0.3.1

func (ts *TripleStore) NodesAllIterator() graph.Iterator

func (*TripleStore) OptimizeIterator added in v0.3.1

func (ts *TripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)

func (*TripleStore) Quad added in v0.3.1

func (ts *TripleStore) Quad(index graph.Value) quad.Quad

func (*TripleStore) RemoveDelta added in v0.4.0

func (ts *TripleStore) RemoveDelta(d graph.Delta) error

func (*TripleStore) Size added in v0.3.1

func (ts *TripleStore) Size() int64

func (*TripleStore) TripleDirection added in v0.3.1

func (ts *TripleStore) TripleDirection(val graph.Value, d quad.Direction) graph.Value

func (*TripleStore) TripleIterator added in v0.3.1

func (ts *TripleStore) TripleIterator(d quad.Direction, value graph.Value) graph.Iterator

func (*TripleStore) TriplesAllIterator added in v0.3.1

func (ts *TripleStore) TriplesAllIterator() graph.Iterator

func (*TripleStore) ValueOf added in v0.3.1

func (ts *TripleStore) ValueOf(name string) graph.Value

Directories

Path Synopsis
b
Package b implements a B+tree.
Package b implements a B+tree.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL