arrowutil

package
v0.99.12 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter(arr array.Interface, bitset []byte, mem memory.Allocator) array.Interface

func FilterBooleans

func FilterBooleans(arr *array.Boolean, bitset []byte, mem memory.Allocator) *array.Boolean

func FilterFloat64s

func FilterFloat64s(arr *array.Float64, bitset []byte, mem memory.Allocator) *array.Float64

func FilterInt64s

func FilterInt64s(arr *array.Int64, bitset []byte, mem memory.Allocator) *array.Int64

func FilterStrings

func FilterStrings(arr *array.Binary, bitset []byte, mem memory.Allocator) *array.Binary

func FilterUint64s

func FilterUint64s(arr *array.Uint64, bitset []byte, mem memory.Allocator) *array.Uint64

func NewBooleanBuilder

func NewBooleanBuilder(mem memory.Allocator) *array.BooleanBuilder

func NewFloat64Builder

func NewFloat64Builder(mem memory.Allocator) *array.Float64Builder

func NewInt64Builder

func NewInt64Builder(mem memory.Allocator) *array.Int64Builder

func NewStringBuilder

func NewStringBuilder(mem memory.Allocator) *array.BinaryBuilder

func NewUint64Builder

func NewUint64Builder(mem memory.Allocator) *array.Uint64Builder

Types

type BooleanIterator

type BooleanIterator struct {
	Values []*array.Boolean
	// contains filtered or unexported fields
}

func IterateBooleans

func IterateBooleans(arrs []array.Interface) BooleanIterator

func (*BooleanIterator) IsEmpty

func (i *BooleanIterator) IsEmpty() bool

IsEmpty returns true if the iterator has no values to read.

func (*BooleanIterator) IsNull

func (i *BooleanIterator) IsNull() bool

IsNull returns if the current value is null.

func (*BooleanIterator) IsValid

func (i *BooleanIterator) IsValid() bool

IsValid returns if the current value is valid.

func (*BooleanIterator) Next

func (i *BooleanIterator) Next() bool

Next will move to the next value. It will return false if there are no more values to be read. This will initialize the iterator if this is the first time it is called and return true if there is at least one element.

func (*BooleanIterator) Value

func (i *BooleanIterator) Value() bool

Value returns the current value in the iterator.

type Float64Iterator

type Float64Iterator struct {
	Values []*array.Float64
	// contains filtered or unexported fields
}

func IterateFloat64s

func IterateFloat64s(arrs []array.Interface) Float64Iterator

func (*Float64Iterator) IsEmpty

func (i *Float64Iterator) IsEmpty() bool

IsEmpty returns true if the iterator has no values to read.

func (*Float64Iterator) IsNull

func (i *Float64Iterator) IsNull() bool

IsNull returns if the current value is null.

func (*Float64Iterator) IsValid

func (i *Float64Iterator) IsValid() bool

IsValid returns if the current value is valid.

func (*Float64Iterator) Next

func (i *Float64Iterator) Next() bool

Next will move to the next value. It will return false if there are no more values to be read. This will initialize the iterator if this is the first time it is called and return true if there is at least one element.

func (*Float64Iterator) Value

func (i *Float64Iterator) Value() float64

Value returns the current value in the iterator.

type Int64Iterator

type Int64Iterator struct {
	Values []*array.Int64
	// contains filtered or unexported fields
}

func IterateInt64s

func IterateInt64s(arrs []array.Interface) Int64Iterator

func (*Int64Iterator) IsEmpty

func (i *Int64Iterator) IsEmpty() bool

IsEmpty returns true if the iterator has no values to read.

func (*Int64Iterator) IsNull

func (i *Int64Iterator) IsNull() bool

IsNull returns if the current value is null.

func (*Int64Iterator) IsValid

func (i *Int64Iterator) IsValid() bool

IsValid returns if the current value is valid.

func (*Int64Iterator) Next

func (i *Int64Iterator) Next() bool

Next will move to the next value. It will return false if there are no more values to be read. This will initialize the iterator if this is the first time it is called and return true if there is at least one element.

func (*Int64Iterator) Value

func (i *Int64Iterator) Value() int64

Value returns the current value in the iterator.

type StringIterator

type StringIterator struct {
	Values []*array.Binary
	// contains filtered or unexported fields
}

func IterateStrings

func IterateStrings(arrs []array.Interface) StringIterator

func (*StringIterator) IsEmpty

func (i *StringIterator) IsEmpty() bool

IsEmpty returns true if the iterator has no values to read.

func (*StringIterator) IsNull

func (i *StringIterator) IsNull() bool

IsNull returns if the current value is null.

func (*StringIterator) IsValid

func (i *StringIterator) IsValid() bool

IsValid returns if the current value is valid.

func (*StringIterator) Next

func (i *StringIterator) Next() bool

Next will move to the next value. It will return false if there are no more values to be read. This will initialize the iterator if this is the first time it is called and return true if there is at least one element.

func (*StringIterator) ValueString

func (i *StringIterator) ValueString() string

ValueString returns the current value in the iterator.

type Uint64Iterator

type Uint64Iterator struct {
	Values []*array.Uint64
	// contains filtered or unexported fields
}

func IterateUint64s

func IterateUint64s(arrs []array.Interface) Uint64Iterator

func (*Uint64Iterator) IsEmpty

func (i *Uint64Iterator) IsEmpty() bool

IsEmpty returns true if the iterator has no values to read.

func (*Uint64Iterator) IsNull

func (i *Uint64Iterator) IsNull() bool

IsNull returns if the current value is null.

func (*Uint64Iterator) IsValid

func (i *Uint64Iterator) IsValid() bool

IsValid returns if the current value is valid.

func (*Uint64Iterator) Next

func (i *Uint64Iterator) Next() bool

Next will move to the next value. It will return false if there are no more values to be read. This will initialize the iterator if this is the first time it is called and return true if there is at least one element.

func (*Uint64Iterator) Value

func (i *Uint64Iterator) Value() uint64

Value returns the current value in the iterator.

Jump to

Keyboard shortcuts

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