timescaledb

package
v0.0.0-...-f2aef69 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimescaleDBDestination

type TimescaleDBDestination struct {
	Model     *models.Model
	DB        *sql.DB
	Table     string
	Schema    map[string]string // Column types
	BatchSize int
}

func (*TimescaleDBDestination) Close

func (d *TimescaleDBDestination) Close() error

func (*TimescaleDBDestination) CreateSchema

func (d *TimescaleDBDestination) CreateSchema() ([]string, error)

func (*TimescaleDBDestination) Init

func (d *TimescaleDBDestination) Init(config map[string]interface{}, model *models.Model) error

func (*TimescaleDBDestination) InsertQuery

func (d *TimescaleDBDestination) InsertQuery() string

func (*TimescaleDBDestination) RunSchema

func (d *TimescaleDBDestination) RunSchema() error

func (*TimescaleDBDestination) StoreData

func (d *TimescaleDBDestination) StoreData(data []map[string]interface{}) (int, int, error)

func (*TimescaleDBDestination) StoreDataBatch

func (d *TimescaleDBDestination) StoreDataBatch(data []map[string]interface{}) (int, int, error)

func (*TimescaleDBDestination) StoreDataSingle

func (d *TimescaleDBDestination) StoreDataSingle(data []map[string]interface{}) (int, int, error)

Jump to

Keyboard shortcuts

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