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

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 Decimal128Less added in v1.2.0

func Decimal128Less(a, b types.Decimal128) bool

func Decimal64Less added in v1.2.0

func Decimal64Less(a, b types.Decimal64) 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