writer

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSingle added in v0.7.0

func NewSingle(qs graph.QuadStore, opts graph.IgnoreOpts) (graph.QuadWriter, error)

func NewSingleReplication

func NewSingleReplication(qs graph.QuadStore, opts graph.Options) (graph.QuadWriter, error)

Types

type Single

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

func (*Single) AddQuad

func (s *Single) AddQuad(q quad.Quad) error

func (*Single) AddQuadSet

func (s *Single) AddQuadSet(set []quad.Quad) error

func (*Single) ApplyTransaction added in v0.5.0

func (s *Single) ApplyTransaction(t *graph.Transaction) error

func (*Single) Close

func (s *Single) Close() error

func (*Single) RemoveNode added in v0.6.0

func (s *Single) RemoveNode(v quad.Value) error

RemoveNode removes all quads with the given value.

It returns ErrNodeNotExists if node is missing.

func (*Single) RemoveQuad

func (s *Single) RemoveQuad(q quad.Quad) error

Jump to

Keyboard shortcuts

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