common

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EqFilter

type EqFilter[T comparable] struct {
}

func NewEqFilter

func NewEqFilter[T comparable]() EqFilter[T]

func (EqFilter[T]) GetKey

func (e EqFilter[T]) GetKey() string

func (EqFilter[T]) Match

func (e EqFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (EqFilter[T]) Valid

func (e EqFilter[T]) Valid(element types.JsonElement) errors.FilterError

type GeFilter added in v0.0.5

type GeFilter[T cmp.Ordered] struct {
}

func NewGeFilter added in v0.0.5

func NewGeFilter[T cmp.Ordered]() GeFilter[T]

func (GeFilter[T]) GetKey added in v0.0.5

func (g GeFilter[T]) GetKey() string

func (GeFilter[T]) Match added in v0.0.5

func (g GeFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (GeFilter[T]) Valid added in v0.0.5

func (g GeFilter[T]) Valid(element types.JsonElement) errors.FilterError

type GtFilter added in v0.0.5

type GtFilter[T cmp.Ordered] struct {
}

func NewGtFilter added in v0.0.5

func NewGtFilter[T cmp.Ordered]() GtFilter[T]

func (GtFilter[T]) GetKey added in v0.0.5

func (g GtFilter[T]) GetKey() string

func (GtFilter[T]) Match added in v0.0.5

func (g GtFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (GtFilter[T]) Valid added in v0.0.5

func (g GtFilter[T]) Valid(element types.JsonElement) errors.FilterError

type InFilter added in v0.0.4

type InFilter[T comparable] struct {
}

func NewInFilter added in v0.0.4

func NewInFilter[T comparable]() InFilter[T]

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

func (i InFilter[T]) GetKey() string

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

func (i InFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

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

func (i InFilter[T]) Valid(element types.JsonElement) errors.FilterError

type LeFilter added in v0.0.5

type LeFilter[T cmp.Ordered] struct {
}

func NewLeFilter added in v0.0.5

func NewLeFilter[T cmp.Ordered]() LeFilter[T]

func (LeFilter[T]) GetKey added in v0.0.5

func (l LeFilter[T]) GetKey() string

func (LeFilter[T]) Match added in v0.0.5

func (l LeFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (LeFilter[T]) Valid added in v0.0.5

func (l LeFilter[T]) Valid(element types.JsonElement) errors.FilterError

type LtFilter added in v0.0.5

type LtFilter[T cmp.Ordered] struct {
}

func NewLtFilter added in v0.0.5

func NewLtFilter[T cmp.Ordered]() LtFilter[T]

func (LtFilter[T]) GetKey added in v0.0.5

func (l LtFilter[T]) GetKey() string

func (LtFilter[T]) Match added in v0.0.5

func (l LtFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (LtFilter[T]) Valid added in v0.0.5

func (l LtFilter[T]) Valid(element types.JsonElement) errors.FilterError

type NeFilter

type NeFilter[T comparable] struct {
}

func NewNeFilter

func NewNeFilter[T comparable]() NeFilter[T]

func (NeFilter[T]) GetKey

func (n NeFilter[T]) GetKey() string

func (NeFilter[T]) Match

func (n NeFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (NeFilter[T]) Valid

func (n NeFilter[T]) Valid(element types.JsonElement) errors.FilterError

Jump to

Keyboard shortcuts

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