Documentation ¶
Index ¶
- Constants
- func GenCheckStmt(s *typedef.Schema, table *typedef.Table, g generators.GeneratorInterface, ...) *typedef.Stmt
- func GenDDLStmt(s *typedef.Schema, t *typedef.Table, r *rand.Rand, ...) (*typedef.Stmts, error)
- func GenMutateStmt(s *typedef.Schema, t *typedef.Table, g generators.GeneratorInterface, ...) (*typedef.Stmt, error)
- func NewPump(stopFlag *stop.Flag, logger *zap.Logger) chan time.Duration
- type List
Constants ¶
View Source
const ( WriteMode = "write" ReadMode = "read" MixedMode = "mixed" WarmupMode = "warmup" )
Variables ¶
This section is empty.
Functions ¶
func GenCheckStmt ¶ added in v1.8.3
func GenCheckStmt( s *typedef.Schema, table *typedef.Table, g generators.GeneratorInterface, rnd *rand.Rand, p *typedef.PartitionRangeConfig, ) *typedef.Stmt
func GenDDLStmt ¶ added in v1.8.3
func GenMutateStmt ¶ added in v1.8.3
func GenMutateStmt(s *typedef.Schema, t *typedef.Table, g generators.GeneratorInterface, r *rand.Rand, p *typedef.PartitionRangeConfig, deletes bool) (*typedef.Stmt, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.