array

package
v0.195.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IntType     = arrow.PrimitiveTypes.Int64
	UintType    = arrow.PrimitiveTypes.Uint64
	FloatType   = arrow.PrimitiveTypes.Float64
	StringType  = arrow.BinaryTypes.String
	BooleanType = arrow.FixedWidthTypes.Boolean
)

Functions

This section is empty.

Types

type Array added in v0.158.0

type Array interface {
	// DataType returns the type metadata for this instance.
	DataType() DataType

	// NullN returns the number of null values in the array.
	NullN() int

	// NullBitmapBytes returns a byte slice of the validity bitmap.
	NullBitmapBytes() []byte

	// IsNull returns true if value at index is null.
	// NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
	IsNull(i int) bool

	// IsValid returns true if value at index is not null.
	// NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
	IsValid(i int) bool

	Data() arrow.ArrayData

	// Len returns the number of elements in the array.
	Len() int

	// Retain increases the reference count by 1.
	// Retain may be called simultaneously from multiple goroutines.
	Retain()

	// Release decreases the reference count by 1.
	// Release may be called simultaneously from multiple goroutines.
	// When the reference count goes to zero, the memory is freed.
	Release()
}

Array represents an immutable sequence of values.

This type is derived from the arrow.Array interface.

func CopyValidValues added in v0.179.0

func CopyValidValues(mem memory.Allocator, values Array, nullCheckArray Array) Array

Copies all valid (non-null) values from `values` using the bitmap of nullCheckArray. If the entire array is valid a new reference to `values` is returned (as an optimization)

func Slice added in v0.125.0

func Slice(arr Array, i, j int) Array

Slice will construct a new slice of the array using the given start and stop index. The returned array must be released.

This is functionally equivalent to using array.NewSlice, but array.NewSlice will construct an array.String when the data type is a string rather than an array.Binary.

type Boolean

type Boolean = array.Boolean

func And added in v0.168.0

func And(l, r *Boolean, mem memory.Allocator) (*Boolean, error)

func AndConst added in v0.184.0

