filter

package
v0.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterableFilter

type FilterableFilter interface {
	ListFilters() ([]abstract.TableDescription, error)
}

type IntersectFilter

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

func NewIntersect

func NewIntersect(subFilters ...base.DataObjectFilter) *IntersectFilter

func (*IntersectFilter) Includes

func (c *IntersectFilter) Includes(obj base.DataObject) (bool, error)

func (*IntersectFilter) IncludesID

func (c *IntersectFilter) IncludesID(tID abstract.TableID) (bool, error)

func (*IntersectFilter) ListFilters

func (c *IntersectFilter) ListFilters() ([]abstract.TableDescription, error)

func (*IntersectFilter) ListTables

func (c *IntersectFilter) ListTables() ([]abstract.TableID, error)

type ListableFilter

type ListableFilter interface {
	ListTables() ([]abstract.TableID, error)
}

type TableDescriptionsFilter

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

func NewFromDescription

func NewFromDescription(tables []abstract.TableDescription) *TableDescriptionsFilter

func (TableDescriptionsFilter) Includes

func (f TableDescriptionsFilter) Includes(obj base.DataObject) (bool, error)

func (TableDescriptionsFilter) IncludesID

func (f TableDescriptionsFilter) IncludesID(tID abstract.TableID) (bool, error)

func (TableDescriptionsFilter) ListFilters

func (TableDescriptionsFilter) ListTables

func (f TableDescriptionsFilter) ListTables() ([]abstract.TableID, error)

type TableIDFilter

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

func NewFromObjects

func NewFromObjects(objects []string) (*TableIDFilter, error)

func NewFromTableIDs

func NewFromTableIDs(tables []abstract.TableID) *TableIDFilter

func (*TableIDFilter) Includes

func (f *TableIDFilter) Includes(obj base.DataObject) (bool, error)

func (*TableIDFilter) IncludesID

func (f *TableIDFilter) IncludesID(tID abstract.TableID) (bool, error)

func (*TableIDFilter) ListTables

func (f *TableIDFilter) ListTables() ([]abstract.TableID, error)

Jump to

Keyboard shortcuts

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