arrowutil

package
v0.109.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter added in v0.56.0

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

func FilterBooleans added in v0.56.0

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

func FilterFloat64s added in v0.56.0

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

func FilterInt64s added in v0.56.0

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

func FilterStrings added in v0.56.0

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

func FilterUint64s added in v0.56.0

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

func NewArrayValue added in v0.77.0

func NewArrayValue(arr array.Interface, typ flux.ColType) values.Array

func NewBooleanArrayValue added in v0.77.0

func NewBooleanArrayValue(arr *array.Boolean) values.Array

func NewBooleanBuilder added in v0.55.0

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

func NewFloat64ArrayValue added in v0.77.0

func NewFloat64ArrayValue(arr *array.Float64) values.Array

func NewFloat64Builder added in v0.55.0

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

func NewInt64ArrayValue added in v0.77.0

func NewInt64ArrayValue(arr *array.Int64) values.Array

func NewInt64Builder added in v0.55.0

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

func NewStringArrayValue added in v0.77.0

func NewStringArrayValue(arr *array.Binary) values.Array

func NewStringBuilder added in v0.55.0

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

func NewUint64ArrayValue added in v0.77.0

func NewUint64ArrayValue(arr *array.Uint64) values.Array

func NewUint64Builder added in v0.55.0

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

Types

type BooleanArrayValue added in v0.77.0

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

func (BooleanArrayValue) Append added in v0.77.0

func (v BooleanArrayValue) Append(value values.Value)

func (BooleanArrayValue) Array added in v0.77.0

func (v BooleanArrayValue) Array() values.Array

func (BooleanArrayValue) Bool added in v0.77.0

func (v BooleanArrayValue) Bool() bool

func (BooleanArrayValue) Bytes added in v0.77.0

func (v BooleanArrayValue) Bytes() []byte

func (BooleanArrayValue) Dict added in v0.96.0

func (BooleanArrayValue) Duration added in v0.77.0

func (v BooleanArrayValue) Duration() values.Duration

func (BooleanArrayValue) Equal added in v0.77.0

func (v BooleanArrayValue) Equal(other values.Value) bool

func (BooleanArrayValue) Float added in v0.77.0

func (v BooleanArrayValue) Float() float64

func (BooleanArrayValue) Function added in v0.77.0

func (v BooleanArrayValue) Function() values.Function

func (BooleanArrayValue) Get added in v0.77.0

func (v BooleanArrayValue) Get(i int) values.Value

func (BooleanArrayValue) Int added in v0.77.0

func (v BooleanArrayValue) Int() int64

func (BooleanArrayValue) IsNull added in v0.77.0

func (v BooleanArrayValue) IsNull() bool

func (BooleanArrayValue) Len added in v0.77.0

func (v BooleanArrayValue) Len() int

func (BooleanArrayValue) Object added in v0.77.0

func (v BooleanArrayValue) Object() values.Object

func (BooleanArrayValue) Range added in v0.77.0

func (v BooleanArrayValue) Range(f func(i int, v values.Value))

func (BooleanArrayValue) Regexp added in v0.77.0

func (v BooleanArrayValue) Regexp() *regexp.Regexp

func (BooleanArrayValue) Set added in v0.77.0

func (v BooleanArrayValue) Set(i int, value values.Value)

func (BooleanArrayValue) Sort added in v0.77.0

func (v BooleanArrayValue) Sort(f func(i values.Value, j values.Value) bool)

func (BooleanArrayValue) Str added in v0.77.0

func (v BooleanArrayValue) Str() string

func (BooleanArrayValue) Time added in v0.77.0

func (v BooleanArrayValue) Time() values.Time

func (BooleanArrayValue) Type added in v0.77.0

func (BooleanArrayValue) UInt added in v0.77.0

func (v BooleanArrayValue) UInt() uint64

type BooleanIterator added in v0.55.0

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

func IterateBooleans added in v0.55.0

func IterateBooleans(arrs []array.Interface) BooleanIterator

func (*BooleanIterator) IsEmpty added in v0.55.0

func (i *BooleanIterator) IsEmpty() bool

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

func (*BooleanIterator) IsNull added in v0.55.0

func (i *BooleanIterator) IsNull() bool

IsNull returns if the current value is null.

func (*BooleanIterator) IsValid added in v0.55.0

func (i *BooleanIterator) IsValid() bool

