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