chunked

package
v0.0.0-...-645c863 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binary

type Binary = Chunked[[]byte]

type Bool

type Bool = Chunked[bool]

func And

func And(ctx context.Context, lhs, rhs *Bool, extra ...*Bool) (*Bool, error)

func Or

func Or(ctx context.Context, lhs, rhs *Bool, extra ...*Bool) (*Bool, error)

type Chunked

type Chunked[T badgers.SimpleType | []byte] struct {
	// contains filtered or unexported fields
}

func FromArrowChunkedNoCheck

func FromArrowChunkedNoCheck[T badgers.SimpleType | []byte](field badgers.Field, chunks []arrow.Array) *Chunked[T]

func NewNullableSimple

func NewNullableSimple[T badgers.SimpleType](name string, vals []*T, alloc badgers.Allocator) *Chunked[T]

func NewPrimitive

func NewPrimitive[T badgers.PrimitiveType](name string, vals []T) *Chunked[T]

func NewSimple

func NewSimple[T badgers.SimpleType | []byte](name string, vals []T) *Chunked[T]

func NewSimpleWithAlloc

func NewSimpleWithAlloc[T badgers.SimpleType | []byte](name string, vals []T, alloc badgers.Allocator) *Chunked[T]

func (*Chunked[T]) Append

func (c *Chunked[T]) Append(other *Chunked[T])

func (*Chunked[T]) Chunks

func (c *Chunked[T]) Chunks() *[]arrow.Array

func (*Chunked[T]) ComputeLen

func (c *Chunked[T]) ComputeLen()

func (*Chunked[T]) EqScalar

func (c *Chunked[T]) EqScalar(ctx context.Context, rhs any) (*Bool, error)

func (*Chunked[T]) Field

func (c *Chunked[T]) Field() badgers.Field

func (*Chunked[T]) Filter

func (c *Chunked[T]) Filter(ctx context.Context, mask *Bool) (*Chunked[T], error)

func (*Chunked[T]) FirstNonNull

func (c *Chunked[T]) FirstNonNull() int64

func (*Chunked[T]) Get

func (c *Chunked[T]) Get(i uint) (val T, err error)

func (*Chunked[T]) GetUnchecked

func (c *Chunked[T]) GetUnchecked(i uint) T

func (*Chunked[T]) GtEqScalar

func (c *Chunked[T]) GtEqScalar(ctx context.Context, rhs any) (*Bool, error)

func (*Chunked[T]) GtScalar

func (c *Chunked[T]) GtScalar(ctx context.Context, rhs any) (*Bool, error)

func (*Chunked[T]) IsEmpty

func (c *Chunked[T]) IsEmpty() bool

func (*Chunked[T]) Len

func (c *Chunked[T]) Len() uint64

func (*Chunked[T]) LtEqScalar

func (c *Chunked[T]) LtEqScalar(ctx context.Context, rhs any) (*Bool, error)

func (*Chunked[T]) LtScalar

func (c *Chunked[T]) LtScalar(ctx context.Context, rhs any) (*Bool, error)

func (*Chunked[T]) NotEqScalar

func (c *Chunked[T]) NotEqScalar(ctx context.Context, rhs any) (*Bool, error)

func (*Chunked[T]) NullN

func (c *Chunked[T]) NullN() uint64

func (*Chunked[T]) Release

func (c *Chunked[T]) Release()

func (*Chunked[T]) Rename

func (c *Chunked[T]) Rename(name string)

func (*Chunked[T]) Retain

func (c *Chunked[T]) Retain()

func (*Chunked[T]) Slice

func (c *Chunked[T]) Slice(offset int64, length uint64) *Chunked[T]

type Float32

type Float32 = Chunked[float32]

type Float64

type Float64 = Chunked[float64]

type Int8

type Int8 = Chunked[int8]

type Int16

type Int16 = Chunked[int16]

type Int32

type Int32 = Chunked[int32]

type Int64

type Int64 = Chunked[int64]

type List

type List struct {
	// contains filtered or unexported fields
}

type String

type String = Chunked[string]

type Uint8

type Uint8 = Chunked[uint8]

type Uint16

type Uint16 = Chunked[uint16]

type Uint32

type Uint32 = Chunked[uint32]

type Uint64

type Uint64 = Chunked[uint64]

Jump to

Keyboard shortcuts

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