query

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2018 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_JOIN_DEPTH = 100
)

Variables

View Source
var (
	ErrNotSupported = errors.New("SQL parser does not support the query")
)

Functions

This section is empty.

Types

type Mini

type Mini struct {
	Debug bool
	// contains filtered or unexported fields
}

func NewMini

func NewMini(cwd string) *Mini

func (*Mini) Parse

func (m *Mini) Parse(fingerprint, example, defaultDb string) (QueryInfo, error)

func (*Mini) Run

func (m *Mini) Run()

func (*Mini) Stop

func (m *Mini) Stop()

type QueryInfo

type QueryInfo struct {
	Fingerprint string
	Abstract    string
	Tables      []queryProto.Table
}

Jump to

Keyboard shortcuts

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