Documentation ¶
Index ¶
- Constants
- type Path
- type Query
- type ResultPath
- type Session
- func (s *Session) Clear()
- func (s *Session) Collate(result query.Result)
- func (s *Session) Execute(ctx context.Context, input string, c chan query.Result, limit int)
- func (s *Session) FormatREPL(result query.Result) string
- func (s *Session) Results() (interface{}, error)
- func (s *Session) ShapeOf(query string) (interface{}, error)
Constants ¶
View Source
const Name = "mql"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path string
func (Path) DisplayString ¶
func (Path) ToResultPathFromMap ¶
func (p Path) ToResultPathFromMap(resultMap map[Path]string) ResultPath
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
func (*Query) BuildIteratorTree ¶
func (q *Query) BuildIteratorTree(query interface{})
type ResultPath ¶
type ResultPath string
func NewResultPath ¶
func NewResultPath() ResultPath
func (ResultPath) AppendValue ¶
func (p ResultPath) AppendValue(value string) ResultPath
func (ResultPath) FollowPath ¶
func (p ResultPath) FollowPath(followPiece string, value string) ResultPath
Click to show internal directories.
Click to hide internal directories.