gremlin

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2014 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const TopResultTag = "id"

Variables

This section is empty.

Functions

func BuildEnviron added in v0.3.1

func BuildEnviron(ses *Session) *otto.Otto

Types

type GremlinResult

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

type Session added in v0.3.1

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

func NewSession added in v0.3.1

func NewSession(inputTripleStore graph.TripleStore, timeoutSec int, persist bool) *Session

func (*Session) BuildJson added in v0.3.1

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

Web stuff

func (*Session) ClearJson added in v0.3.1

func (ses *Session) ClearJson()

func (*Session) ExecInput added in v0.3.1

func (s *Session) ExecInput(input string, out chan interface{}, limit int)

func (*Session) GetJson added in v0.3.1

func (ses *Session) GetJson() ([]interface{}, error)

func (*Session) GetQuery added in v0.3.1

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

func (*Session) InputParses added in v0.3.1

func (s *Session) InputParses(input string) (query.ParseResult, error)

func (*Session) SendResult added in v0.3.1

func (s *Session) SendResult(result *GremlinResult) bool

func (*Session) ToText added in v0.3.1

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

func (*Session) ToggleDebug added in v0.3.1

func (s *Session) ToggleDebug()

Jump to

Keyboard shortcuts

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