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: 0

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