Documentation ¶
Index ¶
- type AzureSynapse
- func (as *AzureSynapse) AddColumns(ctx context.Context, tableName string, columnsInfo []warehouseutils.ColumnInfo) (err error)
- func (*AzureSynapse) AlterColumn(context.Context, string, string, string) (model.AlterTableResponse, error)
- func (as *AzureSynapse) Cleanup(ctx context.Context)
- func (as *AzureSynapse) Connect(_ context.Context, warehouse model.Warehouse) (client.Client, error)
- func (as *AzureSynapse) CrashRecover(ctx context.Context)
- func (as *AzureSynapse) CreateSchema(ctx context.Context) (err error)
- func (as *AzureSynapse) CreateTable(ctx context.Context, tableName string, columnMap model.TableSchema) (err error)
- func (*AzureSynapse) DeleteBy(context.Context, []string, warehouseutils.DeleteByParams) error
- func (*AzureSynapse) DownloadIdentityRules(context.Context, *misc.GZipWriter) (err error)
- func (as *AzureSynapse) DropTable(ctx context.Context, tableName string) (err error)
- func (*AzureSynapse) ErrorMappings() []model.JobError
- func (as *AzureSynapse) FetchSchema(ctx context.Context) (model.Schema, model.Schema, error)
- func (as *AzureSynapse) GetTotalCountInTable(ctx context.Context, tableName string) (int64, error)
- func (*AzureSynapse) IsEmpty(context.Context, model.Warehouse) (empty bool, err error)
- func (*AzureSynapse) LoadIdentityMappingsTable(context.Context) (err error)
- func (*AzureSynapse) LoadIdentityMergeRulesTable(context.Context) (err error)
- func (as *AzureSynapse) LoadTable(ctx context.Context, tableName string) error
- func (as *AzureSynapse) LoadTestTable(ctx context.Context, _, tableName string, payloadMap map[string]interface{}, ...) (err error)
- func (as *AzureSynapse) LoadUserTables(ctx context.Context) map[string]error
- func (as *AzureSynapse) SetConnectionTimeout(timeout time.Duration)
- func (as *AzureSynapse) Setup(_ context.Context, warehouse model.Warehouse, uploader warehouseutils.Uploader) (err error)
- func (as *AzureSynapse) TestConnection(ctx context.Context, _ model.Warehouse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureSynapse ¶ added in v1.7.0
type AzureSynapse struct { DB *sqlmw.DB Namespace string ObjectStorage string Warehouse model.Warehouse Uploader warehouseutils.Uploader LoadFileDownLoader downloader.Downloader // contains filtered or unexported fields }
func (*AzureSynapse) AddColumns ¶ added in v1.7.0
func (as *AzureSynapse) AddColumns(ctx context.Context, tableName string, columnsInfo []warehouseutils.ColumnInfo) (err error)
func (*AzureSynapse) AlterColumn ¶ added in v1.7.0
func (*AzureSynapse) AlterColumn(context.Context, string, string, string) (model.AlterTableResponse, error)
func (*AzureSynapse) Cleanup ¶ added in v1.7.0
func (as *AzureSynapse) Cleanup(ctx context.Context)
func (*AzureSynapse) CrashRecover ¶ added in v1.7.0
func (as *AzureSynapse) CrashRecover(ctx context.Context)
func (*AzureSynapse) CreateSchema ¶ added in v1.7.0
func (as *AzureSynapse) CreateSchema(ctx context.Context) (err error)
func (*AzureSynapse) CreateTable ¶ added in v1.7.0
func (as *AzureSynapse) CreateTable(ctx context.Context, tableName string, columnMap model.TableSchema) (err error)
func (*AzureSynapse) DeleteBy ¶ added in v1.7.0
func (*AzureSynapse) DeleteBy(context.Context, []string, warehouseutils.DeleteByParams) error
func (*AzureSynapse) DownloadIdentityRules ¶ added in v1.7.0
func (*AzureSynapse) DownloadIdentityRules(context.Context, *misc.GZipWriter) (err error)
func (*AzureSynapse) DropTable ¶ added in v1.7.0
func (as *AzureSynapse) DropTable(ctx context.Context, tableName string) (err error)
func (*AzureSynapse) ErrorMappings ¶ added in v1.7.0
func (*AzureSynapse) ErrorMappings() []model.JobError
func (*AzureSynapse) FetchSchema ¶ added in v1.7.0
FetchSchema returns the schema of the warehouse
func (*AzureSynapse) GetTotalCountInTable ¶ added in v1.7.0
func (*AzureSynapse) LoadIdentityMappingsTable ¶ added in v1.7.0
func (*AzureSynapse) LoadIdentityMappingsTable(context.Context) (err error)
func (*AzureSynapse) LoadIdentityMergeRulesTable ¶ added in v1.7.0
func (*AzureSynapse) LoadIdentityMergeRulesTable(context.Context) (err error)
func (*AzureSynapse) LoadTable ¶ added in v1.7.0
func (as *AzureSynapse) LoadTable(ctx context.Context, tableName string) error
func (*AzureSynapse) LoadTestTable ¶ added in v1.7.0
func (*AzureSynapse) LoadUserTables ¶ added in v1.7.0
func (as *AzureSynapse) LoadUserTables(ctx context.Context) map[string]error
func (*AzureSynapse) SetConnectionTimeout ¶ added in v1.7.0
func (as *AzureSynapse) SetConnectionTimeout(timeout time.Duration)
func (*AzureSynapse) Setup ¶ added in v1.7.0
func (as *AzureSynapse) Setup(_ context.Context, warehouse model.Warehouse, uploader warehouseutils.Uploader) (err error)
func (*AzureSynapse) TestConnection ¶ added in v1.7.0
Click to show internal directories.
Click to hide internal directories.