Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolEqFilter ¶
type BoolEqFilter struct {
}
func NewBoolEqFilter ¶
func NewBoolEqFilter() BoolEqFilter
func (BoolEqFilter) GetKey ¶
func (b BoolEqFilter) GetKey() string
func (BoolEqFilter) Match ¶
func (b BoolEqFilter) Match(element types.JsonElement, matchTarget bool) errors.FilterError
func (BoolEqFilter) Valid ¶
func (b BoolEqFilter) Valid(element types.JsonElement) errors.FilterError
type BoolFilterFactory ¶
type BoolFilterFactory struct {
// contains filtered or unexported fields
}
func NewBoolFilterFactory ¶
func NewBoolFilterFactory(boolFilters []IBoolFilter) BoolFilterFactory
func (BoolFilterFactory) Get ¶
func (b BoolFilterFactory) Get(key string) (IBoolFilter, errors.FilterError)
type IBoolFilter ¶
type INumberFilter ¶
type IStringFilter ¶
type NumberEqFilter ¶
type NumberEqFilter struct {
}
func NewNumberEqFilter ¶
func NewNumberEqFilter() NumberEqFilter
func (NumberEqFilter) GetKey ¶
func (b NumberEqFilter) GetKey() string
func (NumberEqFilter) Match ¶
func (b NumberEqFilter) Match(element types.JsonElement, matchTarget float64) errors.FilterError
func (NumberEqFilter) Valid ¶
func (b NumberEqFilter) Valid(element types.JsonElement) errors.FilterError
type NumberFilterFactory ¶
type NumberFilterFactory struct {
// contains filtered or unexported fields
}
func NewNumberFilterFactory ¶
func NewNumberFilterFactory(numberFilters []INumberFilter) NumberFilterFactory
func (NumberFilterFactory) Get ¶
func (n NumberFilterFactory) Get(key string) (INumberFilter, errors.FilterError)
type StringEqFilter ¶
type StringEqFilter struct {
}
func NewStringEqFilter ¶
func NewStringEqFilter() StringEqFilter
func (StringEqFilter) GetKey ¶
func (b StringEqFilter) GetKey() string
func (StringEqFilter) Match ¶
func (b StringEqFilter) Match(element types.JsonElement, matchTarget string) errors.FilterError
func (StringEqFilter) Valid ¶
func (b StringEqFilter) Valid(element types.JsonElement) errors.FilterError
type StringFilterFactory ¶
type StringFilterFactory struct {
// contains filtered or unexported fields
}
func NewStringFilterFactory ¶
func NewStringFilterFactory(stringFilters []IStringFilter) StringFilterFactory
func (StringFilterFactory) Get ¶
func (n StringFilterFactory) Get(key string) (IStringFilter, errors.FilterError)
Click to show internal directories.
Click to hide internal directories.