store

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TestLogStatementsFile       string
	OracleLogStatementsFile     string
	LogStatementFileCompression stmtlogger.Compression
	MaxRetriesMutate            int
	MaxRetriesMutateSleep       time.Duration
	UseServerSideTimestamps     bool
}

type Row added in v1.9.0

type Row map[string]any

type Store

type Store interface {
	Create(context.Context, *typedef.Stmt, *typedef.Stmt) error
	Mutate(context.Context, *typedef.Stmt) error
	Check(context.Context, *typedef.Table, *typedef.Stmt, bool) error
	Close() error
}

func New

func New(schema *typedef.Schema, testCluster, oracleCluster *gocql.ClusterConfig, cfg Config, logger *zap.Logger) (Store, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