IsValid returns if the current value is valid.

func (*BooleanIterator) Next added in v0.55.0

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 added in v0.55.0

func (i *BooleanIterator) Value() bool

Value returns the current value in the iterator.

type Float64ArrayValue added in v0.77.0

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

func (Float64ArrayValue) Append added in v0.77.0

func (v Float64ArrayValue) Append(value values.Value)

func (Float64ArrayValue) Array added in v0.77.0

func (v Float64ArrayValue) Array() values.Array

func (Float64ArrayValue) Bool added in v0.77.0

func (v Float64ArrayValue) Bool() bool

func (Float64ArrayValue) Bytes added in v0.77.0

func (v Float64ArrayValue) Bytes() []byte

func (Float64ArrayValue) Dict added in v0.96.0

func (Float64ArrayValue) Duration added in v0.77.0

func (v Float64ArrayValue) Duration() values.Duration

func (Float64ArrayValue) Equal added in v0.77.0

func (v Float64ArrayValue) Equal(other values.Value) bool

func (Float64ArrayValue) Float added in v0.77.0

func (v Float64ArrayValue) Float() float64

func (Float64ArrayValue) Function added in v0.77.0

func (v Float64ArrayValue) Function() values.Function

func (Float64ArrayValue) Get added in v0.77.0

func (v Float64ArrayValue) Get(i int) values.Value

func (Float64ArrayValue) Int added in v0.77.0

func (v Float64ArrayValue) Int() int64

func (Float64ArrayValue) IsNull added in v0.77.0

func (v Float64ArrayValue) IsNull() bool

func (Float64ArrayValue) Len added in v0.77.0

func (v Float64ArrayValue) Len() int

func (Float64ArrayValue) Object added in v0.77.0

func (v Float64ArrayValue) Object() values.Object

func (Float64ArrayValue) Range added in v0.77.0

func (v Float64ArrayValue) Range(f func(i int, v values.Value))

func (Float64ArrayValue) Regexp added in v0.77.0

func (v Float64ArrayValue) Regexp() *regexp.Regexp

func (Float64ArrayValue) Set added in v0.77.0

func (v Float64ArrayValue) Set(i int, value values.Value)

func (Float64ArrayValue) Sort added in v0.77.0

func (v Float64ArrayValue) Sort(f func(i values.Value, j values.Value) bool)

func (Float64ArrayValue) Str added in v0.77.0

func (v Float64ArrayValue) Str() string

func (Float64ArrayValue) Time added in v0.77.0

func (v Float64ArrayValue) Time() values.Time

func (Float64ArrayValue) Type added in v0.77.0

func (Float64ArrayValue) UInt added in v0.77.0

func (v Float64ArrayValue) UInt() uint64

type Float64Iterator added in v0.55.0

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

func IterateFloat64s added in v0.55.0

func IterateFloat64s(arrs []array.Interface) Float64Iterator

func (*Float64Iterator) IsEmpty added in v0.55.0

func (i *Float64Iterator) IsEmpty() bool

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

func (*Float64Iterator) IsNull added in v0.55.0

func (i *Float64Iterator) IsNull() bool

IsNull returns if the current value is null.

func (*Float64Iterator) IsValid added in v0.55.0

func (i *Float64Iterator) IsValid() bool

IsValid returns if the current value is valid.

func (*Float64Iterator) Next added in v0.55.0

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 added in v0.55.0

func (i *Float64Iterator) Value() float64

Value returns the current value in the iterator.

type Int64ArrayValue added in v0.77.0

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

func (Int64ArrayValue) Append added in v0.77.0

func (v Int64ArrayValue) Append(value values.Value)

func (Int64ArrayValue) Array added in v0.77.0

func (v Int64ArrayValue) Array() values.Array

func (Int64ArrayValue) Bool added in v0.77.0

func (v Int64ArrayValue) Bool() bool

func (Int64ArrayValue) Bytes added in v0.77.0

func (v Int64ArrayValue) Bytes() []byte

func (Int64ArrayValue) Dict added in v0.96.0

func (Int64ArrayValue) Duration added in v0.77.0

func (v Int64ArrayValue) Duration() values.Duration

func (Int64ArrayValue) Equal added in v0.77.0

func (v Int64ArrayValue) Equal(other values.Value) bool

func (Int64ArrayValue) Float added in v0.77.0

