testutil

package
v1.1.0-beta.0...-6d74071 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockTableAppendColumn

func MockTableAppendColumn(t *statistics.Table)

MockTableAppendColumn appends a column to the table.

func MockTableAppendIndex

func MockTableAppendIndex(t *statistics.Table)

MockTableAppendIndex appends an index to the table.

func MockTableRemoveColumn

func MockTableRemoveColumn(t *statistics.Table)

MockTableRemoveColumn removes the last column of the table.

func MockTableRemoveIndex

func MockTableRemoveIndex(t *statistics.Table)

MockTableRemoveIndex removes the last index of the table.

func NewMockStatisticsTable

func NewMockStatisticsTable(columns int, indices int, withCMS, withTopN, withHist bool) *statistics.Table

NewMockStatisticsTable creates a mock statistics table with given columns and indices. each column and index consumes 4 bytes memory

Types

This section is empty.

Jump to

Keyboard shortcuts

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