mql

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Path added in v0.3.1

type Path string

func NewPath added in v0.3.1

func NewPath() Path

func (Path) DisplayString added in v0.3.1

func (p Path) DisplayString() string

func (Path) Follow added in v0.3.1

func (p Path) Follow(s string) Path

func (Path) ToResultPathFromMap added in v0.3.1

func (p Path) ToResultPathFromMap(resultMap map[Path]string) ResultPath

type Query added in v0.3.1

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

func NewQuery added in v0.3.1

func NewQuery(ses *Session) *Query

func (*Query) BuildIteratorTree added in v0.3.1

func (q *Query) BuildIteratorTree(query interface{})

type ResultPath added in v0.3.1

type ResultPath string

func NewResultPath added in v0.3.1

func NewResultPath() ResultPath

func (ResultPath) AppendValue added in v0.3.1

func (p ResultPath) AppendValue(value string) ResultPath

func (ResultPath) FollowPath added in v0.3.1

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

type ResultPathSlice added in v0.3.1

type ResultPathSlice []ResultPath

func (ResultPathSlice) Len added in v0.3.1

func (p ResultPathSlice) Len() int

func (ResultPathSlice) Less added in v0.3.1

func (p ResultPathSlice) Less(i, j int) bool

func (ResultPathSlice) Swap added in v0.3.1

func (p ResultPathSlice) Swap(i, j int)

type Session added in v0.3.1

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

func NewSession added in v0.3.1

func NewSession(ts graph.TripleStore) *Session

func (*Session) BuildJson added in v0.3.1

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

func (*Session) ClearJson added in v0.3.1

func (s *Session) ClearJson()

func (*Session) ExecInput added in v0.3.1

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

func (*Session) GetJson added in v0.3.1

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

func (*Session) GetQuery added in v0.3.1

func (m *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) ToText added in v0.3.1

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

func (*Session) ToggleDebug added in v0.3.1

func (m *Session) ToggleDebug()

Jump to

Keyboard shortcuts

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