sql

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

runtime/sql

This folder contains Go bindings for the SQL native library.

It relies on a platform-specific native library being present in runtime/sql/deps. For example, for macOS ARM, the library should be at runtime/sql/deps/darwin_arm64/librillsql.dylib. The library is not checked into Git, but you can generate (download) it by running (from the repo root):

go generate ./runtime/sql

The pbast package contains bindings for the native library's protobuf-based SQL AST (found in sql/src/main/java/com/rilldata/protobuf/SqlNodeProto.proto). You can re-generate these by running (from the repo root)

go generate ./runtime/sql/pbast

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Isolate

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

func NewIsolate

func NewIsolate() *Isolate

func (*Isolate) Close

func (i *Isolate) Close() error

func (*Isolate) ConvertSQL

func (i *Isolate) ConvertSQL(sql string, schema string, dialect string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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