persistence

package
v0.1.5-beta01 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NaiveSQLPersistenceSystem

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

func (*NaiveSQLPersistenceSystem) CacheStoreGet

func (s *NaiveSQLPersistenceSystem) CacheStoreGet(key string) ([]byte, error)

func (*NaiveSQLPersistenceSystem) CacheStorePut

func (s *NaiveSQLPersistenceSystem) CacheStorePut(key string, value []byte, expiration string, ttl int) error

func (*NaiveSQLPersistenceSystem) GetSystemName

func (s *NaiveSQLPersistenceSystem) GetSystemName() string

func (*NaiveSQLPersistenceSystem) HandleExternalTables

func (s *NaiveSQLPersistenceSystem) HandleExternalTables(
	providerName string, externalTables map[string]anysdk.SQLExternalTable) error

func (*NaiveSQLPersistenceSystem) HandleViewCollection

func (s *NaiveSQLPersistenceSystem) HandleViewCollection(viewCollection []anysdk.View) error

type PersistenceSystem

type PersistenceSystem interface {
	GetSystemName() string
	HandleExternalTables(providerName string, externalTables map[string]anysdk.SQLExternalTable) error
	HandleViewCollection([]anysdk.View) error
	CacheStoreGet(key string) ([]byte, error)
	CacheStorePut(key string, value []byte, expiration string, ttl int) error
}

func NewSQLPersistenceSystem

func NewSQLPersistenceSystem(systemType string, sqlEngine sqlengine.SQLEngine) (PersistenceSystem, error)

Jump to

Keyboard shortcuts

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