Documentation
¶
Index ¶
- func NewSingle(qs graph.QuadStore, opts graph.IgnoreOpts) (graph.QuadWriter, error)
- func NewSingleReplication(qs graph.QuadStore, opts graph.Options) (graph.QuadWriter, error)
- type Single
- func (s *Single) AddQuad(ctx context.Context, q quad.Quad) error
- func (s *Single) AddQuadSet(ctx context.Context, set []quad.Quad) error
- func (s *Single) ApplyTransaction(ctx context.Context, t *graph.Transaction) error
- func (s *Single) Close() error
- func (s *Single) RemoveNode(ctx context.Context, v quad.Value) error
- func (s *Single) RemoveQuad(ctx context.Context, q quad.Quad) error
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 ¶
Types ¶
type Single ¶
type Single struct {
// contains filtered or unexported fields
}
func (*Single) ApplyTransaction ¶ added in v0.5.0
func (*Single) RemoveNode ¶ added in v0.6.0
RemoveNode removes all quads with the given value.
It returns ErrNodeNotExists if node is missing.
Click to show internal directories.
Click to hide internal directories.