tables

package
v0.0.0-...-d04bc5a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockTableFromMeta

func MockTableFromMeta(tblInfo *model.TableInfo) table.Table

MockTableFromMeta only serves for test.

Types

type TableCommon

type TableCommon struct {
	Columns []*table.Column
	// contains filtered or unexported fields
}

TableCommon is shared by both Table and partition.

func (*TableCommon) Cols

func (t *TableCommon) Cols() []*table.Column

Cols implements table.Table Cols interface.

func (*TableCommon) Meta

func (t *TableCommon) Meta() *model.TableInfo

Meta implements table.Table Meta interface.

Jump to

Keyboard shortcuts

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