number_filter

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type INumberFilter

type INumberFilter interface {
	types.IFilter[float64]
}

func NewNumberEqFilter

func NewNumberEqFilter() INumberFilter

func NewNumberInFilter added in v0.0.4

func NewNumberInFilter() INumberFilter

func NewNumberNeFilter

func NewNumberNeFilter() INumberFilter

type NumberFilterFactory

type NumberFilterFactory struct {
	// contains filtered or unexported fields
}

func NewNumberFilterFactory

func NewNumberFilterFactory(numberFilters []INumberFilter) NumberFilterFactory

func (NumberFilterFactory) Get

type NumberRangeFilter added in v0.0.4

type NumberRangeFilter[T float64] struct {
}

func NewNumberRangeFilter added in v0.0.4

func NewNumberRangeFilter() NumberRangeFilter[float64]

func (NumberRangeFilter[T]) GetKey added in v0.0.4

func (b NumberRangeFilter[T]) GetKey() string

func (NumberRangeFilter[T]) Match added in v0.0.4

func (b NumberRangeFilter[T]) Match(element types.JsonElement, matchTarget float64) errors.FilterError

func (NumberRangeFilter[T]) Valid added in v0.0.4

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL