queryresult

package
v1.0.0-rc.202410112134 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

func NewResult

func NewResult(cols []*queryresult.ColumnDef) *Result

type ResultStreamer

type ResultStreamer = queryresult.ResultStreamer[*TimingMetadata]

func NewResultStreamer

func NewResultStreamer() *ResultStreamer

type TimingMetadata

type TimingMetadata struct {
	Duration time.Duration
}

func (TimingMetadata) GetTiming added in v1.0.0

func (t TimingMetadata) GetTiming() any

GetTiming implements TimingContainer - we implement this interface to allow TimingMetadata to be used to parameterize the ResultStreamer

Jump to

Keyboard shortcuts

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