Help us shape the future of Go! Take the 2026 Go Developer Survey

tablenamespace

package
v0.10.500 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection added in v0.5.375

type Collection interface {
	GetAnalyticsCacheTableNamespaceConfigurator() Configurator
	GetViewsTableNamespaceConfigurator() Configurator
	WithSQLSystem(sql_system.SQLSystem) (Collection, error)
}

func NewStandardTableNamespaceCollection

func NewStandardTableNamespaceCollection(
	cfg map[string]dto.NamespaceCfg,
	sqlEngine sqlengine.SQLEngine,
) (Collection, error)

type Configurator added in v0.5.375

type Configurator interface {
	GetTTL() int
	GetLikeString() string
	GetObjectName(string) string
	IsAllowed(string) bool
	Match(string, string, string, string) (internaldto.TxnControlCounters, bool)
	Read(string, string, string, []string) (*sql.Rows, error)
	RenderTemplate(string) (string, error)
	WithSQLSystem(sqlSystem sql_system.SQLSystem) (Configurator, error)
}

type ConfiguratorBuilder added in v0.5.375

type ConfiguratorBuilder interface {
	Build() (Configurator, error)
	WithLikeString(likeString string) ConfiguratorBuilder
	WithTTL(ttl int) ConfiguratorBuilder
	WithRegexp(regex *regexp.Regexp) ConfiguratorBuilder
	WithSQLEngine(sqlEngine sqlengine.SQLEngine) ConfiguratorBuilder
	WithTemplate(tmpl *template.Template) ConfiguratorBuilder
}

type ConfiguratorBuilderDirector added in v0.5.375

type ConfiguratorBuilderDirector interface {
	Construct() error
	GetResult() Configurator
}

type StandardTableNamespaceCollection

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

func (*StandardTableNamespaceCollection) GetAnalyticsCacheTableNamespaceConfigurator

func (col *StandardTableNamespaceCollection) GetAnalyticsCacheTableNamespaceConfigurator() Configurator

func (*StandardTableNamespaceCollection) GetViewsTableNamespaceConfigurator

func (col *StandardTableNamespaceCollection) GetViewsTableNamespaceConfigurator() Configurator

func (*StandardTableNamespaceCollection) WithSQLSystem

func (col *StandardTableNamespaceCollection) WithSQLSystem(
	sqlSystem sql_system.SQLSystem,
) (Collection, error)

Jump to

Keyboard shortcuts

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