datalake

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datalake added in v1.8.0

type Datalake struct {
	SchemaRepository schemarepository.SchemaRepository
	Warehouse        model.Warehouse
	Uploader         warehouseutils.Uploader
	// contains filtered or unexported fields
}

func New added in v1.8.0

func New(log logger.Logger) *Datalake

func (*Datalake) AddColumns added in v1.8.0

func (d *Datalake) AddColumns(ctx context.Context, tableName string, columnsInfo []warehouseutils.ColumnInfo) (err error)

func (*Datalake) AlterColumn added in v1.8.0

func (d *Datalake) AlterColumn(ctx context.Context, tableName, columnName, columnType string) (model.AlterTableResponse, error)

func (*Datalake) Cleanup added in v1.8.0

func (*Datalake) Cleanup(context.Context)

func (*Datalake) Connect added in v1.8.0

func (*Datalake) CrashRecover added in v1.8.0

func (*Datalake) CrashRecover(context.Context)

func (*Datalake) CreateSchema added in v1.8.0

func (d *Datalake) CreateSchema(ctx context.Context) (err error)

func (*Datalake) CreateTable added in v1.8.0

func (d *Datalake) CreateTable(ctx context.Context, tableName string, columnMap model.TableSchema) (err error)

func (*Datalake) DeleteBy added in v1.8.0

func (*Datalake) DownloadIdentityRules added in v1.8.0

func (*Datalake) DownloadIdentityRules(context.Context, *misc.GZipWriter) error

func (*Datalake) DropTable added in v1.8.0

func (*Datalake) DropTable(context.Context, string) (err error)

func (*Datalake) ErrorMappings added in v1.8.0

func (*Datalake) ErrorMappings() []model.JobError

func (*Datalake) FetchSchema added in v1.8.0

func (d *Datalake) FetchSchema(ctx context.Context) (model.Schema, model.Schema, error)

func (*Datalake) GetTotalCountInTable added in v1.8.0

func (*Datalake) GetTotalCountInTable(context.Context, string) (int64, error)

func (*Datalake) IsEmpty added in v1.8.0

func (*Datalake) LoadIdentityMappingsTable added in v1.8.0

func (d *Datalake) LoadIdentityMappingsTable(context.Context) error

func (*Datalake) LoadIdentityMergeRulesTable added in v1.8.0

func (d *Datalake) LoadIdentityMergeRulesTable(context.Context) error

func (*Datalake) LoadTable added in v1.8.0

func (d *Datalake) LoadTable(_ context.Context, tableName string) error

func (*Datalake) LoadTestTable added in v1.8.0

func (*Datalake) LoadTestTable(context.Context, string, string, map[string]interface{}, string) error

func (*Datalake) LoadUserTables added in v1.8.0

func (d *Datalake) LoadUserTables(context.Context) map[string]error

func (*Datalake) SetConnectionTimeout added in v1.8.0

func (*Datalake) SetConnectionTimeout(_ time.Duration)

func (*Datalake) Setup added in v1.8.0

func (d *Datalake) Setup(_ context.Context, warehouse model.Warehouse, uploader warehouseutils.Uploader) (err error)

func (*Datalake) TestConnection added in v1.8.0

func (*Datalake) TestConnection(context.Context, model.Warehouse) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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