compute

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 8 Imported by: ? 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

This section is empty.

Variables

This section is empty.

Functions

func Compare added in v0.8.0

func Compare(a, b []byte, t types.T, scale1, scale2 int32) int

func CompareBool

func CompareBool(a, b bool) int

func CompareBytes

func CompareBytes(a, b []byte) int

func CompareGeneric

func CompareGeneric(a, b any, t types.T) int

func CompareOrdered

func CompareOrdered[T types.OrderedT](a, b T) int

func GetDecimal64MinAndMax added in v0.8.0

func GetDecimal64MinAndMax(vs []types.Decimal64) (minv, maxv types.Decimal64)

func GetDecimal128MinAndMax added in v0.8.0

func GetDecimal128MinAndMax(vs []types.Decimal128) (minv, maxv types.Decimal128)

func GetOffsetByVal

func GetOffsetByVal(data containers.Vector, v any, skipmask *nulls.Bitmap) (offset int, exist bool)

func GetOffsetMapBeforeApplyDeletes added in v0.6.0

func GetOffsetMapBeforeApplyDeletes(deletes *nulls.Bitmap) []uint32

func GetOffsetOfBytes added in v0.8.0

func GetOffsetOfBytes(
	data *vector.Vector,
	val []byte,
	skipmask *nulls.Bitmap,
) (offset int, exist bool)

func GetOffsetOfOrdered

func GetOffsetOfOrdered[T types.OrderedT](column []T, val T, skipmask *nulls.Bitmap) (offset int, exist bool)

func GetOffsetWithFunc

func GetOffsetWithFunc[T any](
	vals []T,
	val T,
	compare func(a, b T) int,
	skipmask *nulls.Bitmap,
) (offset int, exist bool)

func GetOrderedMinAndMax added in v0.8.0

func GetOrderedMinAndMax[T types.OrderedT](vs ...T) (minv, maxv T)

func ShuffleByDeletes

func ShuffleByDeletes(inputDeletes, deletes *nulls.Bitmap) (outDeletes *nulls.Bitmap)

Types

This section is empty.

Jump to

Keyboard shortcuts

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