mql

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "mql"

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 Session added in v0.3.1

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

func NewSession added in v0.3.1

func NewSession(qs graph.QuadStore) *Session

func (*Session) Clear added in v0.4.1

func (s *Session) Clear()

func (*Session) Collate added in v0.4.1

func (s *Session) Collate(result query.Result)

func (*Session) Execute added in v0.4.1

func (s *Session) Execute(ctx context.Context, input string, c chan query.Result, limit int)

func (*Session) FormatREPL added in v0.6.0

func (s *Session) FormatREPL(result query.Result) string

func (*Session) Results added in v0.4.1

func (s *Session) Results() (interface{}, error)

func (*Session) ShapeOf added in v0.4.1

func (s *Session) ShapeOf(query string) (interface{}, error)

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