Documentation
¶
Overview ¶
Package sqlite provides the embedded SQLite reference implementation of memgraph.Store.
Default driver: modernc.org/sqlite (pure Go, cgo-free) to preserve single-binary cross-compilation.
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) CreateGraph(ctx context.Context, in memgraph.GraphInput) (memgraph.Graph, error)
- func (s *Store) DeleteEdge(ctx context.Context, id memgraph.EdgeID) error
- func (s *Store) DescribeSchema(ctx context.Context, graphID memgraph.GraphID) (memgraph.SchemaDescription, error)
- func (s *Store) GetGraph(ctx context.Context, id memgraph.GraphID) (memgraph.Graph, error)
- func (s *Store) GetNodeByID(ctx context.Context, id memgraph.NodeID) (memgraph.Node, error)
- func (s *Store) GetNodeByLineage(ctx context.Context, id memgraph.LineageID, opts memgraph.ReadOpts) (memgraph.Node, error)
- func (s *Store) History(ctx context.Context, id memgraph.LineageID) ([]memgraph.Node, error)
- func (s *Store) Incoming(ctx context.Context, to memgraph.LineageID, opts memgraph.TraverseOpts) ([]memgraph.Edge, error)
- func (s *Store) ListGraphs(ctx context.Context) ([]memgraph.Graph, error)
- func (s *Store) ListNodes(ctx context.Context, graphID memgraph.GraphID, f memgraph.NodeFilter) ([]memgraph.Node, error)
- func (s *Store) ListTags(ctx context.Context, graphID memgraph.GraphID, prefix string, limit int) ([]memgraph.TagFreq, error)
- func (s *Store) Outgoing(ctx context.Context, from memgraph.LineageID, opts memgraph.TraverseOpts) ([]memgraph.Edge, error)
- func (s *Store) PutEdge(ctx context.Context, in memgraph.EdgeInput) (memgraph.Edge, error)
- func (s *Store) PutNode(ctx context.Context, in memgraph.NodeInput) (memgraph.Node, error)
- func (s *Store) Search(ctx context.Context, graphID memgraph.GraphID, q memgraph.SearchQuery) ([]memgraph.SearchHit, error)
- func (s *Store) Subscribe(h memgraph.WriteHandler) (memgraph.Unsubscribe, error)
- func (s *Store) SymlinkManifest(ctx context.Context, graphID memgraph.GraphID) (memgraph.SymlinkManifest, error)
- func (s *Store) Traverse(ctx context.Context, from memgraph.LineageID, opts memgraph.TraverseOpts) (memgraph.TraversalResult, error)
- func (s *Store) UpdateGraphConfig(ctx context.Context, id memgraph.GraphID, patch memgraph.GraphConfigPatch) (memgraph.Graph, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is the SQLite-backed memgraph.Store implementation.
func (*Store) CreateGraph ¶
func (*Store) DeleteEdge ¶
func (*Store) DescribeSchema ¶ added in v0.3.0
func (*Store) GetNodeByID ¶
func (*Store) GetNodeByLineage ¶
func (*Store) ListGraphs ¶
func (*Store) Subscribe ¶
func (s *Store) Subscribe(h memgraph.WriteHandler) (memgraph.Unsubscribe, error)
func (*Store) SymlinkManifest ¶
Click to show internal directories.
Click to hide internal directories.