table

package
v0.1.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	SchemaVersionKey = "quacktel.schema_version"
	SchemaVersion    = "1"
	SignalKey        = "quacktel.signal"
)

Variables

This section is empty.

Functions

func DuckDBColumns

func DuckDBColumns(s *arrow.Schema) (string, error)

DuckDBColumns returns a select list of typed NULLs, so a view over zero files still has the schema's columns.

func DuckDBType

func DuckDBType(dt arrow.DataType) (string, error)

DuckDBType maps the Arrow types used by the quacktel schemas to the DuckDB type read_parquet infers for them.

func LogsSchema

func LogsSchema() *arrow.Schema

func ServiceName

func ServiceName(res pcommon.Resource) string

ServiceName returns the resource service.name, or unknown_service when missing or empty.

func SpansSchema

func SpansSchema() *arrow.Schema

Types

type LogsBuilder

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

func NewLogsBuilder

func NewLogsBuilder(mem memory.Allocator) *LogsBuilder

func (*LogsBuilder) Append

func (b *LogsBuilder) Append(res pcommon.Resource, scope pcommon.InstrumentationScope, rec plog.LogRecord, receivedAt time.Time)

func (*LogsBuilder) EstimatedBytes

func (b *LogsBuilder) EstimatedBytes() int64

func (*LogsBuilder) Len

func (b *LogsBuilder) Len() int

func (*LogsBuilder) MinMaxTime

func (b *LogsBuilder) MinMaxTime() (time.Time, time.Time)

func (*LogsBuilder) NewRecord

func (b *LogsBuilder) NewRecord() arrow.RecordBatch

NewRecord resets the builder so it can be reused for the next flush.

func (*LogsBuilder) Release

func (b *LogsBuilder) Release()

type SpansBuilder

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

func NewSpansBuilder

func NewSpansBuilder(mem memory.Allocator) *SpansBuilder

func (*SpansBuilder) Append

func (b *SpansBuilder) Append(res pcommon.Resource, scope pcommon.InstrumentationScope, span ptrace.Span, receivedAt time.Time)

func (*SpansBuilder) EstimatedBytes

func (b *SpansBuilder) EstimatedBytes() int64

func (*SpansBuilder) Len

func (b *SpansBuilder) Len() int

func (*SpansBuilder) MinMaxTime

func (b *SpansBuilder) MinMaxTime() (time.Time, time.Time)

func (*SpansBuilder) NewRecord

func (b *SpansBuilder) NewRecord() arrow.RecordBatch

NewRecord resets the builder so it can be reused for the next flush.

func (*SpansBuilder) Release

func (b *SpansBuilder) Release()

Jump to

Keyboard shortcuts

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