Documentation
¶
Index ¶
- Constants
- func GenCheckStmt(s *typedef.Schema, table *typedef.Table, g generators.Interface, ...) *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.Interface, r *rand.Rand, ...) (*typedef.Stmt, error)
- type List
- type PrettyCQLError
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.Interface, rnd *rand.Rand, p *typedef.PartitionRangeConfig, ) *typedef.Stmt
func GenDDLStmt ¶ added in v1.8.3
func GenMutateStmt ¶ added in v1.8.3
Types ¶
type List ¶ added in v1.8.3
type List struct {
// contains filtered or unexported fields
}
func (List) Run ¶ added in v1.8.3
func (l List) Run( ctx context.Context, schema *typedef.Schema, schemaConfig typedef.SchemaConfig, s store.Store, generators *generators.Generators, globalStatus *status.GlobalStatus, logger *zap.Logger, seed uint64, stopFlag *stop.Flag, failFast, verbose bool, ) error
type PrettyCQLError ¶ added in v1.8.9
func (PrettyCQLError) Error ¶ added in v1.8.9
func (e PrettyCQLError) Error() string
Click to show internal directories.
Click to hide internal directories.