Documentation
¶
Index ¶
- type IntVal
- type Oldstore
- func (qs *Oldstore) ApplyDeltas(context.Context, []graph.Delta, graph.IgnoreOpts) error
- func (qs *Oldstore) Close() error
- func (qs *Oldstore) DebugPrint()
- func (qs *Oldstore) NameOf(ctx context.Context, v graph.Ref) (quad.Value, error)
- func (qs *Oldstore) NewQuadWriter(ctx context.Context) (quad.WriteCloser, error)
- func (qs *Oldstore) NodesAllIterator(ctx context.Context) iterator.Shape
- func (qs *Oldstore) OptimizeIterator(ctx context.Context, it iterator.Shape) (iterator.Shape, bool, error)
- func (qs *Oldstore) Quad(context.Context, graph.Ref) quad.Quad
- func (qs *Oldstore) QuadDirection(_ context.Context, _ graph.Ref, _ quad.Direction) (graph.Ref, error)
- func (qs *Oldstore) QuadIterator(ctx context.Context, d quad.Direction, i graph.Ref) iterator.Shape
- func (qs *Oldstore) QuadIteratorSize(ctx context.Context, d quad.Direction, val graph.Ref) (refs.Size, error)
- func (qs *Oldstore) QuadsAllIterator(ctx context.Context) iterator.Shape
- func (qs *Oldstore) RemoveQuad(t quad.Quad)
- func (qs *Oldstore) Size() int64
- func (qs *Oldstore) Type() string
- func (qs *Oldstore) ValueOf(ctx context.Context, s quad.Value) (graph.Ref, error)
- type Store
- func (qs *Store) ApplyDeltas(context.Context, []graph.Delta, graph.IgnoreOpts) error
- func (qs *Store) Close() error
- func (qs *Store) DebugPrint()
- func (qs *Store) NameOf(ctx context.Context, v graph.Ref) (quad.Value, error)
- func (qs *Store) NewQuadWriter(ctx context.Context) (quad.WriteCloser, error)
- func (qs *Store) NodesAllIterator(ctx context.Context) iterator.Shape
- func (qs *Store) Quad(ctx context.Context, v graph.Ref) (quad.Quad, error)
- func (qs *Store) QuadDirection(ctx context.Context, v graph.Ref, d quad.Direction) (graph.Ref, error)
- func (qs *Store) QuadIterator(ctx context.Context, d quad.Direction, i graph.Ref) iterator.Shape
- func (qs *Store) QuadIteratorSize(ctx context.Context, d quad.Direction, val graph.Ref) (refs.Size, error)
- func (qs *Store) QuadsAllIterator(ctx context.Context) iterator.Shape
- func (qs *Store) RemoveQuad(t quad.Quad)
- func (qs *Store) Stats(ctx context.Context, exact bool) (graph.Stats, error)
- func (qs *Store) Type() string
- func (qs *Store) ValueOf(ctx context.Context, s quad.Value) (graph.Ref, error)
- type StringNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oldstore ¶
Oldstore is a mocked version of the QuadStore interface, for use in tests.
func (*Oldstore) ApplyDeltas ¶
func (*Oldstore) DebugPrint ¶
func (qs *Oldstore) DebugPrint()
func (*Oldstore) NewQuadWriter ¶ added in v0.9.0
func (*Oldstore) NodesAllIterator ¶
func (*Oldstore) OptimizeIterator ¶
func (*Oldstore) QuadDirection ¶
func (*Oldstore) QuadIterator ¶
func (*Oldstore) QuadIteratorSize ¶ added in v0.9.0
func (*Oldstore) QuadsAllIterator ¶
func (*Oldstore) RemoveQuad ¶
type Store ¶
func (*Store) ApplyDeltas ¶
func (*Store) DebugPrint ¶
func (qs *Store) DebugPrint()
func (*Store) NewQuadWriter ¶ added in v0.9.0
func (*Store) NodesAllIterator ¶
func (*Store) QuadDirection ¶
func (*Store) QuadIterator ¶
func (*Store) QuadIteratorSize ¶ added in v0.9.0
func (*Store) QuadsAllIterator ¶
func (*Store) RemoveQuad ¶
type StringNode ¶
type StringNode string
func (StringNode) Key ¶
func (s StringNode) Key() interface{}
Click to show internal directories.
Click to hide internal directories.