Documentation
¶
Index ¶
- type Option
- type Store
- func (s *Store) Close() error
- func (s *Store) DeleteByEntityAttribute(ctx context.Context, entity, attr string) error
- func (s *Store) DeleteFact(ctx context.Context, id string) error
- func (s *Store) DeleteRelationship(ctx context.Context, id string) error
- func (s *Store) ReadFact(ctx context.Context, id string) (semantic.Fact, error)
- func (s *Store) ReadRelationships(ctx context.Context, subject string) ([]semantic.Relationship, error)
- func (s *Store) ReadStatement(ctx context.Context, id string) (semantic.StatementFact, error)
- func (s *Store) ReadTriple(ctx context.Context, id string) (semantic.TripleFact, error)
- func (s *Store) Search(ctx context.Context, query semantic.SearchQuery) ([]semantic.Fact, error)
- func (s *Store) TraverseGraph(ctx context.Context, query semantic.GraphQuery) (semantic.GraphResult, error)
- func (s *Store) WriteRelationship(ctx context.Context, rel semantic.Relationship) error
- func (s *Store) WriteStatement(ctx context.Context, fact semantic.StatementFact) error
- func (s *Store) WriteStatements(ctx context.Context, facts []semantic.StatementFact) error
- func (s *Store) WriteTriple(ctx context.Context, fact semantic.TripleFact) error
- func (s *Store) WriteTriples(ctx context.Context, facts []semantic.TripleFact) 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
}
func (*Store) DeleteByEntityAttribute ¶
func (*Store) DeleteRelationship ¶
func (*Store) ReadRelationships ¶
func (*Store) ReadStatement ¶
func (*Store) ReadTriple ¶
func (*Store) TraverseGraph ¶
func (s *Store) TraverseGraph(ctx context.Context, query semantic.GraphQuery) (semantic.GraphResult, error)
func (*Store) WriteRelationship ¶
func (*Store) WriteStatement ¶
func (*Store) WriteStatements ¶
func (*Store) WriteTriple ¶
func (*Store) WriteTriples ¶
Click to show internal directories.
Click to hide internal directories.