chdbstable

package module
v0.0.0-...-7447af3 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: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilResult = errors.New("chDB C function returned nil pointer")

ErrNilResult is returned when the C function returns a nil pointer.

Functions

This section is empty.

Types

type ChdbError

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

ChdbError is returned when the C function returns an error.

func (*ChdbError) Error

func (e *ChdbError) Error() string

type LocalResult

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

LocalResult mirrors the C struct local_result_v2 in Go.

func QueryStable

func QueryStable(argc int, argv []string) (result *LocalResult, err error)

QueryStable calls the C function query_stable_v2.

func (*LocalResult) Buf

func (r *LocalResult) Buf() []byte

Accessor methods to access fields of the local_result_v2 struct.

func (*LocalResult) BytesRead

func (r *LocalResult) BytesRead() uint64

func (*LocalResult) Elapsed

func (r *LocalResult) Elapsed() float64

func (*LocalResult) Len

func (r *LocalResult) Len() int

func (*LocalResult) RowsRead

func (r *LocalResult) RowsRead() uint64

func (LocalResult) String

func (r LocalResult) String() string

Stringer interface for LocalResult

Jump to

Keyboard shortcuts

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