Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoIncrement ¶
Types ¶
type CreateTable ¶
func ExtractTableDef ¶
func ExtractTableDef(path string) (CreateTable, error)
type ImportData ¶
type ImportPlan ¶
type ImportPlan struct {
// contains filtered or unexported fields
}
func (*ImportPlan) Estimate ¶
func (plan *ImportPlan) Estimate() error
func (*ImportPlan) Execute ¶
func (plan *ImportPlan) Execute() error
func (*ImportPlan) PrintCmd ¶
func (plan *ImportPlan) PrintCmd()
type Job ¶
type Job struct { Task func(string, *ImportData) error Length int ResourceId string Data *ImportData }
type WorkerPool ¶
func NewWorkerPool ¶
func NewWorkerPool(maxWorker int, maxCPU int, maxThreadPerWorker int) WorkerPool
Click to show internal directories.
Click to hide internal directories.