Help us shape the future of Go! Take the 2026 Go Developer Survey

encoding

package
v0.0.0-...-b8735c1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors.

SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors.

SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors.

SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors. FastLanes unpacking and ALP reconstruction derive from the Apache-2.0 Vortex/fastlanes/alp Rust implementations; see PROVENANCE.md.

SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors.

SPDX-License-Identifier: Apache-2.0 Copyright 2026 the vortex-go contributors. FastLanes delta/transpose derives from the Apache-2.0 upstream algorithms.

Package encoding decodes Vortex's recursive array encodings into Arrow arrays.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(ctx context.Context, node *Node, typ Type, length int) (arrow.Array, error)

Types

type Field

type Field struct {
	Name string
	Type Type
}

type Kind

type Kind string

type Node

type Node struct {
	Encoding string
	Metadata []byte
	Children []*Node
	Buffers  [][]byte
}

type Type

type Type struct {
	Kind             Kind
	Nullable         bool
	Fields           []Field
	Storage          *Type
	Extension        string
	Metadata         []byte
	Precision, Scale int32
	ListSize         int32
}

func (Type) ArrowType

func (t Type) ArrowType() (arrow.DataType, error)

Jump to

Keyboard shortcuts

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