mql

package
Version: 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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MqlPath

type MqlPath string

func NewMqlPath

func NewMqlPath() MqlPath

func (MqlPath) DisplayString

func (p MqlPath) DisplayString() string

func (MqlPath) Follow

func (p MqlPath) Follow(s string) MqlPath

func (MqlPath) ToResultPathFromMap

func (p MqlPath) ToResultPathFromMap(resultMap map[MqlPath]string) MqlResultPath

type MqlQuery

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

func NewMqlQuery

func NewMqlQuery(ses *MqlSession) *MqlQuery

func (*MqlQuery) BuildIteratorTree

func (m *MqlQuery) BuildIteratorTree(query interface{})

type MqlResultPath

type MqlResultPath string

func NewMqlResultPath

func NewMqlResultPath() MqlResultPath

func (MqlResultPath) AppendValue

func (p MqlResultPath) AppendValue(value string) MqlResultPath

func (MqlResultPath) FollowPath

func (p MqlResultPath) FollowPath(followPiece string, value string) MqlResultPath

type MqlResultPathSlice

type MqlResultPathSlice []MqlResultPath

func (MqlResultPathSlice) Len

func (sl MqlResultPathSlice) Len() int

func (MqlResultPathSlice) Less

func (sl MqlResultPathSlice) Less(i, j int) bool

func (MqlResultPathSlice) Swap

func (sl MqlResultPathSlice) Swap(i, j int)

type MqlSession

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

func NewMqlSession

func NewMqlSession(ts graph.TripleStore) *MqlSession

func (*MqlSession) BuildJson

func (m *MqlSession) BuildJson(result interface{})

func (*MqlSession) ClearJson

func (m *MqlSession) ClearJson()

func (*MqlSession) ExecInput

func (m *MqlSession) ExecInput(input string, c chan interface{}, limit int)

func (*MqlSession) GetJson

func (m *MqlSession) GetJson() (interface{}, error)

func (*MqlSession) GetQuery

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

func (*MqlSession) InputParses

func (m *MqlSession) InputParses(input string) (graph.ParseResult, error)

func (*MqlSession) ToText

func (m *MqlSession) ToText(result interface{}) string

func (*MqlSession) ToggleDebug

func (m *MqlSession) ToggleDebug()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL