scenes

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolSceneFilter

type BoolSceneFilter[T any] struct {
	// contains filtered or unexported fields
}

func NewBoolSceneFilter

func NewBoolSceneFilter[T any](key string, valueGetter boolValueGetter[T], filterFactory *factory.FilterFactory[T]) *BoolSceneFilter[T]

func (*BoolSceneFilter[T]) GetKey

func (b *BoolSceneFilter[T]) GetKey() string

func (*BoolSceneFilter[T]) Match

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

func (*BoolSceneFilter[T]) Valid

func (b *BoolSceneFilter[T]) Valid(element types.JsonElement) errors.FilterError

type NumberArraySceneFilter added in v0.0.6

type NumberArraySceneFilter[T any] struct {
	// contains filtered or unexported fields
}

func NewNumberArraySceneFilter added in v0.0.6

func NewNumberArraySceneFilter[T any](key string, valueGetter numberArrayValueGetter[T], filterFactory *factory.FilterFactory[T]) *NumberArraySceneFilter[T]

func (*NumberArraySceneFilter[T]) GetKey added in v0.0.6

func (n *NumberArraySceneFilter[T]) GetKey() string

func (*NumberArraySceneFilter[T]) Match added in v0.0.6

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

func (*NumberArraySceneFilter[T]) Valid added in v0.0.6

type NumberSceneFilter

type NumberSceneFilter[T any] struct {
	// contains filtered or unexported fields
}

func NewNumberSceneFilter

func NewNumberSceneFilter[T any](key string, valueGetter numberValueGetter[T], filterFactory *factory.FilterFactory[T]) *NumberSceneFilter[T]

func (*NumberSceneFilter[T]) GetKey

func (n *NumberSceneFilter[T]) GetKey() string

func (*NumberSceneFilter[T]) Match

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

func (*NumberSceneFilter[T]) Valid

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

type StringArraySceneFilter added in v0.0.6

type StringArraySceneFilter[T any] struct {
	// contains filtered or unexported fields
}

func NewStringArraySceneFilter added in v0.0.6

func NewStringArraySceneFilter[T any](key string, valueGetter stringArrayValueGetter[T], filterFactory *factory.FilterFactory[T]) *StringArraySceneFilter[T]

func (*StringArraySceneFilter[T]) GetKey added in v0.0.6

func (n *StringArraySceneFilter[T]) GetKey() string

func (*StringArraySceneFilter[T]) Match added in v0.0.6

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

func (*StringArraySceneFilter[T]) Valid added in v0.0.6

type StringSceneFilter

type StringSceneFilter[T any] struct {
	// contains filtered or unexported fields
}

func NewStringSceneFilter

func NewStringSceneFilter[T any](key string, valueGetter stringValueGetter[T], filterFactory *factory.FilterFactory[T]) *StringSceneFilter[T]

func (*StringSceneFilter[T]) GetKey

func (s *StringSceneFilter[T]) GetKey() string

func (*StringSceneFilter[T]) Match

func (s *StringSceneFilter[T]) Match(element types.JsonElement, matchTarget T) errors.FilterError

func (*StringSceneFilter[T]) Valid

func (s *StringSceneFilter[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