Documentation
¶
Index ¶
Constants ¶
View Source
const Contain = "contain"
View Source
const File = "file"
View Source
const LocalRandgen = "local-randgen"
View Source
const String = "string"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainsComparer ¶
type ContainsComparer struct {
Content string
}
func (*ContainsComparer) CompareQuery ¶
execute on tidb and get all rows data as a single string then check if that string contains the specified Content can be used to check the tidb explain result
type FileDataLoader ¶
type FileDataLoader struct {
FileName string
}
file loader will loader data and queries from a file
func (*FileDataLoader) LoadData ¶
func (loader *FileDataLoader) LoadData(dbName string) []string
func (*FileDataLoader) LoadQuery ¶
func (loader *FileDataLoader) LoadQuery(dbName string) []string
func (*FileDataLoader) Name ¶
func (loader *FileDataLoader) Name() string
type LoadDataRequest ¶
type LoadDataResponse ¶
type LocalRandgenLoader ¶
type LocalRandgenLoader struct {
Yy string
Zz string
Queries int
// contains filtered or unexported fields
}
func (*LocalRandgenLoader) LoadData ¶
func (test *LocalRandgenLoader) LoadData(db string) []string
func (*LocalRandgenLoader) LoadQuery ¶
func (test *LocalRandgenLoader) LoadQuery(db string) []string
func (*LocalRandgenLoader) Name ¶
func (test *LocalRandgenLoader) Name() string
type RandgenLoader ¶
type RandgenLoader struct {
Yy string
Zz string
Queries int
// contains filtered or unexported fields
}
func (*RandgenLoader) LoadData ¶
func (test *RandgenLoader) LoadData(db string) []string
func (*RandgenLoader) LoadQuery ¶
func (test *RandgenLoader) LoadQuery(db string) []string
func (*RandgenLoader) Name ¶
func (test *RandgenLoader) Name() string
type StringLoader ¶
type StringLoader struct {
SQLStr string
}
file loader will loader data and queries from a file
func (*StringLoader) LoadData ¶
func (loader *StringLoader) LoadData(dbName string) []string
func (*StringLoader) LoadQuery ¶
func (loader *StringLoader) LoadQuery(dbName string) []string
func (*StringLoader) Name ¶
func (loader *StringLoader) Name() string
Click to show internal directories.
Click to hide internal directories.