Documentation ¶
Index ¶
- type Path
- type Query
- type ResultPath
- type ResultPathSlice
- type Session
- func (s *Session) BuildJson(result interface{})
- func (s *Session) ClearJson()
- func (s *Session) ExecInput(input string, c chan interface{}, _ int)
- func (s *Session) GetJson() ([]interface{}, error)
- func (m *Session) GetQuery(input string, output_struct chan map[string]interface{})
- func (s *Session) InputParses(input string) (query.ParseResult, error)
- func (s *Session) ToText(result interface{}) string
- func (m *Session) ToggleDebug()
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 (Path) DisplayString ¶ added in v0.3.1
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 (*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) InputParses ¶ added in v0.3.1
func (s *Session) InputParses(input string) (query.ParseResult, error)
func (*Session) ToggleDebug ¶ added in v0.3.1
func (m *Session) ToggleDebug()
Click to show internal directories.
Click to hide internal directories.