memstore

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const QuadStoreType = "memstore"

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, qs *QuadStore, d quad.Direction, value graph.Value) *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() error

func (*Iterator) Contains added in v0.3.1

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

func (*Iterator) Describe added in v0.4.1

func (it *Iterator) Describe() graph.Description

func (*Iterator) Err added in v0.4.1

func (it *Iterator) Err() error

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) 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 {
	ID        int64
	Quad      quad.Quad
	Action    graph.Procedure
	Timestamp time.Time
	DeletedBy int64
}

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 QuadStore added in v0.4.1

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

func (*QuadStore) AddDelta added in v0.4.1

func (qs *QuadStore) AddDelta(d graph.Delta) error

func (*QuadStore) ApplyDeltas added in v0.4.1

func (qs *QuadStore) ApplyDeltas(deltas []graph.Delta, ignoreOpts graph.IgnoreOpts) error

func (*QuadStore) Close added in v0.4.1

func (qs *QuadStore) Close()

func (*QuadStore) DebugPrint added in v0.4.1

func (qs *QuadStore) DebugPrint()

func (*QuadStore) FixedIterator added in v0.4.1

func (qs *QuadStore) FixedIterator() graph.FixedIterator

func (*QuadStore) Horizon added in v0.4.1

func (qs *QuadStore) Horizon() graph.PrimaryKey

func (*QuadStore) NameOf added in v0.4.1

func (qs *QuadStore) NameOf(id graph.Value) quad.Value

func (*QuadStore) NodesAllIterator added in v0.4.1

func (qs *QuadStore) NodesAllIterator() graph.Iterator

func (*QuadStore) OptimizeIterator added in v0.4.1

func (qs *QuadStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)

func (*QuadStore) Quad added in v0.4.1

func (qs *QuadStore) Quad(index graph.Value) quad.Quad

func (*QuadStore) QuadDirection added in v0.4.1

func (qs *QuadStore) QuadDirection(val graph.Value, d quad.Direction) graph.Value

func (*QuadStore) QuadIterator added in v0.4.1

func (qs *QuadStore) QuadIterator(d quad.Direction, value graph.Value) graph.Iterator

func (*QuadStore) QuadsAllIterator added in v0.4.1

func (qs *QuadStore) QuadsAllIterator() graph.Iterator

func (*QuadStore) RemoveDelta added in v0.4.1

func (qs *QuadStore) RemoveDelta(d graph.Delta) error

func (*QuadStore) Size added in v0.4.1

func (qs *QuadStore) Size() int64

func (*QuadStore) Type added in v0.4.1

func (qs *QuadStore) Type() string

func (*QuadStore) ValueOf added in v0.4.1

func (qs *QuadStore) ValueOf(name quad.Value) 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