keys

package
v0.0.0-...-e430093 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(fileName string) error

Types

type QueryAnalysisResult

type QueryAnalysisResult struct {
	QueryStructure  string   `json:"queryStructure"`
	UsageCount      int      `json:"usageCount"`
	LineNumbers     []int    `json:"lineNumbers"`
	TableName       []string `json:"tableName,omitempty"`
	GroupingColumns []string `json:"groupingColumns,omitempty"`
	JoinColumns     []string `json:"joinColumns,omitempty"`
	FilterColumns   []string `json:"filterColumns,omitempty"`
	StatementType   string   `json:"statementType"`
}

QueryAnalysisResult represents the result of analyzing a query in a query log. It contains the query structure, the number of times the query was used, the line numbers where the query was used, the table name, grouping columns, join columns, filter columns, and the statement type.

Jump to

Keyboard shortcuts

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