Documentation ¶
Index ¶
- type Datalake
- func (d *Datalake) AddColumns(tableName string, columnsInfo []warehouseutils.ColumnInfo) (err error)
- func (d *Datalake) AlterColumn(tableName, columnName, columnType string) (model.AlterTableResponse, error)
- func (*Datalake) Cleanup()
- func (*Datalake) Connect(_ model.Warehouse) (client.Client, error)
- func (*Datalake) CrashRecover()
- func (d *Datalake) CreateSchema() (err error)
- func (d *Datalake) CreateTable(tableName string, columnMap model.TableSchema) (err error)
- func (*Datalake) DeleteBy([]string, warehouseutils.DeleteByParams) (err error)
- func (*Datalake) DownloadIdentityRules(*misc.GZipWriter) error
- func (*Datalake) DropTable(_ string) (err error)
- func (*Datalake) ErrorMappings() []model.JobError
- func (d *Datalake) FetchSchema() (model.Schema, model.Schema, error)
- func (*Datalake) GetTotalCountInTable(context.Context, string) (int64, error)
- func (*Datalake) IsEmpty(_ model.Warehouse) (bool, error)
- func (d *Datalake) LoadIdentityMappingsTable() error
- func (d *Datalake) LoadIdentityMergeRulesTable() error
- func (d *Datalake) LoadTable(_ context.Context, tableName string) error
- func (*Datalake) LoadTestTable(_, _ string, _ map[string]interface{}, _ string) error
- func (d *Datalake) LoadUserTables(context.Context) map[string]error
- func (*Datalake) SetConnectionTimeout(_ time.Duration)
- func (d *Datalake) Setup(warehouse model.Warehouse, uploader warehouseutils.Uploader) (err error)
- func (*Datalake) TestConnection(context.Context, model.Warehouse) error
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 Logger logger.Logger }
func (*Datalake) AddColumns ¶ added in v1.8.0
func (d *Datalake) AddColumns(tableName string, columnsInfo []warehouseutils.ColumnInfo) (err error)
func (*Datalake) AlterColumn ¶ added in v1.8.0
func (d *Datalake) AlterColumn(tableName, columnName, columnType string) (model.AlterTableResponse, error)
func (*Datalake) CrashRecover ¶ added in v1.8.0
func (*Datalake) CrashRecover()
func (*Datalake) CreateSchema ¶ added in v1.8.0
func (*Datalake) CreateTable ¶ added in v1.8.0
func (d *Datalake) CreateTable(tableName string, columnMap model.TableSchema) (err error)
func (*Datalake) DeleteBy ¶ added in v1.8.0
func (*Datalake) DeleteBy([]string, warehouseutils.DeleteByParams) (err error)
func (*Datalake) DownloadIdentityRules ¶ added in v1.8.0
func (*Datalake) DownloadIdentityRules(*misc.GZipWriter) error
func (*Datalake) ErrorMappings ¶ added in v1.8.0
func (*Datalake) FetchSchema ¶ added in v1.8.0
func (*Datalake) GetTotalCountInTable ¶ added in v1.8.0
func (*Datalake) LoadIdentityMappingsTable ¶ added in v1.8.0
func (*Datalake) LoadIdentityMergeRulesTable ¶ added in v1.8.0
func (*Datalake) LoadTestTable ¶ added in v1.8.0
func (*Datalake) LoadUserTables ¶ added in v1.8.0
func (*Datalake) SetConnectionTimeout ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.