Documentation ¶
Index ¶
- type AndQuery
- func (aq *AndQuery) Current() (document.DocId, error)
- func (aq *AndQuery) DebugInfo() *debug.Debug
- func (aq *AndQuery) GetGE(id document.DocId) (document.DocId, error)
- func (aq *AndQuery) Marshal() map[string]interface{}
- func (aq *AndQuery) Next()
- func (aq *AndQuery) SetDebug(level int)
- func (aq *AndQuery) Unmarshal(idx *index.Indexer, res map[string]interface{}, e operation.Operation) Query
- type Expression
- type Heap
- type NotAndQuery
- func (naq *NotAndQuery) Current() (document.DocId, error)
- func (naq *NotAndQuery) DebugInfo() *debug.Debug
- func (naq *NotAndQuery) GetGE(id document.DocId) (document.DocId, error)
- func (naq *NotAndQuery) Marshal() map[string]interface{}
- func (naq *NotAndQuery) Next()
- func (naq *NotAndQuery) SetDebug(level int)
- func (naq *NotAndQuery) Unmarshal(idx *index.Indexer, res map[string]interface{}, e operation.Operation) Query
- type OrQuery
- func (oq *OrQuery) Current() (document.DocId, error)
- func (oq *OrQuery) DebugInfo() *debug.Debug
- func (oq *OrQuery) GetGE(id document.DocId) (document.DocId, error)
- func (oq *OrQuery) Marshal() map[string]interface{}
- func (oq *OrQuery) Next()
- func (oq *OrQuery) SetDebug(level int)
- func (oq *OrQuery) Unmarshal(idx *index.Indexer, res map[string]interface{}, e operation.Operation) Query
- type Query
- type SqlQuery
- type TermQuery
- func (tq *TermQuery) Current() (document.DocId, error)
- func (tq *TermQuery) DebugInfo() *debug.Debug
- func (tq *TermQuery) GetGE(id document.DocId) (document.DocId, error)
- func (tq *TermQuery) Marshal() map[string]interface{}
- func (tq *TermQuery) Next()
- func (tq *TermQuery) SetDebug(level int)
- func (tq *TermQuery) Unmarshal(idx *index.Indexer, res map[string]interface{}, e operation.Operation) Query
- type UnmarshalQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
type Expression struct {
// contains filtered or unexported fields
}
func NewExpression ¶
func NewExpression(str string) *Expression
func (*Expression) GetStr ¶
func (e *Expression) GetStr() string
func (*Expression) ToPostfix ¶
func (e *Expression) ToPostfix(exp []string) []string
type NotAndQuery ¶
type NotAndQuery struct {
// contains filtered or unexported fields
}
func NewNotAndQuery ¶
func NewNotAndQuery(queries []Query, checkers []check.Checker, isDebug ...int) (naq *NotAndQuery)
func (*NotAndQuery) DebugInfo ¶
func (naq *NotAndQuery) DebugInfo() *debug.Debug
func (*NotAndQuery) Marshal ¶
func (naq *NotAndQuery) Marshal() map[string]interface{}
func (*NotAndQuery) Next ¶
func (naq *NotAndQuery) Next()
func (*NotAndQuery) SetDebug ¶
func (naq *NotAndQuery) SetDebug(level int)
type SqlQuery ¶
type SqlQuery struct { Node *datastruct.TreeNode Stack *datastruct.Stack Expression *Expression // contains filtered or unexported fields }
type TermQuery ¶
type TermQuery struct {
// contains filtered or unexported fields
}
func NewTermQuery ¶
func NewTermQuery(iter datastruct.Iterator) (tq *TermQuery)
Click to show internal directories.
Click to hide internal directories.