Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bound ¶
type Filter ¶
type Filter interface { // Ok evaluates whether the given value satisfies the filter condition. // docBuf is optional and can be nil it's used for reuse memory in some filters Ok(v *anyenc.Value, docBuf *syncpool.DocBuffer) bool // IndexBounds appends bounds to the bs for the given field if it is applicable IndexBounds(fieldName string, bs Bounds) (bounds Bounds) fmt.Stringer }
func MustParseCondition ¶
func ParseCondition ¶
type In ¶ added in v0.3.0
type In struct {
Values map[string]struct{}
}
func NewInValue ¶ added in v0.3.0
func (In) IndexBounds ¶ added in v0.3.0
type Modifier ¶
type Modifier interface {
Modify(a *anyenc.Arena, v *anyenc.Value) (result *anyenc.Value, modified bool, err error)
}
func MustParseModifier ¶
func ParseModifier ¶
type ModifierChain ¶
type ModifierChain []Modifier
type ModifyFunc ¶
type Sort ¶
type Sort interface { Fields() []SortField AppendKey(k anyenc.Tuple, v *anyenc.Value) anyenc.Tuple }
func MustParseSort ¶
type TypeFilter ¶
func (TypeFilter) IndexBounds ¶
func (e TypeFilter) IndexBounds(fieldName string, bs Bounds) (bounds Bounds)
func (TypeFilter) String ¶
func (e TypeFilter) String() string
Click to show internal directories.
Click to hide internal directories.