Documentation ¶
Index ¶
- Constants
- func BuildGremlinEnv(ses *GremlinSession) *otto.Otto
- type GremlinResult
- type GremlinSession
- func (ses *GremlinSession) BuildJson(result interface{})
- func (ses *GremlinSession) ClearJson()
- func (g *GremlinSession) ExecInput(input string, out chan interface{}, limit int)
- func (ses *GremlinSession) GetJson() (interface{}, error)
- func (g *GremlinSession) GetQuery(input string, output_struct chan map[string]interface{})
- func (g *GremlinSession) InputParses(input string) (graph.ParseResult, error)
- func (g *GremlinSession) SendResult(result *GremlinResult) bool
- func (s *GremlinSession) ToText(result interface{}) string
- func (g *GremlinSession) ToggleDebug()
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()
Click to show internal directories.
Click to hide internal directories.