executor

package
v3.25.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNativeDriverName  = "taosSql"
	DefaultNativeDSN         = "root:taosdata@tcp(:)/"
	DefaultRestfulDriverName = "taosRestful"
	DefaultRestfulDSN        = "root:taosdata@http(127.0.0.1:6041)/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TDTest

type TDTest struct {
	DriverName string
	DSN        string
}

func NewTDTest

func NewTDTest(driverName string, DSN string) *TDTest

func (*TDTest) BenchmarkRead

func (t *TDTest) BenchmarkRead(sqlStr string)

func (*TDTest) BenchmarkWriteBatchCommon

func (t *TDTest) BenchmarkWriteBatchCommon(count, batch int)

func (*TDTest) BenchmarkWriteBatchJson

func (t *TDTest) BenchmarkWriteBatchJson(count, batch int)

func (*TDTest) BenchmarkWriteSingleCommon

func (t *TDTest) BenchmarkWriteSingleCommon(count int)

func (*TDTest) BenchmarkWriteSingleJson

func (t *TDTest) BenchmarkWriteSingleJson(count int)

func (*TDTest) Clean

func (t *TDTest) Clean()

func (*TDTest) PrepareRead

func (t *TDTest) PrepareRead(count, batch int) (tableName string)

func (*TDTest) PrepareWrite

func (t *TDTest) PrepareWrite()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL