sort

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 7 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 BlockidLess added in v1.2.0

func BlockidLess(a, b types.Blockid) bool

func BoolLess added in v1.2.0

func BoolLess(a, b bool) bool

func Decimal64Less added in v1.2.0

func Decimal64Less(a, b types.Decimal64) bool

func Decimal128Less added in v1.2.0

func Decimal128Less(a, b types.Decimal128) bool

func GenericLess added in v1.2.0

func GenericLess[T types.OrderedT](a, b T) bool

func RowidLess added in v1.2.0

func RowidLess(a, b types.Rowid) bool

func Sort

func Sort(desc, nullsLast, hasNull bool, os []int64, vec *vector.Vector)

func TsLess added in v1.2.0

func TsLess(a, b types.TS) bool

it seems that go has no const generic type, handle these types respectively

func UuidLess added in v1.2.0

func UuidLess(a, b types.Uuid) bool

Types

type LessFunc added in v1.2.0

type LessFunc[T any] func(a, b T) bool

Jump to

Keyboard shortcuts

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