gremlin

package
v0.0.0-...-cb177aa 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

func BuildEnviron(ses *Session) *otto.Otto

Types

type GremlinResult

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

type Session

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

func NewSession

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

func (*Session) BuildJson

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

Web stuff

func (*Session) ClearJson

func (ses *Session) ClearJson()

func (*Session) ExecInput

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

func (*Session) GetJson

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

func (*Session) GetQuery

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

func (*Session) InputParses

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

func (*Session) SendResult

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

func (*Session) ToText

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

func (*Session) ToggleDebug

func (s *Session) ToggleDebug()

Jump to

Keyboard shortcuts

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