analysis

package
v0.0.0-...-bf0d46e Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analysis

type Analysis struct {
	Table      *Table
	FieldsName []string
	Columns    map[string]Column
	FieldWidth []struct {
		// contains filtered or unexported fields
	}
}

func NewAnalysis

func NewAnalysis() *Analysis

func (*Analysis) GetColumnsShow

func (a *Analysis) GetColumnsShow() ([]schema.ColumnShow, schema.ColumnShow)

GetColumnsShow columns show max filed show width column show

func (*Analysis) ToStrings

func (a *Analysis) ToStrings() []string

type Column

type Column struct {
	Column   schema.Column
	Amount   int
	Distinct int
	Empty    int
	Null     int
}

type Table

type Table struct {
	Table  schema.Table
	Amount int
}

Jump to

Keyboard shortcuts

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