Documentation ¶
Overview ¶
Package goneo implements a most basic graph database for Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TabularData ¶
type TabularData struct {
// contains filtered or unexported fields
}
TabularData describes information in a tabular format.
func Evaluate ¶
func Evaluate(db DatabaseService, qry string) (*TabularData, error)
Evaluate a gcy query
Example:
start n=node(*) return n
func (*TabularData) Get ¶
func (t *TabularData) Get(row int, column string) interface{}
Get returns a single field
func (*TabularData) Merge ¶
func (t *TabularData) Merge(t2 *TabularData) *TabularData
Merge two tables.
func (*TabularData) String ¶
func (t *TabularData) String() string
Notes ¶
Bugs ¶
db cannot encode undirected graph
cannot encode more than one possible relation type
TabularData does not handle tables of different sizes.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
goneo
Commandline test application serving an in memory DB via http.
|
Commandline test application serving an in memory DB via http. |
Package data containing test data
|
Package data containing test data |
Package db is the basic contract package for a database handled by goneo.
|
Package db is the basic contract package for a database handled by goneo. |
mem
Package mem is a simple memory based implementation of DatabaseService.
|
Package mem is a simple memory based implementation of DatabaseService. |
simplefile
Package simplefile for a simple file backed DatabaseService.
|
Package simplefile for a simple file backed DatabaseService. |
Package gcy contains a lexer and parser for a graph language.
|
Package gcy contains a lexer and parser for a graph language. |
Package log initializes our logger
|
Package log initializes our logger |
Package sgi implementing graph isomorphism algorithms and helpers.
|
Package sgi implementing graph isomorphism algorithms and helpers. |
Package web interface for goneo.
|
Package web interface for goneo. |
Click to show internal directories.
Click to hide internal directories.