chdbdriver

package
v1.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnect

func NewConnect(opts map[string]string) (ret *connector, err error)

Types

type Driver

type Driver struct{}

func (Driver) Open

func (d Driver) Open(name string) (driver.Conn, error)

Open returns a new connection to the database.

func (Driver) OpenConnector

func (d Driver) OpenConnector(name string) (driver.Connector, error)

OpenConnector expects the same format as driver.Open

type DriverType added in v1.4.0

type DriverType int
const (
	ARROW DriverType = iota
	PARQUET
	INVALID
)

func (DriverType) PrepareRows added in v1.4.0

func (d DriverType) PrepareRows(result *chdbstable.LocalResult, buf []byte, bufSize int, useUnsafe bool) (driver.Rows, error)

func (DriverType) String added in v1.4.0

func (d DriverType) String() string

Jump to

Keyboard shortcuts

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