Documentation ¶
Index ¶
- type Float64Array
- func (b *Float64Array) Append(v float64)
- func (b *Float64Array) AppendValues(v []float64)
- func (b *Float64Array) Cap() int
- func (b *Float64Array) Len() int
- func (b *Float64Array) NewArray() array.Interface
- func (b *Float64Array) NewFloat64Array() *array.Float64
- func (b *Float64Array) Release()
- func (b *Float64Array) Reserve(n int)
- func (b *Float64Array) Resize(n int)
- func (b *Float64Array) Retain()
- func (b *Float64Array) Set(i int, v float64)
- func (b *Float64Array) Value(i int) float64
- type Int64Array
- func (b *Int64Array) Append(v int64)
- func (b *Int64Array) AppendValues(v []int64)
- func (b *Int64Array) Cap() int
- func (b *Int64Array) Int64Values() []int64
- func (b *Int64Array) Len() int
- func (b *Int64Array) NewArray() array.Interface
- func (b *Int64Array) NewInt64Array() *array.Int64
- func (b *Int64Array) Release()
- func (b *Int64Array) Reserve(n int)
- func (b *Int64Array) Resize(n int)
- func (b *Int64Array) Retain()
- func (b *Int64Array) Set(i int, v int64)
- func (b *Int64Array) Value(i int) int64
- type Uint64Array
- func (b *Uint64Array) Append(v uint64)
- func (b *Uint64Array) AppendValues(v []uint64)
- func (b *Uint64Array) Cap() int
- func (b *Uint64Array) Len() int
- func (b *Uint64Array) NewArray() array.Interface
- func (b *Uint64Array) NewUint64Array() *array.Uint64
- func (b *Uint64Array) Release()
- func (b *Uint64Array) Reserve(n int)
- func (b *Uint64Array) Resize(n int)
- func (b *Uint64Array) Retain()
- func (b *Uint64Array) Set(i int, v uint64)
- func (b *Uint64Array) Value(i int) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float64Array ¶
type Float64Array struct {
// contains filtered or unexported fields
}
Float64Array is an array of float64 values.
func NewFloat64Array ¶
func NewFloat64Array(mem memory.Allocator) *Float64Array
NewFloat64Array constructs a new Float64Array.
func (*Float64Array) Append ¶
func (b *Float64Array) Append(v float64)
Append will append a value to the array. This will increase the length by 1 and may trigger a reallocation if the length would go over the current capacity.
func (*Float64Array) AppendValues ¶
func (b *Float64Array) AppendValues(v []float64)
AppendValues will append the given values to the array. This will increase the length for the new values and may trigger a reallocation if the length would go over the current capacity.
func (*Float64Array) NewArray ¶
func (b *Float64Array) NewArray() array.Interface
NewArray returns a new array from the data using NewFloat64Array.
func (*Float64Array) NewFloat64Array ¶
func (b *Float64Array) NewFloat64Array() *array.Float64
NewFloat64Array will construct a new arrow array from the buffered data.
This will reset the current array.
func (*Float64Array) Release ¶
func (b *Float64Array) Release()
Release will release any reference to data buffers.
func (*Float64Array) Reserve ¶
func (b *Float64Array) Reserve(n int)
Reserve will reserve additional capacity in the array for the number of elements to be appended.
This does not change the length of the array, but only the capacity.
func (*Float64Array) Resize ¶
func (b *Float64Array) Resize(n int)
Resize will resize the array to the given size. It will potentially shrink the array if the requested size is less than the current size.
This will change the length of the array.
func (*Float64Array) Retain ¶
func (b *Float64Array) Retain()
Retain will retain a reference to the builder.
func (*Float64Array) Set ¶
func (b *Float64Array) Set(i int, v float64)
Set will set the value at index i.
func (*Float64Array) Value ¶
func (b *Float64Array) Value(i int) float64
Value will return the value at index i.
type Int64Array ¶
type Int64Array struct {
// contains filtered or unexported fields
}
Int64Array is an array of int64 values.
func NewInt64Array ¶
func NewInt64Array(mem memory.Allocator) *Int64Array
NewInt64Array constructs a new Int64Array.
func (*Int64Array) Append ¶
func (b *Int64Array) Append(v int64)
Append will append a value to the array. This will increase the length by 1 and may trigger a reallocation if the length would go over the current capacity.
func (*Int64Array) AppendValues ¶
func (b *Int64Array) AppendValues(v []int64)
AppendValues will append the given values to the array. This will increase the length for the new values and may trigger a reallocation if the length would go over the current capacity.
func (*Int64Array) Int64Values ¶ added in v0.117.1
func (b *Int64Array) Int64Values() []int64
Int64Values returns the underlying int64 slice.
func (*Int64Array) NewArray ¶
func (b *Int64Array) NewArray() array.Interface
NewArray returns a new array from the data using NewInt64Array.
func (*Int64Array) NewInt64Array ¶
func (b *Int64Array) NewInt64Array() *array.Int64
NewInt64Array will construct a new arrow array from the buffered data.
This will reset the current array.
func (*Int64Array) Release ¶
func (b *Int64Array) Release()
Release will release any reference to data buffers.
func (*Int64Array) Reserve ¶
func (b *Int64Array) Reserve(n int)
Reserve will reserve additional capacity in the array for the number of elements to be appended.
This does not change the length of the array, but only the capacity.
func (*Int64Array) Resize ¶
func (b *Int64Array) Resize(n int)
Resize will resize the array to the given size. It will potentially shrink the array if the requested size is less than the current size.
This will change the length of the array.
func (*Int64Array) Retain ¶
func (b *Int64Array) Retain()
Retain will retain a reference to the builder.
func (*Int64Array) Set ¶
func (b *Int64Array) Set(i int, v int64)
Set will set the value at index i.
func (*Int64Array) Value ¶
func (b *Int64Array) Value(i int) int64
Value will return the value at index i.
type Uint64Array ¶
type Uint64Array struct {
// contains filtered or unexported fields
}
Uint64Array is an array of uint64 values.
func NewUint64Array ¶
func NewUint64Array(mem memory.Allocator) *Uint64Array
NewUint64Array constructs a new Uint64Array.
func (*Uint64Array) Append ¶
func (b *Uint64Array) Append(v uint64)
Append will append a value to the array. This will increase the length by 1 and may trigger a reallocation if the length would go over the current capacity.
func (*Uint64Array) AppendValues ¶
func (b *Uint64Array) AppendValues(v []uint64)
AppendValues will append the given values to the array. This will increase the length for the new values and may trigger a reallocation if the length would go over the current capacity.
func (*Uint64Array) NewArray ¶
func (b *Uint64Array) NewArray() array.Interface
NewArray returns a new array from the data using NewUint64Array.
func (*Uint64Array) NewUint64Array ¶
func (b *Uint64Array) NewUint64Array() *array.Uint64
NewUint64Array will construct a new arrow array from the buffered data.
This will reset the current array.
func (*Uint64Array) Release ¶
func (b *Uint64Array) Release()
Release will release any reference to data buffers.
func (*Uint64Array) Reserve ¶
func (b *Uint64Array) Reserve(n int)
Reserve will reserve additional capacity in the array for the number of elements to be appended.
This does not change the length of the array, but only the capacity.
func (*Uint64Array) Resize ¶
func (b *Uint64Array) Resize(n int)
Resize will resize the array to the given size. It will potentially shrink the array if the requested size is less than the current size.
This will change the length of the array.
func (*Uint64Array) Retain ¶
func (b *Uint64Array) Retain()
Retain will retain a reference to the builder.
func (*Uint64Array) Set ¶
func (b *Uint64Array) Set(i int, v uint64)
Set will set the value at index i.
func (*Uint64Array) Value ¶
func (b *Uint64Array) Value(i int) uint64
Value will return the value at index i.