func (v Int64ArrayValue) Float() float64

func (Int64ArrayValue) Function added in v0.77.0

func (v Int64ArrayValue) Function() values.Function

func (Int64ArrayValue) Get added in v0.77.0

func (v Int64ArrayValue) Get(i int) values.Value

func (Int64ArrayValue) Int added in v0.77.0

func (v Int64ArrayValue) Int() int64

func (Int64ArrayValue) IsNull added in v0.77.0

func (v Int64ArrayValue) IsNull() bool

func (Int64ArrayValue) Len added in v0.77.0

func (v Int64ArrayValue) Len() int

func (Int64ArrayValue) Object added in v0.77.0

func (v Int64ArrayValue) Object() values.Object

func (Int64ArrayValue) Range added in v0.77.0

func (v Int64ArrayValue) Range(f func(i int, v values.Value))

func (Int64ArrayValue) Regexp added in v0.77.0

func (v Int64ArrayValue) Regexp() *regexp.Regexp

func (Int64ArrayValue) Set added in v0.77.0

func (v Int64ArrayValue) Set(i int, value values.Value)

func (Int64ArrayValue) Sort added in v0.77.0

func (v Int64ArrayValue) Sort(f func(i values.Value, j values.Value) bool)

func (Int64ArrayValue) Str added in v0.77.0

func (v Int64ArrayValue) Str() string

func (Int64ArrayValue) Time added in v0.77.0

func (v Int64ArrayValue) Time() values.Time

func (Int64ArrayValue) Type added in v0.77.0

func (Int64ArrayValue) UInt added in v0.77.0

func (v Int64ArrayValue) UInt() uint64

type Int64Iterator added in v0.55.0

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

func IterateInt64s added in v0.55.0

func IterateInt64s(arrs []array.Interface) Int64Iterator

func (*Int64Iterator) IsEmpty added in v0.55.0

func (i *Int64Iterator) IsEmpty() bool

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

func (*Int64Iterator) IsNull added in v0.55.0

func (i *Int64Iterator) IsNull() bool

IsNull returns if the current value is null.

func (*Int64Iterator) IsValid added in v0.55.0

func (i *Int64Iterator) IsValid() bool

IsValid returns if the current value is valid.

func (*Int64Iterator) Next added in v0.55.0

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 added in v0.55.0

func (i *Int64Iterator) Value() int64

Value returns the current value in the iterator.

type StringArrayValue added in v0.77.0

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

func (StringArrayValue) Append added in v0.77.0

func (v StringArrayValue) Append(value values.Value)

func (StringArrayValue) Array added in v0.77.0

func (v StringArrayValue) Array() values.Array

func (StringArrayValue) Bool added in v0.77.0

func (v StringArrayValue) Bool() bool

func (StringArrayValue) Bytes added in v0.77.0

func (v StringArrayValue) Bytes() []byte

func (StringArrayValue) Dict added in v0.96.0

func (StringArrayValue) Duration added in v0.77.0

func (v StringArrayValue) Duration() values.Duration

func (StringArrayValue) Equal added in v0.77.0

func (v StringArrayValue) Equal(other values.Value) bool

func (StringArrayValue) Float added in v0.77.0

func (v StringArrayValue) Float() float64

func (StringArrayValue) Function added in v0.77.0

func (v StringArrayValue) Function() values.Function

func (StringArrayValue) Get added in v0.77.0

func (v StringArrayValue) Get(i int) values.Value

func (StringArrayValue) Int added in v0.77.0

func (v StringArrayValue) Int() int64

func (StringArrayValue) IsNull added in v0.77.0

func (v StringArrayValue) IsNull() bool

func (StringArrayValue) Len added in v0.77.0

func (v StringArrayValue) Len() int

func (StringArrayValue) Object added in v0.77.0

func (v StringArrayValue) Object() values.Object

func (StringArrayValue) Range added in v0.77.0

func (v StringArrayValue) Range(f func(i int, v values.Value))

func (StringArrayValue) Regexp added in v0.77.0

func (v StringArrayValue) Regexp() *regexp.Regexp

func (StringArrayValue) Set added in v0.77.0

func (v StringArrayValue) Set(i int, value values.Value)

func (StringArrayValue) Sort added in v0.77.0

func (v StringArrayValue) Sort(f func(i values.Value, j values.Value) bool)

