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