types

package
v0.0.0-...-9ca7e33 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	ColumnName    string  `json:"column_name"`
	DataType      string  `json:"data_type"`
	ColumnType    string  `json:"column_type"`
	IsNullable    bool    `json:"is_nullable"`
	ColumnKey     string  `json:"column_key"`
	ColumnDefault *string `json:"column_default,omitempty"`
	Extra         string  `json:"extra"`
}

type CurrentQuery

type CurrentQuery struct {
	ExecutionStartedAt  int64
	Query               string
	IsPreparedStatement bool
}

type QueryPlanQueriesPayload

type QueryPlanQueriesPayload struct {
	Queries []QueryPlanQuery `json:"queries"`
}

type QueryPlanQuery

type QueryPlanQuery struct {
	ExecutedAt          int64  `json:"executed_at"`
	Duration            int64  `json:"duration"`
	RowCount            int64  `json:"row_count"`
	Query               string `json:"query"`
	IsPreparedStatement bool   `json:"is_prepared_statement"`
}

type QueryPlanTablesPayload

type QueryPlanTablesPayload struct {
	Tables []Table `json:"tables"`
}

type QueryPlanTablesResponse

type QueryPlanTablesResponse struct {
	Token string `json:"token"`
}

type Table

type Table struct {
	TableName         string   `json:"table_name"`
	Columns           []Column `json:"columns"`
	PrimaryKeys       []string `json:"primary_keys"`
	EstimatedRowCount int64    `json:"estimated_row_count"`
}

Jump to

Keyboard shortcuts

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