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.
Click to show internal directories.
Click to hide internal directories.