Documentation
¶
Index ¶
- type Collection
- type Configurator
- type ConfiguratorBuilder
- type ConfiguratorBuilderDirector
- type StandardTableNamespaceCollection
- func (col *StandardTableNamespaceCollection) GetAnalyticsCacheTableNamespaceConfigurator() Configurator
- func (col *StandardTableNamespaceCollection) GetViewsTableNamespaceConfigurator() Configurator
- func (col *StandardTableNamespaceCollection) WithSQLSystem(sqlSystem sql_system.SQLSystem) (Collection, error)
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)
Click to show internal directories.
Click to hide internal directories.