func AndConst(fixed *bool, arr *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanBooleanEqual added in v0.179.0

func BooleanBooleanEqual(l *Boolean, r *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanBooleanEqualLConst added in v0.179.0

func BooleanBooleanEqualLConst(l bool, r *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanBooleanEqualRConst added in v0.179.0

func BooleanBooleanEqualRConst(l *Boolean, r bool, mem memory.Allocator) (*Boolean, error)

func BooleanBooleanNotEqual added in v0.179.0

func BooleanBooleanNotEqual(l *Boolean, r *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanBooleanNotEqualLConst added in v0.179.0

func BooleanBooleanNotEqualLConst(l bool, r *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanBooleanNotEqualRConst added in v0.179.0

func BooleanBooleanNotEqualRConst(l *Boolean, r bool, mem memory.Allocator) (*Boolean, error)

func BooleanConditional added in v0.177.0

func BooleanConditional(t *Boolean, c, a *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanConditionalAConst added in v0.177.0

func BooleanConditionalAConst(t *Boolean, c *Boolean, a *bool, mem memory.Allocator) (*Boolean, error)

func BooleanConditionalCConst added in v0.177.0

func BooleanConditionalCConst(t *Boolean, c *bool, a *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanConditionalCConstAConst added in v0.177.0

func BooleanConditionalCConstAConst(t *Boolean, c, a *bool, mem memory.Allocator) (*Boolean, error)

func BooleanExists added in v0.181.0

func BooleanExists(v *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanNot added in v0.181.0

func BooleanNot(v *Boolean, mem memory.Allocator) (*Boolean, error)

func BooleanRepeat added in v0.125.0

func BooleanRepeat(v bool, isNull bool, n int, mem memory.Allocator) *Boolean

func FloatExists added in v0.181.0

func FloatExists(v *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatEqual added in v0.179.0

func FloatFloatEqual(l *Float, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatEqualLConst added in v0.179.0

func FloatFloatEqualLConst(l float64, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatEqualRConst added in v0.179.0

func FloatFloatEqualRConst(l *Float, r float64, mem memory.Allocator) (*Boolean, error)

func FloatFloatGreaterThan added in v0.179.0

func FloatFloatGreaterThan(l *Float, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatGreaterThanEqual added in v0.179.0

func FloatFloatGreaterThanEqual(l *Float, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatGreaterThanEqualLConst added in v0.179.0

func FloatFloatGreaterThanEqualLConst(l float64, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatGreaterThanEqualRConst added in v0.179.0

func FloatFloatGreaterThanEqualRConst(l *Float, r float64, mem memory.Allocator) (*Boolean, error)

func FloatFloatGreaterThanLConst added in v0.179.0

func FloatFloatGreaterThanLConst(l float64, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatGreaterThanRConst added in v0.179.0

func FloatFloatGreaterThanRConst(l *Float, r float64, mem memory.Allocator) (*Boolean, error)

func FloatFloatLessThan added in v0.179.0

func FloatFloatLessThan(l *Float, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatLessThanEqual added in v0.179.0

func FloatFloatLessThanEqual(l *Float, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatLessThanEqualLConst added in v0.179.0

func FloatFloatLessThanEqualLConst(l float64, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatLessThanEqualRConst added in v0.179.0

func FloatFloatLessThanEqualRConst(l *Float, r float64, mem memory.Allocator) (*Boolean, error)

func FloatFloatLessThanLConst added in v0.179.0

func FloatFloatLessThanLConst(l float64, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatLessThanRConst added in v0.179.0

func FloatFloatLessThanRConst(l *Float, r float64, mem memory.Allocator) (*Boolean, error)

func FloatFloatNotEqual added in v0.179.0

func FloatFloatNotEqual(l *Float, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatNotEqualLConst added in v0.179.0

func FloatFloatNotEqualLConst(l float64, r *Float, mem memory.Allocator) (*Boolean, error)

func FloatFloatNotEqualRConst added in v0.179.0

func FloatFloatNotEqualRConst(l *Float, r float64, mem memory.Allocator) (*Boolean, error)

func FloatIntEqual added in v0.179.0

func FloatIntEqual(l *Float, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntEqualLConst added in v0.179.0

func FloatIntEqualLConst(l float64, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntEqualRConst added in v0.179.0

func FloatIntEqualRConst(l *Float, r int64, mem memory.Allocator) (*Boolean, error)

func FloatIntGreaterThan added in v0.179.0

func FloatIntGreaterThan(l *Float, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntGreaterThanEqual added in v0.179.0

func FloatIntGreaterThanEqual(l *Float, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntGreaterThanEqualLConst added in v0.179.0

func FloatIntGreaterThanEqualLConst(l float64, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntGreaterThanEqualRConst added in v0.179.0

func FloatIntGreaterThanEqualRConst(l *Float, r int64, mem memory.Allocator) (*Boolean, error)

func FloatIntGreaterThanLConst added in v0.179.0

func FloatIntGreaterThanLConst(l float64, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntGreaterThanRConst added in v0.179.0

func FloatIntGreaterThanRConst(l *Float, r int64, mem memory.Allocator) (*Boolean, error)

func FloatIntLessThan added in v0.179.0

func FloatIntLessThan(l *Float, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntLessThanEqual added in v0.179.0

func FloatIntLessThanEqual(l *Float, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntLessThanEqualLConst added in v0.179.0

func FloatIntLessThanEqualLConst(l float64, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntLessThanEqualRConst added in v0.179.0

func FloatIntLessThanEqualRConst(l *Float, r int64, mem memory.Allocator) (*Boolean, error)

func FloatIntLessThanLConst added in v0.179.0

func FloatIntLessThanLConst(l float64, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntLessThanRConst added in v0.179.0

func FloatIntLessThanRConst(l *Float, r int64, mem memory.Allocator) (*Boolean, error)

func FloatIntNotEqual added in v0.179.0

func FloatIntNotEqual(l *Float, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntNotEqualLConst added in v0.179.0

func FloatIntNotEqualLConst(l float64, r *Int, mem memory.Allocator) (*Boolean, error)

func FloatIntNotEqualRConst added in v0.179.0

func FloatIntNotEqualRConst(l *Float, r int64, mem memory.Allocator) (*Boolean, error)

func FloatUintEqual added in v0.179.0

func FloatUintEqual(l *Float, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintEqualLConst added in v0.179.0

func FloatUintEqualLConst(l float64, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintEqualRConst added in v0.179.0

func FloatUintEqualRConst(l *Float, r uint64, mem memory.Allocator) (*Boolean, error)

func FloatUintGreaterThan added in v0.179.0

func FloatUintGreaterThan(l *Float, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintGreaterThanEqual added in v0.179.0

func FloatUintGreaterThanEqual(l *Float, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintGreaterThanEqualLConst added in v0.179.0

func FloatUintGreaterThanEqualLConst(l float64, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintGreaterThanEqualRConst added in v0.179.0

func FloatUintGreaterThanEqualRConst(l *Float, r uint64, mem memory.Allocator) (*Boolean, error)

func FloatUintGreaterThanLConst added in v0.179.0

func FloatUintGreaterThanLConst(l float64, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintGreaterThanRConst added in v0.179.0

func FloatUintGreaterThanRConst(l *Float, r uint64, mem memory.Allocator) (*Boolean, error)

func FloatUintLessThan added in v0.179.0

func FloatUintLessThan(l *Float, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintLessThanEqual added in v0.179.0

func FloatUintLessThanEqual(l *Float, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintLessThanEqualLConst added in v0.179.0

func FloatUintLessThanEqualLConst(l float64, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintLessThanEqualRConst added in v0.179.0

func FloatUintLessThanEqualRConst(l *Float, r uint64, mem memory.Allocator) (*Boolean, error)

func FloatUintLessThanLConst added in v0.179.0

func FloatUintLessThanLConst(l float64, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintLessThanRConst added in v0.179.0

func FloatUintLessThanRConst(l *Float, r uint64, mem memory.Allocator) (*Boolean, error)

func FloatUintNotEqual added in v0.179.0

func FloatUintNotEqual(l *Float, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintNotEqualLConst added in v0.179.0

func FloatUintNotEqualLConst(l float64, r *Uint, mem memory.Allocator) (*Boolean, error)

func FloatUintNotEqualRConst added in v0.179.0

func FloatUintNotEqualRConst(l *Float, r uint64, mem memory.Allocator) (*Boolean, error)

func IntExists added in v0.181.0

func IntExists(v *Int, mem memory.Allocator) (*Boolean, error)

func IntFloatEqual added in v0.179.0

func IntFloatEqual(l *Int, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatEqualLConst added in v0.179.0

func IntFloatEqualLConst(l int64, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatEqualRConst added in v0.179.0

func IntFloatEqualRConst(l *Int, r float64, mem memory.Allocator) (*Boolean, error)

func IntFloatGreaterThan added in v0.179.0

func IntFloatGreaterThan(l *Int, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatGreaterThanEqual added in v0.179.0

func IntFloatGreaterThanEqual(l *Int, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatGreaterThanEqualLConst added in v0.179.0

func IntFloatGreaterThanEqualLConst(l int64, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatGreaterThanEqualRConst added in v0.179.0

func IntFloatGreaterThanEqualRConst(l *Int, r float64, mem memory.Allocator) (*Boolean, error)

func IntFloatGreaterThanLConst added in v0.179.0

func IntFloatGreaterThanLConst(l int64, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatGreaterThanRConst added in v0.179.0

func IntFloatGreaterThanRConst(l *Int, r float64, mem memory.Allocator) (*Boolean, error)

func IntFloatLessThan added in v0.179.0

func IntFloatLessThan(l *Int, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatLessThanEqual added in v0.179.0

func IntFloatLessThanEqual(l *Int, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatLessThanEqualLConst added in v0.179.0

func IntFloatLessThanEqualLConst(l int64, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatLessThanEqualRConst added in v0.179.0

func IntFloatLessThanEqualRConst(l *Int, r float64, mem memory.Allocator) (*Boolean, error)

func IntFloatLessThanLConst added in v0.179.0

func IntFloatLessThanLConst(l int64, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatLessThanRConst added in v0.179.0

func IntFloatLessThanRConst(l *Int, r float64, mem memory.Allocator) (*Boolean, error)

func IntFloatNotEqual added in v0.179.0

func IntFloatNotEqual(l *Int, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatNotEqualLConst added in v0.179.0

func IntFloatNotEqualLConst(l int64, r *Float, mem memory.Allocator) (*Boolean, error)

func IntFloatNotEqualRConst added in v0.179.0

func IntFloatNotEqualRConst(l *Int, r float64, mem memory.Allocator) (*Boolean, error)

func IntIntEqual added in v0.179.0

func IntIntEqual(l *Int, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntEqualLConst added in v0.179.0

func IntIntEqualLConst(l int64, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntEqualRConst added in v0.179.0

func IntIntEqualRConst(l *Int, r int64, mem memory.Allocator) (*Boolean, error)

func IntIntGreaterThan added in v0.179.0

func IntIntGreaterThan(l *Int, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntGreaterThanEqual added in v0.179.0

func IntIntGreaterThanEqual(l *Int, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntGreaterThanEqualLConst added in v0.179.0

func IntIntGreaterThanEqualLConst(l int64, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntGreaterThanEqualRConst added in v0.179.0

func IntIntGreaterThanEqualRConst(l *Int, r int64, mem memory.Allocator) (*Boolean, error)

func IntIntGreaterThanLConst added in v0.179.0

func IntIntGreaterThanLConst(l int64, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntGreaterThanRConst added in v0.179.0

func IntIntGreaterThanRConst(l *Int, r int64, mem memory.Allocator) (*Boolean, error)

func IntIntLessThan added in v0.179.0

func IntIntLessThan(l *Int, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntLessThanEqual added in v0.179.0

func IntIntLessThanEqual(l *Int, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntLessThanEqualLConst added in v0.179.0

func IntIntLessThanEqualLConst(l int64, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntLessThanEqualRConst added in v0.179.0

func IntIntLessThanEqualRConst(l *Int, r int64, mem memory.Allocator) (*Boolean, error)

func IntIntLessThanLConst added in v0.179.0

func IntIntLessThanLConst(l int64, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntLessThanRConst added in v0.179.0

func IntIntLessThanRConst(l *Int, r int64, mem memory.Allocator) (*Boolean, error)

func IntIntNotEqual added in v0.179.0

func IntIntNotEqual(l *Int, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntNotEqualLConst added in v0.179.0

func IntIntNotEqualLConst(l int64, r *Int, mem memory.Allocator) (*Boolean, error)

func IntIntNotEqualRConst added in v0.179.0

func IntIntNotEqualRConst(l *Int, r int64, mem memory.Allocator) (*Boolean, error)

func IntUintEqual added in v0.179.0

func IntUintEqual(l *Int, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintEqualLConst added in v0.179.0

func IntUintEqualLConst(l int64, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintEqualRConst added in v0.179.0

func IntUintEqualRConst(l *Int, r uint64, mem memory.Allocator) (*Boolean, error)

func IntUintGreaterThan added in v0.179.0

func IntUintGreaterThan(l *Int, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintGreaterThanEqual added in v0.179.0

func IntUintGreaterThanEqual(l *Int, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintGreaterThanEqualLConst added in v0.179.0

func IntUintGreaterThanEqualLConst(l int64, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintGreaterThanEqualRConst added in v0.179.0

func IntUintGreaterThanEqualRConst(l *Int, r uint64, mem memory.Allocator) (*Boolean, error)

func IntUintGreaterThanLConst added in v0.179.0

func IntUintGreaterThanLConst(l int64, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintGreaterThanRConst added in v0.179.0

func IntUintGreaterThanRConst(l *Int, r uint64, mem memory.Allocator) (*Boolean, error)

func IntUintLessThan added in v0.179.0

func IntUintLessThan(l *Int, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintLessThanEqual added in v0.179.0

func IntUintLessThanEqual(l *Int, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintLessThanEqualLConst added in v0.179.0

func IntUintLessThanEqualLConst(l int64, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintLessThanEqualRConst added in v0.179.0

func IntUintLessThanEqualRConst(l *Int, r uint64, mem memory.Allocator) (*Boolean, error)

func IntUintLessThanLConst added in v0.179.0

func IntUintLessThanLConst(l int64, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintLessThanRConst added in v0.179.0

func IntUintLessThanRConst(l *Int, r uint64, mem memory.Allocator) (*Boolean, error)

func IntUintNotEqual added in v0.179.0

func IntUintNotEqual(l *Int, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintNotEqualLConst added in v0.179.0

func IntUintNotEqualLConst(l int64, r *Uint, mem memory.Allocator) (*Boolean, error)

func IntUintNotEqualRConst added in v0.179.0

func IntUintNotEqualRConst(l *Int, r uint64, mem memory.Allocator) (*Boolean, error)

func Or added in v0.168.0

func Or(l, r *Boolean, mem memory.Allocator) (*Boolean, error)

func OrConst added in v0.184.0

func OrConst(fixed *bool, arr *Boolean, mem memory.Allocator) (*Boolean, error)

func StringExists added in v0.181.0

func StringExists(v *String, mem memory.Allocator) (*Boolean, error)

func StringStringEqual added in v0.179.0

func StringStringEqual(l *String, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringEqualLConst added in v0.179.0

func StringStringEqualLConst(l string, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringEqualRConst added in v0.179.0

func StringStringEqualRConst(l *String, r string, mem memory.Allocator) (*Boolean, error)

func StringStringGreaterThan added in v0.179.0

func StringStringGreaterThan(l *String, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringGreaterThanEqual added in v0.179.0

func StringStringGreaterThanEqual(l *String, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringGreaterThanEqualLConst added in v0.179.0

func StringStringGreaterThanEqualLConst(l string, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringGreaterThanEqualRConst added in v0.179.0

func StringStringGreaterThanEqualRConst(l *String, r string, mem memory.Allocator) (*Boolean, error)

func StringStringGreaterThanLConst added in v0.179.0

func StringStringGreaterThanLConst(l string, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringGreaterThanRConst added in v0.179.0

func StringStringGreaterThanRConst(l *String, r string, mem memory.Allocator) (*Boolean, error)

func StringStringLessThan added in v0.179.0

func StringStringLessThan(l *String, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringLessThanEqual added in v0.179.0

func StringStringLessThanEqual(l *String, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringLessThanEqualLConst added in v0.179.0

func StringStringLessThanEqualLConst(l string, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringLessThanEqualRConst added in v0.179.0

func StringStringLessThanEqualRConst(l *String, r string, mem memory.Allocator) (*Boolean, error)

func StringStringLessThanLConst added in v0.179.0

func StringStringLessThanLConst(l string, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringLessThanRConst added in v0.179.0

func StringStringLessThanRConst(l *String, r string, mem memory.Allocator) (*Boolean, error)

func StringStringNotEqual added in v0.179.0

func StringStringNotEqual(l *String, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringNotEqualLConst added in v0.179.0

func StringStringNotEqualLConst(l string, r *String, mem memory.Allocator) (*Boolean, error)

func StringStringNotEqualRConst added in v0.179.0

func StringStringNotEqualRConst(l *String, r string, mem memory.Allocator) (*Boolean, error)

func UintExists added in v0.181.0

func UintExists(v *Uint, mem memory.Allocator) (*Boolean, error)

func UintFloatEqual added in v0.179.0

func UintFloatEqual(l *Uint, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatEqualLConst added in v0.179.0

func UintFloatEqualLConst(l uint64, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatEqualRConst added in v0.179.0

func UintFloatEqualRConst(l *Uint, r float64, mem memory.Allocator) (*Boolean, error)

func UintFloatGreaterThan added in v0.179.0

func UintFloatGreaterThan(l *Uint, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatGreaterThanEqual added in v0.179.0

func UintFloatGreaterThanEqual(l *Uint, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatGreaterThanEqualLConst added in v0.179.0

func UintFloatGreaterThanEqualLConst(l uint64, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatGreaterThanEqualRConst added in v0.179.0

func UintFloatGreaterThanEqualRConst(l *Uint, r float64, mem memory.Allocator) (*Boolean, error)

func UintFloatGreaterThanLConst added in v0.179.0

func UintFloatGreaterThanLConst(l uint64, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatGreaterThanRConst added in v0.179.0

func UintFloatGreaterThanRConst(l *Uint, r float64, mem memory.Allocator) (*Boolean, error)

func UintFloatLessThan added in v0.179.0

func UintFloatLessThan(l *Uint, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatLessThanEqual added in v0.179.0

func UintFloatLessThanEqual(l *Uint, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatLessThanEqualLConst added in v0.179.0

func UintFloatLessThanEqualLConst(l uint64, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatLessThanEqualRConst added in v0.179.0

func UintFloatLessThanEqualRConst(l *Uint, r float64, mem memory.Allocator) (*Boolean, error)

func UintFloatLessThanLConst added in v0.179.0

func UintFloatLessThanLConst(l uint64, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatLessThanRConst added in v0.179.0

func UintFloatLessThanRConst(l *Uint, r float64, mem memory.Allocator) (*Boolean, error)

func UintFloatNotEqual added in v0.179.0

func UintFloatNotEqual(l *Uint, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatNotEqualLConst added in v0.179.0

func UintFloatNotEqualLConst(l uint64, r *Float, mem memory.Allocator) (*Boolean, error)

func UintFloatNotEqualRConst added in v0.179.0

func UintFloatNotEqualRConst(l *Uint, r float64, mem memory.Allocator) (*Boolean, error)

func UintIntEqual added in v0.179.0

func UintIntEqual(l *Uint, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntEqualLConst added in v0.179.0

func UintIntEqualLConst(l uint64, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntEqualRConst added in v0.179.0

func UintIntEqualRConst(l *Uint, r int64, mem memory.Allocator) (*Boolean, error)

func UintIntGreaterThan added in v0.179.0

func UintIntGreaterThan(l *Uint, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntGreaterThanEqual added in v0.179.0

func UintIntGreaterThanEqual(l *Uint, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntGreaterThanEqualLConst added in v0.179.0

func UintIntGreaterThanEqualLConst(l uint64, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntGreaterThanEqualRConst added in v0.179.0

func UintIntGreaterThanEqualRConst(l *Uint, r int64, mem memory.Allocator) (*Boolean, error)

func UintIntGreaterThanLConst added in v0.179.0

func UintIntGreaterThanLConst(l uint64, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntGreaterThanRConst added in v0.179.0

func UintIntGreaterThanRConst(l *Uint, r int64, mem memory.Allocator) (*Boolean, error)

func UintIntLessThan added in v0.179.0

func UintIntLessThan(l *Uint, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntLessThanEqual added in v0.179.0

func UintIntLessThanEqual(l *Uint, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntLessThanEqualLConst added in v0.179.0

func UintIntLessThanEqualLConst(l uint64, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntLessThanEqualRConst added in v0.179.0

func UintIntLessThanEqualRConst(l *Uint, r int64, mem memory.Allocator) (*Boolean, error)

func UintIntLessThanLConst added in v0.179.0

func UintIntLessThanLConst(l uint64, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntLessThanRConst added in v0.179.0

func UintIntLessThanRConst(l *Uint, r int64, mem memory.Allocator) (*Boolean, error)

func UintIntNotEqual added in v0.179.0

func UintIntNotEqual(l *Uint, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntNotEqualLConst added in v0.179.0

func UintIntNotEqualLConst(l uint64, r *Int, mem memory.Allocator) (*Boolean, error)

func UintIntNotEqualRConst added in v0.179.0

func UintIntNotEqualRConst(l *Uint, r int64, mem memory.Allocator) (*Boolean, error)

func UintUintEqual added in v0.179.0

func UintUintEqual(l *Uint, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintEqualLConst added in v0.179.0

func UintUintEqualLConst(l uint64, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintEqualRConst added in v0.179.0

func UintUintEqualRConst(l *Uint, r uint64, mem memory.Allocator) (*Boolean, error)

func UintUintGreaterThan added in v0.179.0

func UintUintGreaterThan(l *Uint, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintGreaterThanEqual added in v0.179.0

func UintUintGreaterThanEqual(l *Uint, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintGreaterThanEqualLConst added in v0.179.0

func UintUintGreaterThanEqualLConst(l uint64, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintGreaterThanEqualRConst added in v0.179.0

func UintUintGreaterThanEqualRConst(l *Uint, r uint64, mem memory.Allocator) (*Boolean, error)

func UintUintGreaterThanLConst added in v0.179.0

func UintUintGreaterThanLConst(l uint64, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintGreaterThanRConst added in v0.179.0

func UintUintGreaterThanRConst(l *Uint, r uint64, mem memory.Allocator) (*Boolean, error)

func UintUintLessThan added in v0.179.0

func UintUintLessThan(l *Uint, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintLessThanEqual added in v0.179.0

func UintUintLessThanEqual(l *Uint, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintLessThanEqualLConst added in v0.179.0

func UintUintLessThanEqualLConst(l uint64, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintLessThanEqualRConst added in v0.179.0

func UintUintLessThanEqualRConst(l *Uint, r uint64, mem memory.Allocator) (*Boolean, error)

func UintUintLessThanLConst added in v0.179.0

func UintUintLessThanLConst(l uint64, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintLessThanRConst added in v0.179.0

func UintUintLessThanRConst(l *Uint, r uint64, mem memory.Allocator) (*Boolean, error)

func UintUintNotEqual added in v0.179.0

func UintUintNotEqual(l *Uint, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintNotEqualLConst added in v0.179.0

func UintUintNotEqualLConst(l uint64, r *Uint, mem memory.Allocator) (*Boolean, error)

func UintUintNotEqualRConst added in v0.179.0

func UintUintNotEqualRConst(l *Uint, r uint64, mem memory.Allocator) (*Boolean, error)

type BooleanBuilder

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

func NewBooleanBuilder added in v0.125.0

func NewBooleanBuilder(mem memory.Allocator) *BooleanBuilder

func (*BooleanBuilder) Append

func (b *BooleanBuilder) Append(v bool)

func (*BooleanBuilder) AppendNull added in v0.125.0

func (b *BooleanBuilder) AppendNull()

func (*BooleanBuilder) AppendValues

func (b *BooleanBuilder) AppendValues(v []bool, valid []bool)

func (*BooleanBuilder) Cap added in v0.125.0

func (b *BooleanBuilder) Cap() int

func (*BooleanBuilder) CopyValidValues added in v0.179.0

func (b *BooleanBuilder) CopyValidValues(values *Boolean, nullCheckArray Array)

func (*BooleanBuilder) Len added in v0.125.0

func (b *BooleanBuilder) Len() int

func (*BooleanBuilder) NewArray added in v0.125.0

func (b *BooleanBuilder) NewArray() Array

func (*BooleanBuilder) NewBooleanArray added in v0.125.0

func (b *BooleanBuilder) NewBooleanArray() *Boolean

func (*BooleanBuilder) NullN added in v0.125.0

func (b *BooleanBuilder) NullN() int

func (*BooleanBuilder) Release added in v0.125.0

func (b *BooleanBuilder) Release()

func (*BooleanBuilder) Reserve added in v0.125.0

func (b *BooleanBuilder) Reserve(n int)

func (*BooleanBuilder) Resize added in v0.125.0

func (b *BooleanBuilder) Resize(n int)

func (*BooleanBuilder) Retain added in v0.125.0

func (b *BooleanBuilder) Retain()

func (*BooleanBuilder) UnsafeAppend added in v0.125.0

func (b *BooleanBuilder) UnsafeAppend(v bool)

func (*BooleanBuilder) UnsafeAppendBoolToBitmap added in v0.125.0

func (b *BooleanBuilder) UnsafeAppendBoolToBitmap(isValid bool)

type Builder added in v0.125.0

type Builder interface {
	// Retain increases the reference count by 1.
	// Retain may be called simultaneously from multiple goroutines.
	Retain()

	// Release decreases the reference count by 1.
	Release()

	// Len returns the number of elements in the array builder.
	Len() int

	// Cap returns the total number of elements that can be stored
	// without allocating additional memory.
	Cap() int

	// NullN returns the number of null values in the array builder.
	NullN() int

	// AppendNull adds a new null value to the array being built.
	AppendNull()

	// Reserve ensures there is enough space for appending n elements
	// by checking the capacity and calling Resize if necessary.
	Reserve(n int)

	// Resize adjusts the space allocated by b to n elements. If n is greater than b.Cap(),
	// additional memory will be allocated. If n is smaller, the allocated memory may reduced.
	Resize(n int)

	// NewArray creates a new array from the memory buffers used
	// by the builder and resets the Builder so it can be used to build
	// a new array.
	NewArray() Array
}

Builder provides an interface to build arrow arrays.

This type is derived from the arrow array.Builder interface.

type DataType added in v0.125.0

type DataType = arrow.DataType

type Float

type Float = array.Float64

func FloatAdd added in v0.165.0

func FloatAdd(l, r *Float, mem memory.Allocator) (*Float, error)

func FloatAddLConst added in v0.175.0

func FloatAddLConst(l float64, r *Float, mem memory.Allocator) (*Float, error)

func FloatAddRConst added in v0.175.0

func FloatAddRConst(l *Float, r float64, mem memory.Allocator) (*Float, error)

func FloatConditional added in v0.177.0

func FloatConditional(t *Boolean, c, a *Float, mem memory.Allocator) (*Float, error)

func FloatConditionalAConst added in v0.177.0

func FloatConditionalAConst(t *Boolean, c *Float, a *float64, mem memory.Allocator) (*Float, error)

func FloatConditionalCConst added in v0.177.0

func FloatConditionalCConst(t *Boolean, c *float64, a *Float, mem memory.Allocator) (*Float, error)

func FloatConditionalCConstAConst added in v0.177.0

func FloatConditionalCConstAConst(t *Boolean, c, a *float64, mem memory.Allocator) (*Float, error)

func FloatDiv added in v0.166.0

func FloatDiv(l, r *Float, mem memory.Allocator) (*Float, error)

func FloatDivLConst added in v0.175.0

func FloatDivLConst(l float64, r *Float, mem memory.Allocator) (*Float, error)

func FloatDivRConst added in v0.175.0

func FloatDivRConst(l *Float, r float64, mem memory.Allocator) (*Float, error)

func FloatMod added in v0.166.0

func FloatMod(l, r *Float, mem memory.Allocator) (*Float, error)

func FloatModLConst added in v0.175.0

func FloatModLConst(l float64, r *Float, mem memory.Allocator) (*Float, error)

func FloatModRConst added in v0.175.0

func FloatModRConst(l *Float, r float64, mem memory.Allocator) (*Float, error)

func FloatMul added in v0.166.0

func FloatMul(l, r *Float, mem memory.Allocator) (*Float, error)

func FloatMulLConst added in v0.175.0

func FloatMulLConst(l float64, r *Float, mem memory.Allocator) (*Float, error)

func FloatMulRConst added in v0.175.0

func FloatMulRConst(l *Float, r float64, mem memory.Allocator) (*Float, error)

func FloatPow added in v0.166.0

func FloatPow(l, r *Float, mem memory.Allocator) (*Float, error)

func FloatPowLConst added in v0.175.0

func FloatPowLConst(l float64, r *Float, mem memory.Allocator) (*Float, error)

func FloatPowRConst added in v0.175.0

func FloatPowRConst(l *Float, r float64, mem memory.Allocator) (*Float, error)

func FloatRepeat added in v0.125.0

func FloatRepeat(v float64, isNull bool, n int, mem memory.Allocator) *Float

func FloatSub added in v0.166.0

func FloatSub(l, r *Float, mem memory.Allocator) (*Float, error)

func FloatSubLConst added in v0.175.0

func FloatSubLConst(l float64, r *Float, mem memory.Allocator) (*Float, error)

func FloatSubRConst added in v0.175.0

func FloatSubRConst(l *Float, r float64, mem memory.Allocator) (*Float, error)

func FloatUnarySub added in v0.181.0

func FloatUnarySub(v *Float, mem memory.Allocator) (*Float, error)

func IntPow added in v0.166.0

func IntPow(l, r *Int, mem memory.Allocator) (*Float, error)

func IntPowLConst added in v0.175.0

func IntPowLConst(l int64, r *Int, mem memory.Allocator) (*Float, error)

func IntPowRConst added in v0.175.0

func IntPowRConst(l *Int, r int64, mem memory.Allocator) (*Float, error)

func ToFloatConv added in v0.179.0

func ToFloatConv(mem memory.Allocator, arr Array) (*Float, error)

func UintPow added in v0.166.0

func UintPow(l, r *Uint, mem memory.Allocator) (*Float, error)

func UintPowLConst added in v0.175.0

func UintPowLConst(l uint64, r *Uint, mem memory.Allocator) (*Float, error)

func UintPowRConst added in v0.175.0

func UintPowRConst(l *Uint, r uint64, mem memory.Allocator) (*Float, error)

type FloatBuilder

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

func NewFloatBuilder added in v0.125.0

func NewFloatBuilder(mem memory.Allocator) *FloatBuilder

func (*FloatBuilder) Append

func (b *FloatBuilder) Append(v float64)

func (*FloatBuilder) AppendNull added in v0.125.0

func (b *FloatBuilder) AppendNull()

func (*FloatBuilder) AppendValues

func (b *FloatBuilder) AppendValues(v []float64, valid []bool)

func (*FloatBuilder) Cap added in v0.125.0

func (b *FloatBuilder) Cap() int

func (*FloatBuilder) CopyValidValues added in v0.179.0

func (b *FloatBuilder) CopyValidValues(values *Float, nullCheckArray Array)

func (*FloatBuilder) Len added in v0.125.0

func (b *FloatBuilder) Len() int

func (*FloatBuilder) NewArray added in v0.125.0

func (b *FloatBuilder) NewArray() Array

func (*FloatBuilder) NewFloatArray added in v0.125.0

func (b *FloatBuilder) NewFloatArray() *Float

func (*FloatBuilder) NullN added in v0.125.0

func (b *FloatBuilder) NullN() int

func (*FloatBuilder) Release added in v0.125.0

func (b *FloatBuilder) Release()

func (*FloatBuilder) Reserve added in v0.125.0

func (b *FloatBuilder) Reserve(n int)

func (*FloatBuilder) Resize added in v0.125.0

func (b *FloatBuilder) Resize(n int)

func (*FloatBuilder) Retain added in v0.125.0

func (b *FloatBuilder) Retain()

func (*FloatBuilder) UnsafeAppend added in v0.125.0

func (b *FloatBuilder) UnsafeAppend(v float64)

func (*FloatBuilder) UnsafeAppendBoolToBitmap added in v0.125.0

func (b *FloatBuilder) UnsafeAppendBoolToBitmap(isValid bool)

type Int

type Int = array.Int64

func IntAdd added in v0.165.0

func IntAdd(l, r *Int, mem memory.Allocator) (*Int, error)

func IntAddLConst added in v0.175.0

func IntAddLConst(l int64, r *Int, mem memory.Allocator) (*Int, error)

func IntAddRConst added in v0.175.0

func IntAddRConst(l *Int, r int64, mem memory.Allocator) (*Int, error)

func IntConditional added in v0.177.0

func IntConditional(t *Boolean, c, a *Int, mem memory.Allocator) (*Int, error)

func IntConditionalAConst added in v0.177.0

func IntConditionalAConst(t *Boolean, c *Int, a *int64, mem memory.Allocator) (*Int, error)

func IntConditionalCConst added in v0.177.0

func IntConditionalCConst(t *Boolean, c *int64, a *Int, mem memory.Allocator) (*Int, error)

func IntConditionalCConstAConst added in v0.177.0

func IntConditionalCConstAConst(t *Boolean, c, a *int64, mem memory.Allocator) (*Int, error)

func IntDiv added in v0.166.0

func IntDiv(l, r *Int, mem memory.Allocator) (*Int, error)

func IntDivLConst added in v0.175.0

func IntDivLConst(l int64, r *Int, mem memory.Allocator) (*Int, error)

func IntDivRConst added in v0.175.0

func IntDivRConst(l *Int, r int64, mem memory.Allocator) (*Int, error)

func IntMod added in v0.166.0

func IntMod(l, r *Int, mem memory.Allocator) (*Int, error)

func IntModLConst added in v0.175.0

func IntModLConst(l int64, r *Int, mem memory.Allocator) (*Int, error)

func IntModRConst added in v0.175.0

func IntModRConst(l *Int, r int64, mem memory.Allocator) (*Int, error)

func IntMul added in v0.166.0

func IntMul(l, r *Int, mem memory.Allocator) (*Int, error)

func IntMulLConst added in v0.175.0

func IntMulLConst(l int64, r *Int, mem memory.Allocator) (*Int, error)

func IntMulRConst added in v0.175.0

func IntMulRConst(l *Int, r int64, mem memory.Allocator) (*Int, error)

func IntRepeat added in v0.125.0

func IntRepeat(v int64, isNull bool, n int, mem memory.Allocator) *Int

func IntSub added in v0.166.0

func IntSub(l, r *Int, mem memory.Allocator) (*Int, error)

func IntSubLConst added in v0.175.0

func IntSubLConst(l int64, r *Int, mem memory.Allocator) (*Int, error)

func IntSubRConst added in v0.175.0

func IntSubRConst(l *Int, r int64, mem memory.Allocator) (*Int, error)

func IntUnarySub added in v0.181.0

func IntUnarySub(v *Int, mem memory.Allocator) (*Int, error)

type IntBuilder

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

func NewIntBuilder added in v0.125.0

func NewIntBuilder(mem memory.Allocator) *IntBuilder

func (*IntBuilder) Append

func (b *IntBuilder) Append(v int64)

func (*IntBuilder) AppendNull added in v0.125.0

func (b *IntBuilder) AppendNull()

func (*IntBuilder) AppendValues

func (b *IntBuilder) AppendValues(v []int64, valid []bool)

func (*IntBuilder) Cap added in v0.125.0

func (b *IntBuilder) Cap() int

func (*IntBuilder) CopyValidValues added in v0.179.0

func (b *IntBuilder) CopyValidValues(values *Int, nullCheckArray Array)

func (*IntBuilder) Len added in v0.125.0

func (b *IntBuilder) Len() int

func (*IntBuilder) NewArray added in v0.125.0

func (b *IntBuilder) NewArray() Array

func (*IntBuilder) NewIntArray added in v0.125.0

func (b *IntBuilder) NewIntArray() *Int

func (*IntBuilder) NullN added in v0.125.0

func (b *IntBuilder) NullN() int

func (*IntBuilder) Release added in v0.125.0

func (b *IntBuilder) Release()

func (*IntBuilder) Reserve added in v0.125.0

func (b *IntBuilder) Reserve(n int)

func (*IntBuilder) Resize added in v0.125.0

func (b *IntBuilder) Resize(n int)

func (*IntBuilder) Retain added in v0.125.0

func (b *IntBuilder) Retain()

func (*IntBuilder) UnsafeAppend added in v0.125.0

func (b *IntBuilder) UnsafeAppend(v int64)

func (*IntBuilder) UnsafeAppendBoolToBitmap added in v0.125.0

func (b *IntBuilder) UnsafeAppendBoolToBitmap(isValid bool)

type String

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

func NewStringFromBinaryArray added in v0.150.0

func NewStringFromBinaryArray(data *array.Binary) *String

NewStringFromBinaryArray creates an instance of String from an Arrow Binary array.

Note: Generally client code should be using the types for arrays defined in Flux. This method allows string data created outside of Flux (such as from Arrow Flight) to be used in Flux.

func StringAdd added in v0.165.0

func StringAdd(l, r *String, mem memory.Allocator) (*String, error)

func StringAddLConst added in v0.175.0

func StringAddLConst(l string, r *String, mem memory.Allocator) (*String, error)

func StringAddRConst added in v0.175.0

func StringAddRConst(l *String, r string, mem memory.Allocator) (*String, error)

func StringConditional added in v0.177.0

func StringConditional(t *Boolean, c, a *String, mem memory.Allocator) (*String, error)

func StringConditionalAConst added in v0.177.0

func StringConditionalAConst(t *Boolean, c *String, a *string, mem memory.Allocator) (*String, error)

func StringConditionalCConst added in v0.177.0

func StringConditionalCConst(t *Boolean, c *string, a *String, mem memory.Allocator) (*String, error)

func StringConditionalCConstAConst added in v0.177.0

func StringConditionalCConstAConst(t *Boolean, c, a *string, mem memory.Allocator) (*String, error)

func StringRepeat added in v0.125.0

func StringRepeat(v string, n int, mem memory.Allocator) *String

func (*String) DataType added in v0.125.0

func (a *String) DataType() DataType

func (*String) IsConstant added in v0.154.0

func (a *String) IsConstant() bool

func (*String) Slice added in v0.125.0

func (a *String) Slice(i, j int) Array

func (*String) Value

func (a *String) Value(i int) string

Value returns a string view of the bytes in the array. The string is only valid for the lifetime of the array. Care should be taken not to store this string without also retaining the array.

type StringBuilder

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

func NewStringBuilder added in v0.125.0

func NewStringBuilder(mem memory.Allocator) *StringBuilder

func (*StringBuilder) Append

func (b *StringBuilder) Append(v string)

Append appends a string to the array being built. A reference to the input string will not be retained by the builder. The string will be copied, if necessary.

func (*StringBuilder) AppendBytes added in v0.193.0

func (b *StringBuilder) AppendBytes(buf []byte)

func (*StringBuilder) AppendNull added in v0.125.0

func (b *StringBuilder) AppendNull()

func (*StringBuilder) AppendValues

func (b *StringBuilder) AppendValues(v []string, valid []bool)

func (*StringBuilder) Cap added in v0.125.0

func (b *StringBuilder) Cap() int

func (*StringBuilder) CopyValidValues added in v0.179.0

func (b *StringBuilder) CopyValidValues(values *String, nullCheckArray Array)

func (*StringBuilder) Len added in v0.125.0

func (b *StringBuilder) Len() int

func (*StringBuilder) NewArray added in v0.125.0

func (b *StringBuilder) NewArray() Array

func (*StringBuilder) NewStringArray added in v0.125.0

func (b *StringBuilder) NewStringArray() *String

func (*StringBuilder) NullN added in v0.125.0

func (b *StringBuilder) NullN() int

func (*StringBuilder) Release added in v0.125.0

func (b *StringBuilder) Release()

func (*StringBuilder) Reserve added in v0.125.0

func (b *StringBuilder) Reserve(n int)

func (*StringBuilder) ReserveData added in v0.125.0

func (b *StringBuilder) ReserveData(n int)

func (*StringBuilder) Resize added in v0.125.0

func (b *StringBuilder) Resize(n int)

func (*StringBuilder) Retain added in v0.125.0

func (b *StringBuilder) Retain()

type Uint added in v0.125.0

type Uint = array.Uint64

func UintAdd added in v0.165.0

func UintAdd(l, r *Uint, mem memory.Allocator) (*Uint, error)

func UintAddLConst added in v0.175.0

func UintAddLConst(l uint64, r *Uint, mem memory.Allocator) (*Uint, error)

func UintAddRConst added in v0.175.0

func UintAddRConst(l *Uint, r uint64, mem memory.Allocator) (*Uint, error)

func UintConditional added in v0.177.0

func UintConditional(t *Boolean, c, a *Uint, mem memory.Allocator) (*Uint, error)

func UintConditionalAConst added in v0.177.0

func UintConditionalAConst(t *Boolean, c *Uint, a *uint64, mem memory.Allocator) (*Uint, error)

func UintConditionalCConst added in v0.177.0

func UintConditionalCConst(t *Boolean, c *uint64, a *Uint, mem memory.Allocator) (*Uint, error)

func UintConditionalCConstAConst added in v0.177.0

func UintConditionalCConstAConst(t *Boolean, c, a *uint64, mem memory.Allocator) (*Uint, error)

func UintDiv added in v0.166.0

func UintDiv(l, r *Uint, mem memory.Allocator) (*Uint, error)

func UintDivLConst added in v0.175.0

func UintDivLConst(l uint64, r *Uint, mem memory.Allocator) (*Uint, error)

func UintDivRConst added in v0.175.0

func UintDivRConst(l *Uint, r uint64, mem memory.Allocator) (*Uint, error)

func UintMod added in v0.166.0

func UintMod(l, r *Uint, mem memory.Allocator) (*Uint, error)

func UintModLConst added in v0.175.0

func UintModLConst(l uint64, r *Uint, mem memory.Allocator) (*Uint, error)

func UintModRConst added in v0.175.0

func UintModRConst(l *Uint, r uint64, mem memory.Allocator) (*Uint, error)

func UintMul added in v0.166.0

func UintMul(l, r *Uint, mem memory.Allocator) (*Uint, error)

func UintMulLConst added in v0.175.0

func UintMulLConst(l uint64, r *Uint, mem memory.Allocator) (*Uint, error)

func UintMulRConst added in v0.175.0

func UintMulRConst(l *Uint, r uint64, mem memory.Allocator) (*Uint, error)

func UintRepeat added in v0.125.0

func UintRepeat(v uint64, isNull bool, n int, mem memory.Allocator) *Uint

func UintSub added in v0.166.0

func UintSub(l, r *Uint, mem memory.Allocator) (*Uint, error)

func UintSubLConst added in v0.175.0

func UintSubLConst(l uint64, r *Uint, mem memory.Allocator) (*Uint, error)

func UintSubRConst added in v0.175.0

func UintSubRConst(l *Uint, r uint64, mem memory.Allocator) (*Uint, error)

type UintBuilder added in v0.125.0

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

func NewUintBuilder added in v0.125.0

func NewUintBuilder(mem memory.Allocator) *UintBuilder

func (*UintBuilder) Append added in v0.125.0

func (b *UintBuilder) Append(v uint64)

func (*UintBuilder) AppendNull added in v0.125.0

func (b *UintBuilder) AppendNull()

func (*UintBuilder) AppendValues added in v0.125.0

func (b *UintBuilder) AppendValues(v []uint64, valid []bool)

func (*UintBuilder) Cap added in v0.125.0

func (b *UintBuilder) Cap() int

func (*UintBuilder) CopyValidValues added in v0.179.0

func (b *UintBuilder) CopyValidValues(values *Uint, nullCheckArray Array)

func (*UintBuilder) Len added in v0.125.0

func (b *UintBuilder) Len() int

func (*UintBuilder) NewArray added in v0.125.0

func (b *UintBuilder) NewArray() Array

func (*UintBuilder) NewUintArray added in v0.125.0

func (b *UintBuilder) NewUintArray() *Uint

func (*UintBuilder) NullN added in v0.125.0

func (b *UintBuilder) NullN() int

func (*UintBuilder) Release added in v0.125.0

func (b *UintBuilder) Release()

func (*UintBuilder) Reserve added in v0.125.0

func (b *UintBuilder) Reserve(n int)

func (*UintBuilder) Resize added in v0.125.0

func (b *UintBuilder) Resize(n int)

func (*UintBuilder) Retain added in v0.125.0

func (b *UintBuilder) Retain()

func (*UintBuilder) UnsafeAppend added in v0.125.0

func (b *UintBuilder) UnsafeAppend(v uint64)

func (*UintBuilder) UnsafeAppendBoolToBitmap added in v0.125.0

func (b *UintBuilder) UnsafeAppendBoolToBitmap(isValid bool)

Jump to

Keyboard shortcuts

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