compute

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 5 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 CompareBool

func CompareBool(a, b bool) int64

func CompareBytes

func CompareBytes(a, b any) int64

func CompareGeneric

func CompareGeneric(a, b any, t types.Type) int64

func CompareOrdered

func CompareOrdered[T types.OrderedT](v1, v2 any) int64

func EstimateSize

func EstimateSize(bat *containers.Batch, offset, length uint32) uint64

func GetOffsetByVal

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

func GetOffsetOfOrdered

func GetOffsetOfOrdered[T types.OrderedT](vs, v any, skipmask *roaring.Bitmap) (offset int, exist bool)

func GetOffsetWithFunc

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

func InplaceDeleteRows

func InplaceDeleteRows(orig any, rowGen common.RowGen) any

func InplaceDeleteRowsFromSlice

func InplaceDeleteRowsFromSlice[T types.FixedSizeT](v any, rowGen common.RowGen) any

func ShuffleByDeletes

func ShuffleByDeletes(origMask *roaring.Bitmap, origVals map[uint32]any, deleteMask, deletes *roaring.Bitmap) (destMask *roaring.Bitmap, destVals map[uint32]any, destDelets *roaring.Bitmap)

Types

This section is empty.

Jump to

Keyboard shortcuts

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