internal

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashStrings

func HashStrings(elems ...string) ([]byte, error)

func HashUnknown

func HashUnknown(elems ...[]interface{}) ([]byte, error)

func MustCreateTestClient

func MustCreateTestClient() *exaprovider.Client

func MustCreateTestConf

func MustCreateTestConf() exasol.ConnConf

Types

type Conn

type Conn interface {
	Commit() error
	Execute(string, ...interface{}) (map[string]interface{}, error)
	FetchSlice(string, ...interface{}) ([][]interface{}, error)
}

type Data

type Data interface {
	Get(name string) interface{}
	GetOk(name string) (interface{}, bool)
	Set(name string, d interface{}) error
	Id() string
	SetId(id string)
	HasChange(name string) bool
	GetChange(name string) (interface{}, interface{})
}

type TestData

type TestData struct {
	Values    map[string]interface{}
	NewValues map[string]interface{}
	// contains filtered or unexported fields
}

func (*TestData) Get

func (d *TestData) Get(name string) interface{}

func (*TestData) GetChange

func (d *TestData) GetChange(name string) (interface{}, interface{})

func (*TestData) GetOk added in v0.0.13

func (d *TestData) GetOk(name string) (interface{}, bool)

func (*TestData) HasChange

func (d *TestData) HasChange(name string) bool

func (*TestData) Id

func (d *TestData) Id() string

func (*TestData) Set

func (d *TestData) Set(name string, value interface{}) error

func (*TestData) SetId

func (d *TestData) SetId(id string)

Directories

Path Synopsis
Package globallock is handling global lock behavior in Exasol.
Package globallock is handling global lock behavior in Exasol.

Jump to

Keyboard shortcuts

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