ddbinstall

package
v0.0.0-...-5c68377 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

DB describes database interface for installer.

func NewDB

func NewDB() DB

type Stream

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

func NewStream

func NewStream(lambda string) Stream

type StreamViewType

type StreamViewType string

type Streams

type Streams struct {
	ViewType StreamViewType
	Streams  []Stream
}

func NewStreams

func NewStreams(viewType StreamViewType, streams ...Stream) Streams

type Table

type Table interface {
	GetName() string
	Log() ss.LogStream

	Create() error
	Delete() error

	Setup() error

	Wait() error
	WaitUntilNotExists() error

	InsertData() error
}

Table describes table installing interface.

type TableAbstraction

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

func NewTableAbstraction

func NewTableAbstraction(
	db DB,
	record ssddb.DataRecord,
	log ss.Log,
) TableAbstraction

func (TableAbstraction) Create

func (table TableAbstraction) Create(
	indexRecords []ssddb.IndexRecord,
) error

func (TableAbstraction) Delete

func (table TableAbstraction) Delete() error

func (TableAbstraction) EnableStreams

func (table TableAbstraction) EnableStreams(streams Streams) error

func (TableAbstraction) EnableTimeToLive

func (table TableAbstraction) EnableTimeToLive(fieldName string) error

func (TableAbstraction) GetName

func (table TableAbstraction) GetName() string

func (TableAbstraction) Log

func (table TableAbstraction) Log() ss.LogStream

func (TableAbstraction) Wait

func (table TableAbstraction) Wait() error

func (TableAbstraction) WaitUntilNotExists

func (table TableAbstraction) WaitUntilNotExists() error

Jump to

Keyboard shortcuts

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