chdbdriver

package
v0.0.0-...-5304f4e Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 21 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

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

func (DriverType) PrepareRows

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

func (DriverType) String

func (d DriverType) String() string

Jump to

Keyboard shortcuts

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