Documentation ¶
Index ¶
- func Init()
- type HandleT
- func (wh *HandleT) AddColumn(tableName, columnName, columnType string) (err error)
- func (wh *HandleT) AlterColumn(tableName, columnName, columnType string) (err error)
- func (*HandleT) Cleanup()
- func (*HandleT) Connect(_ warehouseutils.Warehouse) (client.Client, error)
- func (*HandleT) CrashRecover(_ warehouseutils.Warehouse) (err error)
- func (wh *HandleT) CreateSchema() (err error)
- func (wh *HandleT) CreateTable(tableName string, columnMap map[string]string) (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) FetchSchema(warehouse warehouseutils.Warehouse) (warehouseutils.SchemaT, error)
- func (*HandleT) GetTotalCountInTable(context.Context, string) (int64, error)
- func (*HandleT) IsEmpty(_ warehouseutils.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 warehouseutils.Warehouse, uploader warehouseutils.UploaderI) (err error)
- func (*HandleT) TestConnection(_ warehouseutils.Warehouse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HandleT ¶
type HandleT struct { SchemaRepository schemarepository.SchemaRepository Warehouse warehouseutils.Warehouse Uploader warehouseutils.UploaderI }
func (*HandleT) AlterColumn ¶
func (*HandleT) CrashRecover ¶
func (*HandleT) CrashRecover(_ warehouseutils.Warehouse) (err error)
func (*HandleT) CreateSchema ¶
func (*HandleT) CreateTable ¶
func (*HandleT) DeleteBy ¶ added in v1.2.0
func (*HandleT) DeleteBy([]string, warehouseutils.DeleteByParams) (err error)
func (*HandleT) DownloadIdentityRules ¶
func (*HandleT) DownloadIdentityRules(*misc.GZipWriter) error
func (*HandleT) FetchSchema ¶
func (wh *HandleT) FetchSchema(warehouse warehouseutils.Warehouse) (warehouseutils.SchemaT, error)
func (*HandleT) GetTotalCountInTable ¶
func (*HandleT) LoadIdentityMappingsTable ¶
func (*HandleT) LoadIdentityMergeRulesTable ¶
func (*HandleT) LoadTestTable ¶
func (*HandleT) LoadUserTables ¶
func (*HandleT) SetConnectionTimeout ¶
func (*HandleT) Setup ¶
func (wh *HandleT) Setup(warehouse warehouseutils.Warehouse, uploader warehouseutils.UploaderI) (err error)
func (*HandleT) TestConnection ¶
func (*HandleT) TestConnection(_ warehouseutils.Warehouse) error
Click to show internal directories.
Click to hide internal directories.