sqlparse

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParseResult

type ParseResult struct {
	Explain bool
	Plan    query.Builder
}

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func NewParser

func NewParser() *Parser

func (*Parser) ExperimentalParse

func (p *Parser) ExperimentalParse(
	builder query.Builder,
	dynColNames []string,
	sql string,
) (ParseResult, error)

ExperimentalParse uses the provided query builder to build a FrostDB query specified using the provided SQL. TODO(asubiotto): This API will change over time. Currently, queryEngine.ScanTable is provided as a starting point and no table needs to be specified in the SQL statement. Additionally, the idea is to change to creating logical plans directly (rather than through a builder).

Jump to

Keyboard shortcuts

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