cayley

package module
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

Build Status Container Repository

Cayley 很多年没有升级版本了,最新的tag是v0.7.7,这个tag不包含最新的代码,导致不能在代码中引用,因此fork,fork后修改了模块名,将最新的代码添加tagv0.8.0,大家可以通过go get github.com/pymjer/cayley引用最新的代码

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StartMorphism = path.StartMorphism
	StartPath     = path.StartPath

	NewTransaction = graph.NewTransaction
)

Functions

func Quad

func Quad(subject, predicate, object, label interface{}) quad.Quad

func Triple

func Triple(subject, predicate, object interface{}) quad.Quad

Types

type Handle

type Handle struct {
	graph.QuadStore
	graph.QuadWriter
}

func NewGraph

func NewGraph(name, dbpath string, opts graph.Options) (*Handle, error)

func NewMemoryGraph

func NewMemoryGraph() (*Handle, error)

func (*Handle) Close

func (h *Handle) Close() error

type Iterator

type Iterator = iterator.Shape

type Path

type Path = path.Path

type QuadStore

type QuadStore = graph.QuadStore

type QuadWriter

type QuadWriter = graph.QuadWriter

Directories

Path Synopsis
Package clog provides a logging interface for cayley packages.
Package clog provides a logging interface for cayley packages.
cmd
examples
all
kv
log
memstore
Package b implements a B+tree.
Package b implements a B+tree.
proto
Package proto is a generated protocol buffer package.
Package proto is a generated protocol buffer package.
sql
Package inference implements an in-memory store for inference.
Package inference implements an in-memory store for inference.
http
You can use the "packr clean" command to clean up this, and any other packr generated files.
You can use the "packr clean" command to clean up this, and any other packr generated files.
lru
Package query defines the graph session interface general to all query languages.
Package query defines the graph session interface general to all query languages.
mql
Package schema contains helpers to map Go objects to quads and vise-versa.
Package schema contains helpers to map Go objects to quads and vise-versa.
server

Jump to

Keyboard shortcuts

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