Documentation
¶
Index ¶
- type IntVal
- type Oldstore
- func (qs *Oldstore) ApplyDeltas([]graph.Delta, graph.IgnoreOpts) error
- func (qs *Oldstore) Close() error
- func (qs *Oldstore) DebugPrint()
- func (qs *Oldstore) NameOf(v graph.Ref) (quad.Value, error)
- func (qs *Oldstore) NewQuadWriter() (quad.WriteCloser, error)
- func (qs *Oldstore) NodesAllIterator() iterator.Shape
- func (qs *Oldstore) OptimizeIterator(it iterator.Shape) (iterator.Shape, bool)
- func (qs *Oldstore) Quad(graph.Ref) quad.Quad
- func (qs *Oldstore) QuadDirection(graph.Ref, quad.Direction) graph.Ref
- func (qs *Oldstore) QuadIterator(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() iterator.Shape
- func (qs *Oldstore) RemoveQuad(t quad.Quad)
- func (qs *Oldstore) Size() int64
- func (qs *Oldstore) Type() string
- func (qs *Oldstore) ValueOf(s quad.Value) (graph.Ref, error)
- type Store
- func (qs *Store) ApplyDeltas([]graph.Delta, graph.IgnoreOpts) error
- func (qs *Store) Close() error
- func (qs *Store) DebugPrint()
- func (qs *Store) NameOf(v graph.Ref) (quad.Value, error)
- func (qs *Store) NewQuadWriter() (quad.WriteCloser, error)
- func (qs *Store) NodesAllIterator() iterator.Shape
- func (qs *Store) Quad(v graph.Ref) (quad.Quad, error)
- func (qs *Store) QuadDirection(v graph.Ref, d quad.Direction) (graph.Ref, error)
- func (qs *Store) QuadIterator(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() 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(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 ¶
func (qs *Oldstore) NewQuadWriter() (quad.WriteCloser, error)
func (*Oldstore) NodesAllIterator ¶
func (*Oldstore) OptimizeIterator ¶
func (*Oldstore) QuadDirection ¶
func (*Oldstore) QuadIterator ¶
func (*Oldstore) QuadIteratorSize ¶
func (*Oldstore) QuadsAllIterator ¶
func (*Oldstore) RemoveQuad ¶
type Store ¶
func (*Store) ApplyDeltas ¶
func (*Store) DebugPrint ¶
func (qs *Store) DebugPrint()
func (*Store) NewQuadWriter ¶
func (qs *Store) NewQuadWriter() (quad.WriteCloser, error)
func (*Store) NodesAllIterator ¶
func (*Store) QuadDirection ¶
func (*Store) QuadIterator ¶
func (*Store) QuadIteratorSize ¶
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.