func (StringArrayValue) Str added in v0.77.0

func (v StringArrayValue) Str() string

func (StringArrayValue) Time added in v0.77.0

func (v StringArrayValue) Time() values.Time

func (StringArrayValue) Type added in v0.77.0

func (StringArrayValue) UInt added in v0.77.0

func (v StringArrayValue) UInt() uint64

type StringIterator added in v0.55.0

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

func IterateStrings added in v0.55.0

func IterateStrings(arrs []array.Interface) StringIterator

func (*StringIterator) IsEmpty added in v0.55.0

func (i *StringIterator) IsEmpty() bool

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

func (*StringIterator) IsNull added in v0.55.0

func (i *StringIterator) IsNull() bool

IsNull returns if the current value is null.

func (*StringIterator) IsValid added in v0.55.0

func (i *StringIterator) IsValid() bool

IsValid returns if the current value is valid.

func (*StringIterator) Next added in v0.55.0

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 added in v0.55.0

func (i *StringIterator) ValueString() string

ValueString returns the current value in the iterator.

type Uint64ArrayValue added in v0.77.0

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

func (Uint64ArrayValue) Append added in v0.77.0

func (v Uint64ArrayValue) Append(value values.Value)

func (Uint64ArrayValue) Array added in v0.77.0

func (v Uint64ArrayValue) Array() values.Array

func (Uint64ArrayValue) Bool added in v0.77.0

func (v Uint64ArrayValue) Bool() bool

func (Uint64ArrayValue) Bytes added in v0.77.0

func (v Uint64ArrayValue) Bytes() []byte

func (Uint64ArrayValue) Dict added in v0.96.0

func (Uint64ArrayValue) Duration added in v0.77.0

func (v Uint64ArrayValue) Duration() values.Duration

func (Uint64ArrayValue) Equal added in v0.77.0

func (v Uint64ArrayValue) Equal(other values.Value) bool

func (Uint64ArrayValue) Float added in v0.77.0

func (v Uint64ArrayValue) Float() float64

func (Uint64ArrayValue) Function added in v0.77.0

func (v Uint64ArrayValue) Function() values.Function

func (Uint64ArrayValue) Get added in v0.77.0

func (v Uint64ArrayValue) Get(i int) values.Value

func (Uint64ArrayValue) Int added in v0.77.0

func (v Uint64ArrayValue) Int() int64

func (Uint64ArrayValue) IsNull added in v0.77.0

func (v Uint64ArrayValue) IsNull() bool

func (Uint64ArrayValue) Len added in v0.77.0

func (v Uint64ArrayValue) Len() int

func (Uint64ArrayValue) Object added in v0.77.0

func (v Uint64ArrayValue) Object() values.Object

func (Uint64ArrayValue) Range added in v0.77.0

func (v Uint64ArrayValue) Range(f func(i int, v values.Value))

func (Uint64ArrayValue) Regexp added in v0.77.0

func (v Uint64ArrayValue) Regexp() *regexp.Regexp

func (Uint64ArrayValue) Set added in v0.77.0

func (v Uint64ArrayValue) Set(i int, value values.Value)

func (Uint64ArrayValue) Sort added in v0.77.0

func (v Uint64ArrayValue) Sort(f func(i values.Value, j values.Value) bool)

func (Uint64ArrayValue) Str added in v0.77.0

func (v Uint64ArrayValue) Str() string

func (Uint64ArrayValue) Time added in v0.77.0

func (v Uint64ArrayValue) Time() values.Time

func (Uint64ArrayValue) Type added in v0.77.0

func (Uint64ArrayValue) UInt added in v0.77.0

func (v Uint64ArrayValue) UInt() uint64

type Uint64Iterator added in v0.55.0

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

func IterateUint64s added in v0.55.0

func IterateUint64s(arrs []array.Interface) Uint64Iterator

func (*Uint64Iterator) IsEmpty added in v0.55.0

func (i *Uint64Iterator) IsEmpty() bool

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

func (*Uint64Iterator) IsNull added in v0.55.0

func (i *Uint64Iterator) IsNull() bool

IsNull returns if the current value is null.

func (*Uint64Iterator) IsValid added in v0.55.0

func (i *Uint64Iterator) IsValid() bool

IsValid returns if the current value is valid.

func (*Uint64Iterator) Next added in v0.55.0

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 added in v0.55.0

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