datalake

package
v1.8.0-preview.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type HandleT

type HandleT struct {
	SchemaRepository schemarepository.SchemaRepository
	Warehouse        model.Warehouse
	Uploader         warehouseutils.Uploader
}

func (*HandleT) AddColumns

func (wh *HandleT) AddColumns(tableName string, columnsInfo []warehouseutils.ColumnInfo) (err error)

func (*HandleT) AlterColumn

func (wh *HandleT) AlterColumn(tableName, columnName, columnType string) (model.AlterTableResponse, error)

func (*HandleT) Cleanup

func (*HandleT) Cleanup()

func (*HandleT) Connect

func (*HandleT) Connect(_ model.Warehouse) (client.Client, error)

func (*HandleT) CrashRecover

func (*HandleT) CrashRecover(_ model.Warehouse) (err error)

func (*HandleT) CreateSchema

func (wh *HandleT) CreateSchema() (err error)

func (*HandleT) CreateTable

func (wh *HandleT) CreateTable(tableName string, columnMap model.TableSchema) (err error)

func (*HandleT) DeleteBy

func (*HandleT) DeleteBy([]string, warehouseutils.DeleteByParams) (err error)

func (*HandleT) DownloadIdentityRules

func (*HandleT) DownloadIdentityRules(*misc.GZipWriter) error

func (*HandleT) DropTable

func (*HandleT) DropTable(_ string) (err error)

func (*HandleT) ErrorMappings

func (wh *HandleT) ErrorMappings() []model.JobError

func (*HandleT) FetchSchema

func (wh *HandleT) FetchSchema(warehouse model.Warehouse) (model.Schema, model.Schema, error)

func (*HandleT) GetTotalCountInTable

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

func (*HandleT) IsEmpty

func (*HandleT) IsEmpty(_ model.Warehouse) (bool, error)

func (*HandleT) LoadIdentityMappingsTable

func (wh *HandleT) LoadIdentityMappingsTable() error

func (*HandleT) LoadIdentityMergeRulesTable

func (wh *HandleT) LoadIdentityMergeRulesTable() error

func (*HandleT) LoadTable

func (wh *HandleT) LoadTable(tableName string) error

func (*HandleT) LoadTestTable

func (*HandleT) LoadTestTable(_, _ string, _ map[string]interface{}, _ string) error

func (*HandleT) LoadUserTables

func (wh *HandleT) LoadUserTables() map[string]error

func (*HandleT) SetConnectionTimeout

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

func (*HandleT) Setup

func (wh *HandleT) Setup(warehouse model.Warehouse, uploader warehouseutils.Uploader) (err error)

func (*HandleT) TestConnection

func (*HandleT) TestConnection(_ model.Warehouse) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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