Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { User string Password string Address string ToUser string ToPassword string ToAddress string ToDatabase string ToEngine string Database string DatabaseRegexp string DatabaseInvertRegexp bool Table string Outdir string SessionVars string Threads int ChunksizeInMB int StmtSize int Allbytes uint64 Allrows uint64 OverwriteTables bool Wheres map[string]string Selects map[string]map[string]string Filters map[string]map[string]string // Interval in millisecond. IntervalMs int Debug bool }
Config describes the settings to dump from a database.
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
type Connection ¶
type Connection struct { ID int // contains filtered or unexported fields }
Connection tuple.
func (*Connection) Execute ¶
func (conn *Connection) Execute(query string) error
Execute used to executes the query.
func (*Connection) Fetch ¶
func (conn *Connection) Fetch(query string) (*sqltypes.Result, error)
Fetch used to fetch the results.
func (*Connection) StreamFetch ¶
func (conn *Connection) StreamFetch(query string) (driver.Rows, error)
StreamFetch used to the results with streaming.
type Files ¶ added in v0.27.0
type Files struct {
// contains filtered or unexported fields
}
Files tuple.
Click to show internal directories.
Click to hide internal directories.