gremlin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GremlinTopResultTag = "id"

Variables

This section is empty.

Functions

func BuildGremlinEnv

func BuildGremlinEnv(ses *GremlinSession) *otto.Otto

Types

type GremlinResult

type GremlinResult struct {
	// contains filtered or unexported fields
}

type GremlinSession

type GremlinSession struct {
	// contains filtered or unexported fields
}

func NewGremlinSession

func NewGremlinSession(inputTripleStore graph.TripleStore, timeoutSec int, persist bool) *GremlinSession

func (*GremlinSession) BuildJson

func (ses *GremlinSession) BuildJson(result interface{})

Web stuff

func (*GremlinSession) ClearJson

func (ses *GremlinSession) ClearJson()

func (*GremlinSession) ExecInput

func (g *GremlinSession) ExecInput(input string, out chan interface{}, limit int)

func (*GremlinSession) GetJson

func (ses *GremlinSession) GetJson() (interface{}, error)

func (*GremlinSession) GetQuery

func (g *GremlinSession) GetQuery(input string, output_struct chan map[string]interface{})

func (*GremlinSession) InputParses

func (g *GremlinSession) InputParses(input string) (graph.ParseResult, error)

func (*GremlinSession) SendResult

func (g *GremlinSession) SendResult(result *GremlinResult) bool

func (*GremlinSession) ToText

func (s *GremlinSession) ToText(result interface{}) string

func (*GremlinSession) ToggleDebug

func (g *GremlinSession) ToggleDebug()

Jump to

Keyboard shortcuts

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