Documentation
¶
Overview ¶
Package array provides implementations of various Arrow array types.
Index ¶
- Constants
- func ApproxEqual(left, right arrow.Array, opts ...EqualOption) bool
- func ArrayApproxEqual(left, right arrow.Array, opts ...EqualOption) booldeprecated
- func ArrayEqual(left, right arrow.Array) booldeprecated
- func ArraySliceApproxEqual(left arrow.Array, lbeg, lend int64, right arrow.Array, rbeg, rend int64, ...) booldeprecated
- func ArraySliceEqual(left arrow.Array, lbeg, lend int64, right arrow.Array, rbeg, rend int64) booldeprecated
- func ChunkedApproxEqual(left, right *arrow.Chunked, opts ...EqualOption) bool
- func ChunkedEqual(left, right *arrow.Chunked) bool
- func ChunkedFromJSON(mem memory.Allocator, dt arrow.DataType, chunkStrs []string, ...) (*arrow.Chunked, error)
- func Concatenate(arrs []arrow.Array, mem memory.Allocator) (result arrow.Array, err error)
- func DictArrayFromJSON(mem memory.Allocator, dt *arrow.DictionaryType, indicesJSON, dictJSON string) (arrow.Array, error)
- func Equal(left, right arrow.Array) bool
- func FromJSON(mem memory.Allocator, dt arrow.DataType, r io.Reader, opts ...FromJSONOption) (arr arrow.Array, offset int64, err error)
- func Hash(h *maphash.Hash, data arrow.ArrayData)
- func IsTrivialTransposition(transposeMap []int32) bool
- func MakeArrayOfNull(mem memory.Allocator, dt arrow.DataType, length int) arrow.Array
- func MakeFromData(data arrow.ArrayData) arrow.Array
- func NewChunkedSlice(a *arrow.Chunked, i, j int64) *arrow.Chunked
- func NewColumnSlice(col *arrow.Column, i, j int64) *arrow.Column
- func NewExtensionArrayWithStorage(dt arrow.ExtensionType, storage arrow.Array) arrow.Array
- func NewIntervalData(data arrow.ArrayData) arrow.Array
- func NewRecord(schema *arrow.Schema, cols []arrow.Array, nrows int64) *simpleRecord
- func NewRecordReader(schema *arrow.Schema, recs []arrow.Record) (*simpleRecords, error)
- func NewSlice(arr arrow.Array, i, j int64) arrow.Array
- func NewSliceData(data arrow.ArrayData, i, j int64) arrow.ArrayData
- func NewTable(schema *arrow.Schema, cols []arrow.Column, rows int64) *simpleTable
- func NewTableFromRecords(schema *arrow.Schema, recs []arrow.Record) *simpleTable
- func RecordApproxEqual(left, right arrow.Record, opts ...EqualOption) bool
- func RecordEqual(left, right arrow.Record) bool
- func RecordFromJSON(mem memory.Allocator, schema *arrow.Schema, r io.Reader, ...) (arrow.Record, int64, error)
- func RecordFromStructArray(in *Struct, schema *arrow.Schema) arrow.Record
- func RecordToJSON(rec arrow.Record, w io.Writer) error
- func SliceApproxEqual(left arrow.Array, lbeg, lend int64, right arrow.Array, rbeg, rend int64, ...) bool
- func SliceEqual(left arrow.Array, lbeg, lend int64, right arrow.Array, rbeg, rend int64) bool
- func TableApproxEqual(left, right arrow.Table, opts ...EqualOption) bool
- func TableEqual(left, right arrow.Table) bool
- func TableFromJSON(mem memory.Allocator, sc *arrow.Schema, recJSON []string, ...) (arrow.Table, error)
- func TransposeDictIndices(mem memory.Allocator, data arrow.ArrayData, inType, outType arrow.DataType, ...) (arrow.ArrayData, error)
- func UnifyChunkedDicts(alloc memory.Allocator, chnkd *arrow.Chunked) (*arrow.Chunked, error)
- func UnifyTableDicts(alloc memory.Allocator, table arrow.Table) (arrow.Table, error)
- type Binary
- func (a *Binary) Data() arrow.ArrayData
- func (a *Binary) DataType() arrow.DataType
- func (a *Binary) IsNull(i int) bool
- func (a *Binary) IsValid(i int) bool
- func (a *Binary) Len() int
- func (a *Binary) MarshalJSON() ([]byte, error)
- func (a *Binary) NullBitmapBytes() []byte
- func (a *Binary) NullN() int
- func (a *Binary) Offset() int
- func (a *Binary) Release()
- func (a *Binary) Retain()
- func (a *Binary) String() string
- func (a *Binary) Value(i int) []byte
- func (a *Binary) ValueBytes() []byte
- func (a *Binary) ValueLen(i int) int
- func (a *Binary) ValueOffset(i int) int
- func (a *Binary) ValueOffset64(i int) int64
- func (a *Binary) ValueOffsets() []int32
- func (a *Binary) ValueString(i int) string
- type BinaryBuilder
- func (b *BinaryBuilder) Append(v []byte)
- func (b *BinaryBuilder) AppendEmptyValue()
- func (b *BinaryBuilder) AppendNull()
- func (b *BinaryBuilder) AppendString(v string)
- func (b *BinaryBuilder) AppendStringValues(v []string, valid []bool)
- func (b *BinaryBuilder) AppendValues(v [][]byte, valid []bool)
- func (b *BinaryBuilder) Cap() int
- func (b *BinaryBuilder) DataCap() int
- func (b *BinaryBuilder) DataLen() int
- func (b *BinaryBuilder) Len() int
- func (b *BinaryBuilder) NewArray() arrow.Array
- func (b *BinaryBuilder) NewBinaryArray() (a *Binary)
- func (b *BinaryBuilder) NewLargeBinaryArray() (a *LargeBinary)
- func (b *BinaryBuilder) NullN() int
- func (b *BinaryBuilder) Release()
- func (b *BinaryBuilder) Reserve(n int)
- func (b *BinaryBuilder) ReserveData(n int)
- func (b *BinaryBuilder) Resize(n int)
- func (b *BinaryBuilder) ResizeData(n int)
- func (b *BinaryBuilder) Retain()
- func (b *BinaryBuilder) Type() arrow.DataType
- func (b *BinaryBuilder) UnmarshalJSON(data []byte) error
- func (b *BinaryBuilder) UnsafeAppend(v []byte)
- func (b *BinaryBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- func (b *BinaryBuilder) Value(i int) []byte
- type BinaryDictionaryBuilder
- func (b *BinaryDictionaryBuilder) Append(v []byte) error
- func (b *BinaryDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *BinaryDictionaryBuilder) AppendEmptyValue()
- func (b *BinaryDictionaryBuilder) AppendNull()
- func (b *BinaryDictionaryBuilder) AppendString(v string) error
- func (b *BinaryDictionaryBuilder) Cap() int
- func (b *BinaryDictionaryBuilder) InsertDictValues(arr *Binary) (err error)
- func (b *BinaryDictionaryBuilder) InsertStringDictValues(arr *String) (err error)
- func (b *BinaryDictionaryBuilder) NewArray() arrow.Array
- func (b *BinaryDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *BinaryDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *BinaryDictionaryBuilder) Release()
- func (b *BinaryDictionaryBuilder) Reserve(n int)
- func (b *BinaryDictionaryBuilder) ResetFull()
- func (b *BinaryDictionaryBuilder) Resize(n int)
- func (b *BinaryDictionaryBuilder) Type() arrow.DataType
- func (b *BinaryDictionaryBuilder) UnmarshalJSON(data []byte) error
- type BinaryLike
- type Boolean
- func (a *Boolean) Data() arrow.ArrayData
- func (a *Boolean) DataType() arrow.DataType
- func (a *Boolean) IsNull(i int) bool
- func (a *Boolean) IsValid(i int) bool
- func (a *Boolean) Len() int
- func (a *Boolean) MarshalJSON() ([]byte, error)
- func (a *Boolean) NullBitmapBytes() []byte
- func (a *Boolean) NullN() int
- func (a *Boolean) Offset() int
- func (a *Boolean) Release()
- func (a *Boolean) Retain()
- func (a *Boolean) String() string
- func (a *Boolean) Value(i int) bool
- type BooleanBuilder
- func (b *BooleanBuilder) Append(v bool)
- func (b *BooleanBuilder) AppendByte(v byte)
- func (b *BooleanBuilder) AppendEmptyValue()
- func (b *BooleanBuilder) AppendNull()
- func (b *BooleanBuilder) AppendValues(v []bool, valid []bool)
- func (b *BooleanBuilder) Cap() int
- func (b *BooleanBuilder) Len() int
- func (b *BooleanBuilder) NewArray() arrow.Array
- func (b *BooleanBuilder) NewBooleanArray() (a *Boolean)
- func (b *BooleanBuilder) NullN() int
- func (b *BooleanBuilder) Release()
- func (b *BooleanBuilder) Reserve(n int)
- func (b *BooleanBuilder) Resize(n int)
- func (b *BooleanBuilder) Retain()
- func (b *BooleanBuilder) Type() arrow.DataType
- func (b *BooleanBuilder) UnmarshalJSON(data []byte) error
- func (b *BooleanBuilder) UnsafeAppend(v bool)
- func (b *BooleanBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type Builder
- type Data
- func (d *Data) Buffers() []*memory.Buffer
- func (d *Data) Children() []arrow.ArrayData
- func (d *Data) Copy() *Data
- func (d *Data) DataType() arrow.DataType
- func (d *Data) Dictionary() arrow.ArrayData
- func (d *Data) Len() int
- func (d *Data) NullN() int
- func (d *Data) Offset() int
- func (d *Data) Release()
- func (d *Data) Reset(dtype arrow.DataType, length int, buffers []*memory.Buffer, ...)
- func (d *Data) Retain()
- func (d *Data) SetDictionary(dict arrow.ArrayData)
- func (d *Data) SetNullN(n int)
- type Date32
- func (a *Date32) Data() arrow.ArrayData
- func (a *Date32) DataType() arrow.DataType
- func (a *Date32) Date32Values() []arrow.Date32
- func (a *Date32) IsNull(i int) bool
- func (a *Date32) IsValid(i int) bool
- func (a *Date32) Len() int
- func (a *Date32) MarshalJSON() ([]byte, error)
- func (a *Date32) NullBitmapBytes() []byte
- func (a *Date32) NullN() int
- func (a *Date32) Offset() int
- func (a *Date32) Release()
- func (a *Date32) Reset(data *Data)
- func (a *Date32) Retain()
- func (a *Date32) String() string
- func (a *Date32) Value(i int) arrow.Date32
- type Date32Builder
- func (b *Date32Builder) Append(v arrow.Date32)
- func (b *Date32Builder) AppendEmptyValue()
- func (b *Date32Builder) AppendNull()
- func (b *Date32Builder) AppendValues(v []arrow.Date32, valid []bool)
- func (b *Date32Builder) Cap() int
- func (b *Date32Builder) Len() int
- func (b *Date32Builder) NewArray() arrow.Array
- func (b *Date32Builder) NewDate32Array() (a *Date32)
- func (b *Date32Builder) NullN() int
- func (b *Date32Builder) Release()
- func (b *Date32Builder) Reserve(n int)
- func (b *Date32Builder) Resize(n int)
- func (b *Date32Builder) Retain()
- func (b *Date32Builder) Type() arrow.DataType
- func (b *Date32Builder) UnmarshalJSON(data []byte) error
- func (b *Date32Builder) UnsafeAppend(v arrow.Date32)
- func (b *Date32Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Date32DictionaryBuilder
- func (b *Date32DictionaryBuilder) Append(v arrow.Date32) error
- func (b *Date32DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Date32DictionaryBuilder) AppendEmptyValue()
- func (b *Date32DictionaryBuilder) AppendNull()
- func (b *Date32DictionaryBuilder) Cap() int
- func (b *Date32DictionaryBuilder) InsertDictValues(arr *Date32) (err error)
- func (b *Date32DictionaryBuilder) NewArray() arrow.Array
- func (b *Date32DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Date32DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Date32DictionaryBuilder) Release()
- func (b *Date32DictionaryBuilder) Reserve(n int)
- func (b *Date32DictionaryBuilder) ResetFull()
- func (b *Date32DictionaryBuilder) Resize(n int)
- func (b *Date32DictionaryBuilder) Type() arrow.DataType
- func (b *Date32DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Date64
- func (a *Date64) Data() arrow.ArrayData
- func (a *Date64) DataType() arrow.DataType
- func (a *Date64) Date64Values() []arrow.Date64
- func (a *Date64) IsNull(i int) bool
- func (a *Date64) IsValid(i int) bool
- func (a *Date64) Len() int
- func (a *Date64) MarshalJSON() ([]byte, error)
- func (a *Date64) NullBitmapBytes() []byte
- func (a *Date64) NullN() int
- func (a *Date64) Offset() int
- func (a *Date64) Release()
- func (a *Date64) Reset(data *Data)
- func (a *Date64) Retain()
- func (a *Date64) String() string
- func (a *Date64) Value(i int) arrow.Date64
- type Date64Builder
- func (b *Date64Builder) Append(v arrow.Date64)
- func (b *Date64Builder) AppendEmptyValue()
- func (b *Date64Builder) AppendNull()
- func (b *Date64Builder) AppendValues(v []arrow.Date64, valid []bool)
- func (b *Date64Builder) Cap() int
- func (b *Date64Builder) Len() int
- func (b *Date64Builder) NewArray() arrow.Array
- func (b *Date64Builder) NewDate64Array() (a *Date64)
- func (b *Date64Builder) NullN() int
- func (b *Date64Builder) Release()
- func (b *Date64Builder) Reserve(n int)
- func (b *Date64Builder) Resize(n int)
- func (b *Date64Builder) Retain()
- func (b *Date64Builder) Type() arrow.DataType
- func (b *Date64Builder) UnmarshalJSON(data []byte) error
- func (b *Date64Builder) UnsafeAppend(v arrow.Date64)
- func (b *Date64Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Date64DictionaryBuilder
- func (b *Date64DictionaryBuilder) Append(v arrow.Date64) error
- func (b *Date64DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Date64DictionaryBuilder) AppendEmptyValue()
- func (b *Date64DictionaryBuilder) AppendNull()
- func (b *Date64DictionaryBuilder) Cap() int
- func (b *Date64DictionaryBuilder) InsertDictValues(arr *Date64) (err error)
- func (b *Date64DictionaryBuilder) NewArray() arrow.Array
- func (b *Date64DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Date64DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Date64DictionaryBuilder) Release()
- func (b *Date64DictionaryBuilder) Reserve(n int)
- func (b *Date64DictionaryBuilder) ResetFull()
- func (b *Date64DictionaryBuilder) Resize(n int)
- func (b *Date64DictionaryBuilder) Type() arrow.DataType
- func (b *Date64DictionaryBuilder) UnmarshalJSON(data []byte) error
- type DayTimeDictionaryBuilder
- func (b *DayTimeDictionaryBuilder) Append(v arrow.DayTimeInterval) error
- func (b *DayTimeDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *DayTimeDictionaryBuilder) AppendEmptyValue()
- func (b *DayTimeDictionaryBuilder) AppendNull()
- func (b *DayTimeDictionaryBuilder) Cap() int
- func (b *DayTimeDictionaryBuilder) InsertDictValues(arr *DayTimeInterval) (err error)
- func (b *DayTimeDictionaryBuilder) NewArray() arrow.Array
- func (b *DayTimeDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *DayTimeDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *DayTimeDictionaryBuilder) Release()
- func (b *DayTimeDictionaryBuilder) Reserve(n int)
- func (b *DayTimeDictionaryBuilder) ResetFull()
- func (b *DayTimeDictionaryBuilder) Resize(n int)
- func (b *DayTimeDictionaryBuilder) Type() arrow.DataType
- func (b *DayTimeDictionaryBuilder) UnmarshalJSON(data []byte) error
- type DayTimeInterval
- func (a *DayTimeInterval) Data() arrow.ArrayData
- func (a *DayTimeInterval) DataType() arrow.DataType
- func (a *DayTimeInterval) DayTimeIntervalValues() []arrow.DayTimeInterval
- func (a *DayTimeInterval) IsNull(i int) bool
- func (a *DayTimeInterval) IsValid(i int) bool
- func (a *DayTimeInterval) Len() int
- func (a *DayTimeInterval) MarshalJSON() ([]byte, error)
- func (a *DayTimeInterval) NullBitmapBytes() []byte
- func (a *DayTimeInterval) NullN() int
- func (a *DayTimeInterval) Offset() int
- func (a *DayTimeInterval) Release()
- func (a *DayTimeInterval) Retain()
- func (a *DayTimeInterval) String() string
- func (a *DayTimeInterval) Value(i int) arrow.DayTimeInterval
- type DayTimeIntervalBuilder
- func (b *DayTimeIntervalBuilder) Append(v arrow.DayTimeInterval)
- func (b *DayTimeIntervalBuilder) AppendEmptyValue()
- func (b *DayTimeIntervalBuilder) AppendNull()
- func (b *DayTimeIntervalBuilder) AppendValues(v []arrow.DayTimeInterval, valid []bool)
- func (b *DayTimeIntervalBuilder) Cap() int
- func (b *DayTimeIntervalBuilder) Len() int
- func (b *DayTimeIntervalBuilder) NewArray() arrow.Array
- func (b *DayTimeIntervalBuilder) NewDayTimeIntervalArray() (a *DayTimeInterval)
- func (b *DayTimeIntervalBuilder) NullN() int
- func (b *DayTimeIntervalBuilder) Release()
- func (b *DayTimeIntervalBuilder) Reserve(n int)
- func (b *DayTimeIntervalBuilder) Resize(n int)
- func (b *DayTimeIntervalBuilder) Retain()
- func (b *DayTimeIntervalBuilder) Type() arrow.DataType
- func (b *DayTimeIntervalBuilder) UnmarshalJSON(data []byte) error
- func (b *DayTimeIntervalBuilder) UnsafeAppend(v arrow.DayTimeInterval)
- func (b *DayTimeIntervalBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type Decimal128
- func (a *Decimal128) Data() arrow.ArrayData
- func (a *Decimal128) DataType() arrow.DataType
- func (a *Decimal128) IsNull(i int) bool
- func (a *Decimal128) IsValid(i int) bool
- func (a *Decimal128) Len() int
- func (a *Decimal128) MarshalJSON() ([]byte, error)
- func (a *Decimal128) NullBitmapBytes() []byte
- func (a *Decimal128) NullN() int
- func (a *Decimal128) Offset() int
- func (a *Decimal128) Release()
- func (a *Decimal128) Retain()
- func (a *Decimal128) String() string
- func (a *Decimal128) Value(i int) decimal128.Num
- func (a *Decimal128) Values() []decimal128.Num
- type Decimal128Builder
- func (b *Decimal128Builder) Append(v decimal128.Num)
- func (b *Decimal128Builder) AppendEmptyValue()
- func (b *Decimal128Builder) AppendNull()
- func (b *Decimal128Builder) AppendValues(v []decimal128.Num, valid []bool)
- func (b *Decimal128Builder) Cap() int
- func (b *Decimal128Builder) Len() int
- func (b *Decimal128Builder) NewArray() arrow.Array
- func (b *Decimal128Builder) NewDecimal128Array() (a *Decimal128)
- func (b *Decimal128Builder) NullN() int
- func (b *Decimal128Builder) Release()
- func (b *Decimal128Builder) Reserve(n int)
- func (b *Decimal128Builder) Resize(n int)
- func (b *Decimal128Builder) Retain()
- func (b *Decimal128Builder) Type() arrow.DataType
- func (b *Decimal128Builder) UnmarshalJSON(data []byte) error
- func (b *Decimal128Builder) UnsafeAppend(v decimal128.Num)
- func (b *Decimal128Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Decimal128DictionaryBuilder
- func (b *Decimal128DictionaryBuilder) Append(v decimal128.Num) error
- func (b *Decimal128DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Decimal128DictionaryBuilder) AppendEmptyValue()
- func (b *Decimal128DictionaryBuilder) AppendNull()
- func (b *Decimal128DictionaryBuilder) Cap() int
- func (b *Decimal128DictionaryBuilder) InsertDictValues(arr *Decimal128) (err error)
- func (b *Decimal128DictionaryBuilder) NewArray() arrow.Array
- func (b *Decimal128DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Decimal128DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Decimal128DictionaryBuilder) Release()
- func (b *Decimal128DictionaryBuilder) Reserve(n int)
- func (b *Decimal128DictionaryBuilder) ResetFull()
- func (b *Decimal128DictionaryBuilder) Resize(n int)
- func (b *Decimal128DictionaryBuilder) Type() arrow.DataType
- func (b *Decimal128DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Decimal256
- func (a *Decimal256) Data() arrow.ArrayData
- func (a *Decimal256) DataType() arrow.DataType
- func (a *Decimal256) IsNull(i int) bool
- func (a *Decimal256) IsValid(i int) bool
- func (a *Decimal256) Len() int
- func (a *Decimal256) MarshalJSON() ([]byte, error)
- func (a *Decimal256) NullBitmapBytes() []byte
- func (a *Decimal256) NullN() int
- func (a *Decimal256) Offset() int
- func (a *Decimal256) Release()
- func (a *Decimal256) Retain()
- func (a *Decimal256) String() string
- func (a *Decimal256) Value(i int) decimal256.Num
- func (a *Decimal256) Values() []decimal256.Num
- type Decimal256Builder
- func (b *Decimal256Builder) Append(v decimal256.Num)
- func (b *Decimal256Builder) AppendEmptyValue()
- func (b *Decimal256Builder) AppendNull()
- func (b *Decimal256Builder) AppendValues(v []decimal256.Num, valid []bool)
- func (b *Decimal256Builder) Cap() int
- func (b *Decimal256Builder) Len() int
- func (b *Decimal256Builder) NewArray() arrow.Array
- func (b *Decimal256Builder) NewDecimal256Array() (a *Decimal256)
- func (b *Decimal256Builder) NullN() int
- func (b *Decimal256Builder) Release()
- func (b *Decimal256Builder) Reserve(n int)
- func (b *Decimal256Builder) Resize(n int)
- func (b *Decimal256Builder) Retain()
- func (b *Decimal256Builder) Type() arrow.DataType
- func (b *Decimal256Builder) UnmarshalJSON(data []byte) error
- func (b *Decimal256Builder) UnsafeAppend(v decimal256.Num)
- func (b *Decimal256Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Decimal256DictionaryBuilder
- func (b *Decimal256DictionaryBuilder) Append(v decimal128.Num) error
- func (b *Decimal256DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Decimal256DictionaryBuilder) AppendEmptyValue()
- func (b *Decimal256DictionaryBuilder) AppendNull()
- func (b *Decimal256DictionaryBuilder) Cap() int
- func (b *Decimal256DictionaryBuilder) InsertDictValues(arr *Decimal256) (err error)
- func (b *Decimal256DictionaryBuilder) NewArray() arrow.Array
- func (b *Decimal256DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Decimal256DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Decimal256DictionaryBuilder) Release()
- func (b *Decimal256DictionaryBuilder) Reserve(n int)
- func (b *Decimal256DictionaryBuilder) ResetFull()
- func (b *Decimal256DictionaryBuilder) Resize(n int)
- func (b *Decimal256DictionaryBuilder) Type() arrow.DataType
- func (b *Decimal256DictionaryBuilder) UnmarshalJSON(data []byte) error
- type DenseUnion
- func NewDenseUnion(dt *arrow.DenseUnionType, length int, children []arrow.Array, ...) *DenseUnion
- func NewDenseUnionData(data arrow.ArrayData) *DenseUnion
- func NewDenseUnionFromArrays(typeIDs, offsets arrow.Array, children []arrow.Array, ...) (*DenseUnion, error)
- func NewDenseUnionFromArraysWithFieldCodes(typeIDs, offsets arrow.Array, children []arrow.Array, fields []string, ...) (*DenseUnion, error)
- func NewDenseUnionFromArraysWithFields(typeIDs, offsets arrow.Array, children []arrow.Array, fields []string) (*DenseUnion, error)
- func (a *DenseUnion) ChildID(i int) int
- func (a *DenseUnion) Field(pos int) (result arrow.Array)
- func (a *DenseUnion) MarshalJSON() ([]byte, error)
- func (a *DenseUnion) Mode() arrow.UnionMode
- func (a *DenseUnion) NumFields() int
- func (a *DenseUnion) RawTypeCodes() []arrow.UnionTypeCode
- func (a *DenseUnion) RawValueOffsets() []int32
- func (a *DenseUnion) Release()
- func (a *DenseUnion) Retain()
- func (a *DenseUnion) String() string
- func (a *DenseUnion) TypeCode(i int) arrow.UnionTypeCode
- func (a *DenseUnion) TypeCodes() *memory.Buffer
- func (a *DenseUnion) UnionType() arrow.UnionType
- func (a *DenseUnion) Validate() error
- func (a *DenseUnion) ValidateFull() error
- func (a *DenseUnion) ValueOffset(i int) int32
- func (a *DenseUnion) ValueOffsets() *memory.Buffer
- type DenseUnionBuilder
- func (b *DenseUnionBuilder) Append(nextType arrow.UnionTypeCode)
- func (b *DenseUnionBuilder) AppendChild(newChild Builder, fieldName string) arrow.UnionTypeCode
- func (b *DenseUnionBuilder) AppendEmptyValue()
- func (b *DenseUnionBuilder) AppendEmptyValues(n int)
- func (b *DenseUnionBuilder) AppendNull()
- func (b *DenseUnionBuilder) AppendNulls(n int)
- func (b *DenseUnionBuilder) Child(idx int) Builder
- func (b *DenseUnionBuilder) Len() int
- func (b *DenseUnionBuilder) Mode() arrow.UnionMode
- func (b *DenseUnionBuilder) NewArray() arrow.Array
- func (b *DenseUnionBuilder) NewDenseUnionArray() (a *DenseUnion)
- func (b *DenseUnionBuilder) NumChildren() int
- func (b *DenseUnionBuilder) Release()
- func (b *DenseUnionBuilder) Reserve(n int)
- func (b *DenseUnionBuilder) Resize(n int)
- func (b *DenseUnionBuilder) Type() arrow.DataType
- func (b *DenseUnionBuilder) UnmarshalJSON(data []byte) (err error)
- type Dictionary
- func (d *Dictionary) CanCompareIndices(other *Dictionary) bool
- func (a *Dictionary) Data() arrow.ArrayData
- func (a *Dictionary) DataType() arrow.DataType
- func (d *Dictionary) Dictionary() arrow.Array
- func (d *Dictionary) GetValueIndex(i int) int
- func (d *Dictionary) Indices() arrow.Array
- func (a *Dictionary) IsNull(i int) bool
- func (a *Dictionary) IsValid(i int) bool
- func (a *Dictionary) Len() int
- func (d *Dictionary) MarshalJSON() ([]byte, error)
- func (a *Dictionary) NullBitmapBytes() []byte
- func (a *Dictionary) NullN() int
- func (a *Dictionary) Offset() int
- func (d *Dictionary) Release()
- func (d *Dictionary) Retain()
- func (d *Dictionary) String() string
- type DictionaryBuilder
- type DictionaryUnifier
- type Duration
- func (a *Duration) Data() arrow.ArrayData
- func (a *Duration) DataType() arrow.DataType
- func (a *Duration) DurationValues() []arrow.Duration
- func (a *Duration) IsNull(i int) bool
- func (a *Duration) IsValid(i int) bool
- func (a *Duration) Len() int
- func (a *Duration) MarshalJSON() ([]byte, error)
- func (a *Duration) NullBitmapBytes() []byte
- func (a *Duration) NullN() int
- func (a *Duration) Offset() int
- func (a *Duration) Release()
- func (a *Duration) Reset(data *Data)
- func (a *Duration) Retain()
- func (a *Duration) String() string
- func (a *Duration) Value(i int) arrow.Duration
- type DurationBuilder
- func (b *DurationBuilder) Append(v arrow.Duration)
- func (b *DurationBuilder) AppendEmptyValue()
- func (b *DurationBuilder) AppendNull()
- func (b *DurationBuilder) AppendValues(v []arrow.Duration, valid []bool)
- func (b *DurationBuilder) Cap() int
- func (b *DurationBuilder) Len() int
- func (b *DurationBuilder) NewArray() arrow.Array
- func (b *DurationBuilder) NewDurationArray() (a *Duration)
- func (b *DurationBuilder) NullN() int
- func (b *DurationBuilder) Release()
- func (b *DurationBuilder) Reserve(n int)
- func (b *DurationBuilder) Resize(n int)
- func (b *DurationBuilder) Retain()
- func (b *DurationBuilder) Type() arrow.DataType
- func (b *DurationBuilder) UnmarshalJSON(data []byte) error
- func (b *DurationBuilder) UnsafeAppend(v arrow.Duration)
- func (b *DurationBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type DurationDictionaryBuilder
- func (b *DurationDictionaryBuilder) Append(v arrow.Duration) error
- func (b *DurationDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *DurationDictionaryBuilder) AppendEmptyValue()
- func (b *DurationDictionaryBuilder) AppendNull()
- func (b *DurationDictionaryBuilder) Cap() int
- func (b *DurationDictionaryBuilder) InsertDictValues(arr *Duration) (err error)
- func (b *DurationDictionaryBuilder) NewArray() arrow.Array
- func (b *DurationDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *DurationDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *DurationDictionaryBuilder) Release()
- func (b *DurationDictionaryBuilder) Reserve(n int)
- func (b *DurationDictionaryBuilder) ResetFull()
- func (b *DurationDictionaryBuilder) Resize(n int)
- func (b *DurationDictionaryBuilder) Type() arrow.DataType
- func (b *DurationDictionaryBuilder) UnmarshalJSON(data []byte) error
- type EqualOption
- type ExtensionArray
- type ExtensionArrayBase
- func (a *ExtensionArrayBase) Data() arrow.ArrayData
- func (a *ExtensionArrayBase) DataType() arrow.DataType
- func (e *ExtensionArrayBase) ExtensionType() arrow.ExtensionType
- func (a *ExtensionArrayBase) IsNull(i int) bool
- func (a *ExtensionArrayBase) IsValid(i int) bool
- func (a *ExtensionArrayBase) Len() int
- func (e *ExtensionArrayBase) MarshalJSON() ([]byte, error)
- func (a *ExtensionArrayBase) NullBitmapBytes() []byte
- func (a *ExtensionArrayBase) NullN() int
- func (a *ExtensionArrayBase) Offset() int
- func (e *ExtensionArrayBase) Release()
- func (e *ExtensionArrayBase) Retain()
- func (e *ExtensionArrayBase) Storage() arrow.Array
- func (e *ExtensionArrayBase) String() string
- type ExtensionBuilder
- type FixedSizeBinary
- func (a *FixedSizeBinary) Data() arrow.ArrayData
- func (a *FixedSizeBinary) DataType() arrow.DataType
- func (a *FixedSizeBinary) IsNull(i int) bool
- func (a *FixedSizeBinary) IsValid(i int) bool
- func (a *FixedSizeBinary) Len() int
- func (a *FixedSizeBinary) MarshalJSON() ([]byte, error)
- func (a *FixedSizeBinary) NullBitmapBytes() []byte
- func (a *FixedSizeBinary) NullN() int
- func (a *FixedSizeBinary) Offset() int
- func (a *FixedSizeBinary) Release()
- func (a *FixedSizeBinary) Retain()
- func (a *FixedSizeBinary) String() string
- func (a *FixedSizeBinary) Value(i int) []byte
- type FixedSizeBinaryBuilder
- func (b *FixedSizeBinaryBuilder) Append(v []byte)
- func (b *FixedSizeBinaryBuilder) AppendEmptyValue()
- func (b *FixedSizeBinaryBuilder) AppendNull()
- func (b *FixedSizeBinaryBuilder) AppendValues(v [][]byte, valid []bool)
- func (b *FixedSizeBinaryBuilder) Cap() int
- func (b *FixedSizeBinaryBuilder) Len() int
- func (b *FixedSizeBinaryBuilder) NewArray() arrow.Array
- func (b *FixedSizeBinaryBuilder) NewFixedSizeBinaryArray() (a *FixedSizeBinary)
- func (b *FixedSizeBinaryBuilder) NullN() int
- func (b *FixedSizeBinaryBuilder) Release()
- func (b *FixedSizeBinaryBuilder) Reserve(n int)
- func (b *FixedSizeBinaryBuilder) Resize(n int)
- func (b *FixedSizeBinaryBuilder) Retain()
- func (b *FixedSizeBinaryBuilder) Type() arrow.DataType
- func (b *FixedSizeBinaryBuilder) UnmarshalJSON(data []byte) error
- func (b *FixedSizeBinaryBuilder) UnsafeAppend(v []byte)
- func (b *FixedSizeBinaryBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type FixedSizeBinaryDictionaryBuilder
- func (b *FixedSizeBinaryDictionaryBuilder) Append(v []byte) error
- func (b *FixedSizeBinaryDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *FixedSizeBinaryDictionaryBuilder) AppendEmptyValue()
- func (b *FixedSizeBinaryDictionaryBuilder) AppendNull()
- func (b *FixedSizeBinaryDictionaryBuilder) Cap() int
- func (b *FixedSizeBinaryDictionaryBuilder) InsertDictValues(arr *FixedSizeBinary) (err error)
- func (b *FixedSizeBinaryDictionaryBuilder) NewArray() arrow.Array
- func (b *FixedSizeBinaryDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *FixedSizeBinaryDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *FixedSizeBinaryDictionaryBuilder) Release()
- func (b *FixedSizeBinaryDictionaryBuilder) Reserve(n int)
- func (b *FixedSizeBinaryDictionaryBuilder) ResetFull()
- func (b *FixedSizeBinaryDictionaryBuilder) Resize(n int)
- func (b *FixedSizeBinaryDictionaryBuilder) Type() arrow.DataType
- func (b *FixedSizeBinaryDictionaryBuilder) UnmarshalJSON(data []byte) error
- type FixedSizeList
- func (a *FixedSizeList) Data() arrow.ArrayData
- func (a *FixedSizeList) DataType() arrow.DataType
- func (a *FixedSizeList) IsNull(i int) bool
- func (a *FixedSizeList) IsValid(i int) bool
- func (a *FixedSizeList) Len() int
- func (a *FixedSizeList) ListValues() arrow.Array
- func (a *FixedSizeList) MarshalJSON() ([]byte, error)
- func (a *FixedSizeList) NullBitmapBytes() []byte
- func (a *FixedSizeList) NullN() int
- func (a *FixedSizeList) Offset() int
- func (a *FixedSizeList) Release()
- func (a *FixedSizeList) Retain()
- func (a *FixedSizeList) String() string
- type FixedSizeListBuilder
- func (b *FixedSizeListBuilder) Append(v bool)
- func (b *FixedSizeListBuilder) AppendEmptyValue()
- func (b *FixedSizeListBuilder) AppendNull()
- func (b *FixedSizeListBuilder) AppendValues(valid []bool)
- func (b *FixedSizeListBuilder) Cap() int
- func (b *FixedSizeListBuilder) Len() int
- func (b *FixedSizeListBuilder) NewArray() arrow.Array
- func (b *FixedSizeListBuilder) NewListArray() (a *FixedSizeList)
- func (b *FixedSizeListBuilder) NullN() int
- func (b *FixedSizeListBuilder) Release()
- func (b *FixedSizeListBuilder) Reserve(n int)
- func (b *FixedSizeListBuilder) Resize(n int)
- func (b *FixedSizeListBuilder) Retain()
- func (b *FixedSizeListBuilder) Type() arrow.DataType
- func (b *FixedSizeListBuilder) UnmarshalJSON(data []byte) error
- func (b *FixedSizeListBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- func (b *FixedSizeListBuilder) ValueBuilder() Builder
- type Float16
- func (a *Float16) Data() arrow.ArrayData
- func (a *Float16) DataType() arrow.DataType
- func (a *Float16) IsNull(i int) bool
- func (a *Float16) IsValid(i int) bool
- func (a *Float16) Len() int
- func (a *Float16) MarshalJSON() ([]byte, error)
- func (a *Float16) NullBitmapBytes() []byte
- func (a *Float16) NullN() int
- func (a *Float16) Offset() int
- func (a *Float16) Release()
- func (a *Float16) Retain()
- func (a *Float16) String() string
- func (a *Float16) Value(i int) float16.Num
- func (a *Float16) Values() []float16.Num
- type Float16Builder
- func (b *Float16Builder) Append(v float16.Num)
- func (b *Float16Builder) AppendEmptyValue()
- func (b *Float16Builder) AppendNull()
- func (b *Float16Builder) AppendValues(v []float16.Num, valid []bool)
- func (b *Float16Builder) Cap() int
- func (b *Float16Builder) Len() int
- func (b *Float16Builder) NewArray() arrow.Array
- func (b *Float16Builder) NewFloat16Array() (a *Float16)
- func (b *Float16Builder) NullN() int
- func (b *Float16Builder) Release()
- func (b *Float16Builder) Reserve(n int)
- func (b *Float16Builder) Resize(n int)
- func (b *Float16Builder) Retain()
- func (b *Float16Builder) Type() arrow.DataType
- func (b *Float16Builder) UnmarshalJSON(data []byte) error
- func (b *Float16Builder) UnsafeAppend(v float16.Num)
- func (b *Float16Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Float16DictionaryBuilder
- func (b *Float16DictionaryBuilder) Append(v float16.Num) error
- func (b *Float16DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Float16DictionaryBuilder) AppendEmptyValue()
- func (b *Float16DictionaryBuilder) AppendNull()
- func (b *Float16DictionaryBuilder) Cap() int
- func (b *Float16DictionaryBuilder) InsertDictValues(arr *Float16) (err error)
- func (b *Float16DictionaryBuilder) NewArray() arrow.Array
- func (b *Float16DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Float16DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Float16DictionaryBuilder) Release()
- func (b *Float16DictionaryBuilder) Reserve(n int)
- func (b *Float16DictionaryBuilder) ResetFull()
- func (b *Float16DictionaryBuilder) Resize(n int)
- func (b *Float16DictionaryBuilder) Type() arrow.DataType
- func (b *Float16DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Float32
- func (a *Float32) Data() arrow.ArrayData
- func (a *Float32) DataType() arrow.DataType
- func (a *Float32) Float32Values() []float32
- func (a *Float32) IsNull(i int) bool
- func (a *Float32) IsValid(i int) bool
- func (a *Float32) Len() int
- func (a *Float32) MarshalJSON() ([]byte, error)
- func (a *Float32) NullBitmapBytes() []byte
- func (a *Float32) NullN() int
- func (a *Float32) Offset() int
- func (a *Float32) Release()
- func (a *Float32) Reset(data *Data)
- func (a *Float32) Retain()
- func (a *Float32) String() string
- func (a *Float32) Value(i int) float32
- type Float32Builder
- func (b *Float32Builder) Append(v float32)
- func (b *Float32Builder) AppendEmptyValue()
- func (b *Float32Builder) AppendNull()
- func (b *Float32Builder) AppendValues(v []float32, valid []bool)
- func (b *Float32Builder) Cap() int
- func (b *Float32Builder) Len() int
- func (b *Float32Builder) NewArray() arrow.Array
- func (b *Float32Builder) NewFloat32Array() (a *Float32)
- func (b *Float32Builder) NullN() int
- func (b *Float32Builder) Release()
- func (b *Float32Builder) Reserve(n int)
- func (b *Float32Builder) Resize(n int)
- func (b *Float32Builder) Retain()
- func (b *Float32Builder) Type() arrow.DataType
- func (b *Float32Builder) UnmarshalJSON(data []byte) error
- func (b *Float32Builder) UnsafeAppend(v float32)
- func (b *Float32Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Float32DictionaryBuilder
- func (b *Float32DictionaryBuilder) Append(v float32) error
- func (b *Float32DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Float32DictionaryBuilder) AppendEmptyValue()
- func (b *Float32DictionaryBuilder) AppendNull()
- func (b *Float32DictionaryBuilder) Cap() int
- func (b *Float32DictionaryBuilder) InsertDictValues(arr *Float32) (err error)
- func (b *Float32DictionaryBuilder) NewArray() arrow.Array
- func (b *Float32DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Float32DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Float32DictionaryBuilder) Release()
- func (b *Float32DictionaryBuilder) Reserve(n int)
- func (b *Float32DictionaryBuilder) ResetFull()
- func (b *Float32DictionaryBuilder) Resize(n int)
- func (b *Float32DictionaryBuilder) Type() arrow.DataType
- func (b *Float32DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Float64
- func (a *Float64) Data() arrow.ArrayData
- func (a *Float64) DataType() arrow.DataType
- func (a *Float64) Float64Values() []float64
- func (a *Float64) IsNull(i int) bool
- func (a *Float64) IsValid(i int) bool
- func (a *Float64) Len() int
- func (a *Float64) MarshalJSON() ([]byte, error)
- func (a *Float64) NullBitmapBytes() []byte
- func (a *Float64) NullN() int
- func (a *Float64) Offset() int
- func (a *Float64) Release()
- func (a *Float64) Reset(data *Data)
- func (a *Float64) Retain()
- func (a *Float64) String() string
- func (a *Float64) Value(i int) float64
- type Float64Builder
- func (b *Float64Builder) Append(v float64)
- func (b *Float64Builder) AppendEmptyValue()
- func (b *Float64Builder) AppendNull()
- func (b *Float64Builder) AppendValues(v []float64, valid []bool)
- func (b *Float64Builder) Cap() int
- func (b *Float64Builder) Len() int
- func (b *Float64Builder) NewArray() arrow.Array
- func (b *Float64Builder) NewFloat64Array() (a *Float64)
- func (b *Float64Builder) NullN() int
- func (b *Float64Builder) Release()
- func (b *Float64Builder) Reserve(n int)
- func (b *Float64Builder) Resize(n int)
- func (b *Float64Builder) Retain()
- func (b *Float64Builder) Type() arrow.DataType
- func (b *Float64Builder) UnmarshalJSON(data []byte) error
- func (b *Float64Builder) UnsafeAppend(v float64)
- func (b *Float64Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Float64DictionaryBuilder
- func (b *Float64DictionaryBuilder) Append(v float64) error
- func (b *Float64DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Float64DictionaryBuilder) AppendEmptyValue()
- func (b *Float64DictionaryBuilder) AppendNull()
- func (b *Float64DictionaryBuilder) Cap() int
- func (b *Float64DictionaryBuilder) InsertDictValues(arr *Float64) (err error)
- func (b *Float64DictionaryBuilder) NewArray() arrow.Array
- func (b *Float64DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Float64DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Float64DictionaryBuilder) Release()
- func (b *Float64DictionaryBuilder) Reserve(n int)
- func (b *Float64DictionaryBuilder) ResetFull()
- func (b *Float64DictionaryBuilder) Resize(n int)
- func (b *Float64DictionaryBuilder) Type() arrow.DataType
- func (b *Float64DictionaryBuilder) UnmarshalJSON(data []byte) error
- type FromJSONOption
- type Int16
- func (a *Int16) Data() arrow.ArrayData
- func (a *Int16) DataType() arrow.DataType
- func (a *Int16) Int16Values() []int16
- func (a *Int16) IsNull(i int) bool
- func (a *Int16) IsValid(i int) bool
- func (a *Int16) Len() int
- func (a *Int16) MarshalJSON() ([]byte, error)
- func (a *Int16) NullBitmapBytes() []byte
- func (a *Int16) NullN() int
- func (a *Int16) Offset() int
- func (a *Int16) Release()
- func (a *Int16) Reset(data *Data)
- func (a *Int16) Retain()
- func (a *Int16) String() string
- func (a *Int16) Value(i int) int16
- type Int16Builder
- func (b *Int16Builder) Append(v int16)
- func (b *Int16Builder) AppendEmptyValue()
- func (b *Int16Builder) AppendNull()
- func (b *Int16Builder) AppendValues(v []int16, valid []bool)
- func (b *Int16Builder) Cap() int
- func (b *Int16Builder) Len() int
- func (b *Int16Builder) NewArray() arrow.Array
- func (b *Int16Builder) NewInt16Array() (a *Int16)
- func (b *Int16Builder) NullN() int
- func (b *Int16Builder) Release()
- func (b *Int16Builder) Reserve(n int)
- func (b *Int16Builder) Resize(n int)
- func (b *Int16Builder) Retain()
- func (b *Int16Builder) Type() arrow.DataType
- func (b *Int16Builder) UnmarshalJSON(data []byte) error
- func (b *Int16Builder) UnsafeAppend(v int16)
- func (b *Int16Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Int16DictionaryBuilder
- func (b *Int16DictionaryBuilder) Append(v int16) error
- func (b *Int16DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Int16DictionaryBuilder) AppendEmptyValue()
- func (b *Int16DictionaryBuilder) AppendNull()
- func (b *Int16DictionaryBuilder) Cap() int
- func (b *Int16DictionaryBuilder) InsertDictValues(arr *Int16) (err error)
- func (b *Int16DictionaryBuilder) NewArray() arrow.Array
- func (b *Int16DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Int16DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Int16DictionaryBuilder) Release()
- func (b *Int16DictionaryBuilder) Reserve(n int)
- func (b *Int16DictionaryBuilder) ResetFull()
- func (b *Int16DictionaryBuilder) Resize(n int)
- func (b *Int16DictionaryBuilder) Type() arrow.DataType
- func (b *Int16DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Int32
- func (a *Int32) Data() arrow.ArrayData
- func (a *Int32) DataType() arrow.DataType
- func (a *Int32) Int32Values() []int32
- func (a *Int32) IsNull(i int) bool
- func (a *Int32) IsValid(i int) bool
- func (a *Int32) Len() int
- func (a *Int32) MarshalJSON() ([]byte, error)
- func (a *Int32) NullBitmapBytes() []byte
- func (a *Int32) NullN() int
- func (a *Int32) Offset() int
- func (a *Int32) Release()
- func (a *Int32) Reset(data *Data)
- func (a *Int32) Retain()
- func (a *Int32) String() string
- func (a *Int32) Value(i int) int32
- type Int32Builder
- func (b *Int32Builder) Append(v int32)
- func (b *Int32Builder) AppendEmptyValue()
- func (b *Int32Builder) AppendNull()
- func (b *Int32Builder) AppendValues(v []int32, valid []bool)
- func (b *Int32Builder) Cap() int
- func (b *Int32Builder) Len() int
- func (b *Int32Builder) NewArray() arrow.Array
- func (b *Int32Builder) NewInt32Array() (a *Int32)
- func (b *Int32Builder) NullN() int
- func (b *Int32Builder) Release()
- func (b *Int32Builder) Reserve(n int)
- func (b *Int32Builder) Resize(n int)
- func (b *Int32Builder) Retain()
- func (b *Int32Builder) Type() arrow.DataType
- func (b *Int32Builder) UnmarshalJSON(data []byte) error
- func (b *Int32Builder) UnsafeAppend(v int32)
- func (b *Int32Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Int32DictionaryBuilder
- func (b *Int32DictionaryBuilder) Append(v int32) error
- func (b *Int32DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Int32DictionaryBuilder) AppendEmptyValue()
- func (b *Int32DictionaryBuilder) AppendNull()
- func (b *Int32DictionaryBuilder) Cap() int
- func (b *Int32DictionaryBuilder) InsertDictValues(arr *Int32) (err error)
- func (b *Int32DictionaryBuilder) NewArray() arrow.Array
- func (b *Int32DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Int32DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Int32DictionaryBuilder) Release()
- func (b *Int32DictionaryBuilder) Reserve(n int)
- func (b *Int32DictionaryBuilder) ResetFull()
- func (b *Int32DictionaryBuilder) Resize(n int)
- func (b *Int32DictionaryBuilder) Type() arrow.DataType
- func (b *Int32DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Int64
- func (a *Int64) Data() arrow.ArrayData
- func (a *Int64) DataType() arrow.DataType
- func (a *Int64) Int64Values() []int64
- func (a *Int64) IsNull(i int) bool
- func (a *Int64) IsValid(i int) bool
- func (a *Int64) Len() int
- func (a *Int64) MarshalJSON() ([]byte, error)
- func (a *Int64) NullBitmapBytes() []byte
- func (a *Int64) NullN() int
- func (a *Int64) Offset() int
- func (a *Int64) Release()
- func (a *Int64) Reset(data *Data)
- func (a *Int64) Retain()
- func (a *Int64) String() string
- func (a *Int64) Value(i int) int64
- type Int64Builder
- func (b *Int64Builder) Append(v int64)
- func (b *Int64Builder) AppendEmptyValue()
- func (b *Int64Builder) AppendNull()
- func (b *Int64Builder) AppendValues(v []int64, valid []bool)
- func (b *Int64Builder) Cap() int
- func (b *Int64Builder) Len() int
- func (b *Int64Builder) NewArray() arrow.Array
- func (b *Int64Builder) NewInt64Array() (a *Int64)
- func (b *Int64Builder) NullN() int
- func (b *Int64Builder) Release()
- func (b *Int64Builder) Reserve(n int)
- func (b *Int64Builder) Resize(n int)
- func (b *Int64Builder) Retain()
- func (b *Int64Builder) Type() arrow.DataType
- func (b *Int64Builder) UnmarshalJSON(data []byte) error
- func (b *Int64Builder) UnsafeAppend(v int64)
- func (b *Int64Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Int64DictionaryBuilder
- func (b *Int64DictionaryBuilder) Append(v int64) error
- func (b *Int64DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Int64DictionaryBuilder) AppendEmptyValue()
- func (b *Int64DictionaryBuilder) AppendNull()
- func (b *Int64DictionaryBuilder) Cap() int
- func (b *Int64DictionaryBuilder) InsertDictValues(arr *Int64) (err error)
- func (b *Int64DictionaryBuilder) NewArray() arrow.Array
- func (b *Int64DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Int64DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Int64DictionaryBuilder) Release()
- func (b *Int64DictionaryBuilder) Reserve(n int)
- func (b *Int64DictionaryBuilder) ResetFull()
- func (b *Int64DictionaryBuilder) Resize(n int)
- func (b *Int64DictionaryBuilder) Type() arrow.DataType
- func (b *Int64DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Int8
- func (a *Int8) Data() arrow.ArrayData
- func (a *Int8) DataType() arrow.DataType
- func (a *Int8) Int8Values() []int8
- func (a *Int8) IsNull(i int) bool
- func (a *Int8) IsValid(i int) bool
- func (a *Int8) Len() int
- func (a *Int8) MarshalJSON() ([]byte, error)
- func (a *Int8) NullBitmapBytes() []byte
- func (a *Int8) NullN() int
- func (a *Int8) Offset() int
- func (a *Int8) Release()
- func (a *Int8) Reset(data *Data)
- func (a *Int8) Retain()
- func (a *Int8) String() string
- func (a *Int8) Value(i int) int8
- type Int8Builder
- func (b *Int8Builder) Append(v int8)
- func (b *Int8Builder) AppendEmptyValue()
- func (b *Int8Builder) AppendNull()
- func (b *Int8Builder) AppendValues(v []int8, valid []bool)
- func (b *Int8Builder) Cap() int
- func (b *Int8Builder) Len() int
- func (b *Int8Builder) NewArray() arrow.Array
- func (b *Int8Builder) NewInt8Array() (a *Int8)
- func (b *Int8Builder) NullN() int
- func (b *Int8Builder) Release()
- func (b *Int8Builder) Reserve(n int)
- func (b *Int8Builder) Resize(n int)
- func (b *Int8Builder) Retain()
- func (b *Int8Builder) Type() arrow.DataType
- func (b *Int8Builder) UnmarshalJSON(data []byte) error
- func (b *Int8Builder) UnsafeAppend(v int8)
- func (b *Int8Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Int8DictionaryBuilder
- func (b *Int8DictionaryBuilder) Append(v int8) error
- func (b *Int8DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Int8DictionaryBuilder) AppendEmptyValue()
- func (b *Int8DictionaryBuilder) AppendNull()
- func (b *Int8DictionaryBuilder) Cap() int
- func (b *Int8DictionaryBuilder) InsertDictValues(arr *Int8) (err error)
- func (b *Int8DictionaryBuilder) NewArray() arrow.Array
- func (b *Int8DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Int8DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Int8DictionaryBuilder) Release()
- func (b *Int8DictionaryBuilder) Reserve(n int)
- func (b *Int8DictionaryBuilder) ResetFull()
- func (b *Int8DictionaryBuilder) Resize(n int)
- func (b *Int8DictionaryBuilder) Type() arrow.DataType
- func (b *Int8DictionaryBuilder) UnmarshalJSON(data []byte) error
- type JSONReader
- type LargeBinary
- func (a *LargeBinary) Data() arrow.ArrayData
- func (a *LargeBinary) DataType() arrow.DataType
- func (a *LargeBinary) IsNull(i int) bool
- func (a *LargeBinary) IsValid(i int) bool
- func (a *LargeBinary) Len() int
- func (a *LargeBinary) MarshalJSON() ([]byte, error)
- func (a *LargeBinary) NullBitmapBytes() []byte
- func (a *LargeBinary) NullN() int
- func (a *LargeBinary) Offset() int
- func (a *LargeBinary) Release()
- func (a *LargeBinary) Retain()
- func (a *LargeBinary) String() string
- func (a *LargeBinary) Value(i int) []byte
- func (a *LargeBinary) ValueBytes() []byte
- func (a *LargeBinary) ValueLen(i int) int
- func (a *LargeBinary) ValueOffset(i int) int64
- func (a *LargeBinary) ValueOffset64(i int) int64
- func (a *LargeBinary) ValueOffsets() []int64
- func (a *LargeBinary) ValueString(i int) string
- type LargeList
- func (a *LargeList) Data() arrow.ArrayData
- func (a *LargeList) DataType() arrow.DataType
- func (a *LargeList) IsNull(i int) bool
- func (a *LargeList) IsValid(i int) bool
- func (a *LargeList) Len() int
- func (a *LargeList) ListValues() arrow.Array
- func (a *LargeList) MarshalJSON() ([]byte, error)
- func (a *LargeList) NullBitmapBytes() []byte
- func (a *LargeList) NullN() int
- func (a *LargeList) Offset() int
- func (a *LargeList) Offsets() []int64
- func (a *LargeList) Release()
- func (a *LargeList) Retain()
- func (a *LargeList) String() string
- func (a *LargeList) ValueOffsets(i int) (start, end int64)
- type LargeListBuilder
- func (b *LargeListBuilder) Append(v bool)
- func (b *LargeListBuilder) AppendEmptyValue()
- func (b *LargeListBuilder) AppendNull()
- func (b *LargeListBuilder) AppendValues(offsets []int64, valid []bool)
- func (b *LargeListBuilder) NewArray() arrow.Array
- func (b *LargeListBuilder) NewLargeListArray() (a *LargeList)
- func (b *LargeListBuilder) Release()
- func (b *LargeListBuilder) Reserve(n int)
- func (b *LargeListBuilder) Resize(n int)
- func (b *LargeListBuilder) Type() arrow.DataType
- func (b *LargeListBuilder) UnmarshalJSON(data []byte) error
- func (b *LargeListBuilder) ValueBuilder() Builder
- type LargeString
- func (a *LargeString) Data() arrow.ArrayData
- func (a *LargeString) DataType() arrow.DataType
- func (a *LargeString) IsNull(i int) bool
- func (a *LargeString) IsValid(i int) bool
- func (a *LargeString) Len() int
- func (a *LargeString) MarshalJSON() ([]byte, error)
- func (a *LargeString) NullBitmapBytes() []byte
- func (a *LargeString) NullN() int
- func (a *LargeString) Offset() int
- func (a *LargeString) Release()
- func (a *LargeString) Reset(data arrow.ArrayData)
- func (a *LargeString) Retain()
- func (a *LargeString) String() string
- func (a *LargeString) Value(i int) string
- func (a *LargeString) ValueBytes() (ret []byte)
- func (a *LargeString) ValueOffset(i int) int64
- func (a *LargeString) ValueOffset64(i int) int64
- func (a *LargeString) ValueOffsets() []int64
- type LargeStringBuilder
- func (b *LargeStringBuilder) Append(v string)
- func (b *LargeStringBuilder) AppendValues(v []string, valid []bool)
- func (b LargeStringBuilder) Cap() int
- func (b LargeStringBuilder) Len() int
- func (b *LargeStringBuilder) NewArray() arrow.Array
- func (b *LargeStringBuilder) NewLargeStringArray() (a *LargeString)
- func (b LargeStringBuilder) NullN() int
- func (b LargeStringBuilder) Retain()
- func (b *LargeStringBuilder) Type() arrow.DataType
- func (b *LargeStringBuilder) UnmarshalJSON(data []byte) error
- func (b LargeStringBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- func (b *LargeStringBuilder) Value(i int) string
- type List
- func (a *List) Data() arrow.ArrayData
- func (a *List) DataType() arrow.DataType
- func (a *List) IsNull(i int) bool
- func (a *List) IsValid(i int) bool
- func (a *List) Len() int
- func (a *List) ListValues() arrow.Array
- func (a *List) MarshalJSON() ([]byte, error)
- func (a *List) NullBitmapBytes() []byte
- func (a *List) NullN() int
- func (a *List) Offset() int
- func (a *List) Offsets() []int32
- func (a *List) Release()
- func (a *List) Retain()
- func (a *List) String() string
- func (a *List) ValueOffsets(i int) (start, end int64)
- type ListBuilder
- func (b *ListBuilder) Append(v bool)
- func (b *ListBuilder) AppendEmptyValue()
- func (b *ListBuilder) AppendNull()
- func (b *ListBuilder) AppendValues(offsets []int32, valid []bool)
- func (b *ListBuilder) NewArray() arrow.Array
- func (b *ListBuilder) NewListArray() (a *List)
- func (b *ListBuilder) Release()
- func (b *ListBuilder) Reserve(n int)
- func (b *ListBuilder) Resize(n int)
- func (b *ListBuilder) Type() arrow.DataType
- func (b *ListBuilder) UnmarshalJSON(data []byte) error
- func (b *ListBuilder) ValueBuilder() Builder
- type ListLike
- type ListLikeBuilder
- type Map
- func (a Map) Data() arrow.ArrayData
- func (a Map) DataType() arrow.DataType
- func (a Map) IsNull(i int) bool
- func (a Map) IsValid(i int) bool
- func (a *Map) Items() arrow.Array
- func (a *Map) Keys() arrow.Array
- func (a *Map) KeysSorted() bool
- func (a Map) NullBitmapBytes() []byte
- func (a Map) NullN() int
- func (a Map) Offset() int
- func (a *Map) Release()
- func (a *Map) Retain()
- type MapBuilder
- func (b *MapBuilder) Append(v bool)
- func (b *MapBuilder) AppendEmptyValue()
- func (b *MapBuilder) AppendNull()
- func (b *MapBuilder) AppendValues(offsets []int32, valid []bool)
- func (b *MapBuilder) Cap() int
- func (b *MapBuilder) ItemBuilder() Builder
- func (b *MapBuilder) KeyBuilder() Builder
- func (b *MapBuilder) Len() int
- func (b *MapBuilder) NewArray() arrow.Array
- func (b *MapBuilder) NewMapArray() (a *Map)
- func (b *MapBuilder) NullN() int
- func (b *MapBuilder) Release()
- func (b *MapBuilder) Reserve(n int)
- func (b *MapBuilder) Resize(n int)
- func (b *MapBuilder) Retain()
- func (b *MapBuilder) Type() arrow.DataType
- func (b *MapBuilder) UnmarshalJSON(data []byte) error
- func (b *MapBuilder) UnsafeAppendBoolToBitmap(v bool)
- func (b *MapBuilder) ValueBuilder() Builder
- type MonthDayNanoDictionaryBuilder
- func (b *MonthDayNanoDictionaryBuilder) Append(v arrow.MonthDayNanoInterval) error
- func (b *MonthDayNanoDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *MonthDayNanoDictionaryBuilder) AppendEmptyValue()
- func (b *MonthDayNanoDictionaryBuilder) AppendNull()
- func (b *MonthDayNanoDictionaryBuilder) Cap() int
- func (b *MonthDayNanoDictionaryBuilder) InsertDictValues(arr *MonthDayNanoInterval) (err error)
- func (b *MonthDayNanoDictionaryBuilder) NewArray() arrow.Array
- func (b *MonthDayNanoDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *MonthDayNanoDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *MonthDayNanoDictionaryBuilder) Release()
- func (b *MonthDayNanoDictionaryBuilder) Reserve(n int)
- func (b *MonthDayNanoDictionaryBuilder) ResetFull()
- func (b *MonthDayNanoDictionaryBuilder) Resize(n int)
- func (b *MonthDayNanoDictionaryBuilder) Type() arrow.DataType
- func (b *MonthDayNanoDictionaryBuilder) UnmarshalJSON(data []byte) error
- type MonthDayNanoInterval
- func (a *MonthDayNanoInterval) Data() arrow.ArrayData
- func (a *MonthDayNanoInterval) DataType() arrow.DataType
- func (a *MonthDayNanoInterval) IsNull(i int) bool
- func (a *MonthDayNanoInterval) IsValid(i int) bool
- func (a *MonthDayNanoInterval) Len() int
- func (a *MonthDayNanoInterval) MarshalJSON() ([]byte, error)
- func (a *MonthDayNanoInterval) MonthDayNanoIntervalValues() []arrow.MonthDayNanoInterval
- func (a *MonthDayNanoInterval) NullBitmapBytes() []byte
- func (a *MonthDayNanoInterval) NullN() int
- func (a *MonthDayNanoInterval) Offset() int
- func (a *MonthDayNanoInterval) Release()
- func (a *MonthDayNanoInterval) Retain()
- func (a *MonthDayNanoInterval) String() string
- func (a *MonthDayNanoInterval) Value(i int) arrow.MonthDayNanoInterval
- type MonthDayNanoIntervalBuilder
- func (b *MonthDayNanoIntervalBuilder) Append(v arrow.MonthDayNanoInterval)
- func (b *MonthDayNanoIntervalBuilder) AppendEmptyValue()
- func (b *MonthDayNanoIntervalBuilder) AppendNull()
- func (b *MonthDayNanoIntervalBuilder) AppendValues(v []arrow.MonthDayNanoInterval, valid []bool)
- func (b *MonthDayNanoIntervalBuilder) Cap() int
- func (b *MonthDayNanoIntervalBuilder) Len() int
- func (b *MonthDayNanoIntervalBuilder) NewArray() arrow.Array
- func (b *MonthDayNanoIntervalBuilder) NewMonthDayNanoIntervalArray() (a *MonthDayNanoInterval)
- func (b *MonthDayNanoIntervalBuilder) NullN() int
- func (b *MonthDayNanoIntervalBuilder) Release()
- func (b *MonthDayNanoIntervalBuilder) Reserve(n int)
- func (b *MonthDayNanoIntervalBuilder) Resize(n int)
- func (b *MonthDayNanoIntervalBuilder) Retain()
- func (b *MonthDayNanoIntervalBuilder) Type() arrow.DataType
- func (b *MonthDayNanoIntervalBuilder) UnmarshalJSON(data []byte) error
- func (b *MonthDayNanoIntervalBuilder) UnsafeAppend(v arrow.MonthDayNanoInterval)
- func (b *MonthDayNanoIntervalBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type MonthInterval
- func (a *MonthInterval) Data() arrow.ArrayData
- func (a *MonthInterval) DataType() arrow.DataType
- func (a *MonthInterval) IsNull(i int) bool
- func (a *MonthInterval) IsValid(i int) bool
- func (a *MonthInterval) Len() int
- func (a *MonthInterval) MarshalJSON() ([]byte, error)
- func (a *MonthInterval) MonthIntervalValues() []arrow.MonthInterval
- func (a *MonthInterval) NullBitmapBytes() []byte
- func (a *MonthInterval) NullN() int
- func (a *MonthInterval) Offset() int
- func (a *MonthInterval) Release()
- func (a *MonthInterval) Retain()
- func (a *MonthInterval) String() string
- func (a *MonthInterval) Value(i int) arrow.MonthInterval
- type MonthIntervalBuilder
- func (b *MonthIntervalBuilder) Append(v arrow.MonthInterval)
- func (b *MonthIntervalBuilder) AppendEmptyValue()
- func (b *MonthIntervalBuilder) AppendNull()
- func (b *MonthIntervalBuilder) AppendValues(v []arrow.MonthInterval, valid []bool)
- func (b *MonthIntervalBuilder) Cap() int
- func (b *MonthIntervalBuilder) Len() int
- func (b *MonthIntervalBuilder) NewArray() arrow.Array
- func (b *MonthIntervalBuilder) NewMonthIntervalArray() (a *MonthInterval)
- func (b *MonthIntervalBuilder) NullN() int
- func (b *MonthIntervalBuilder) Release()
- func (b *MonthIntervalBuilder) Reserve(n int)
- func (b *MonthIntervalBuilder) Resize(n int)
- func (b *MonthIntervalBuilder) Retain()
- func (b *MonthIntervalBuilder) Type() arrow.DataType
- func (b *MonthIntervalBuilder) UnmarshalJSON(data []byte) error
- func (b *MonthIntervalBuilder) UnsafeAppend(v arrow.MonthInterval)
- func (b *MonthIntervalBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type MonthIntervalDictionaryBuilder
- func (b *MonthIntervalDictionaryBuilder) Append(v arrow.MonthInterval) error
- func (b *MonthIntervalDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *MonthIntervalDictionaryBuilder) AppendEmptyValue()
- func (b *MonthIntervalDictionaryBuilder) AppendNull()
- func (b *MonthIntervalDictionaryBuilder) Cap() int
- func (b *MonthIntervalDictionaryBuilder) InsertDictValues(arr *MonthInterval) (err error)
- func (b *MonthIntervalDictionaryBuilder) NewArray() arrow.Array
- func (b *MonthIntervalDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *MonthIntervalDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *MonthIntervalDictionaryBuilder) Release()
- func (b *MonthIntervalDictionaryBuilder) Reserve(n int)
- func (b *MonthIntervalDictionaryBuilder) ResetFull()
- func (b *MonthIntervalDictionaryBuilder) Resize(n int)
- func (b *MonthIntervalDictionaryBuilder) Type() arrow.DataType
- func (b *MonthIntervalDictionaryBuilder) UnmarshalJSON(data []byte) error
- type Null
- func (a *Null) Data() arrow.ArrayData
- func (a *Null) DataType() arrow.DataType
- func (a *Null) IsNull(i int) bool
- func (a *Null) IsValid(i int) bool
- func (a *Null) Len() int
- func (a *Null) MarshalJSON() ([]byte, error)
- func (a *Null) NullBitmapBytes() []byte
- func (a *Null) NullN() int
- func (a *Null) Offset() int
- func (a *Null) Release()
- func (a *Null) Retain()
- func (a *Null) String() string
- type NullBuilder
- func (b *NullBuilder) AppendEmptyValue()
- func (b *NullBuilder) AppendNull()
- func (b *NullBuilder) Cap() int
- func (b *NullBuilder) Len() int
- func (b *NullBuilder) NewArray() arrow.Array
- func (b *NullBuilder) NewNullArray() (a *Null)
- func (b *NullBuilder) NullN() int
- func (b *NullBuilder) Release()
- func (*NullBuilder) Reserve(size int)
- func (*NullBuilder) Resize(size int)
- func (b *NullBuilder) Retain()
- func (b *NullBuilder) Type() arrow.DataType
- func (b *NullBuilder) UnmarshalJSON(data []byte) error
- func (b *NullBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type NullDictionaryBuilder
- func (b *NullDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *NullDictionaryBuilder) AppendEmptyValue()
- func (b *NullDictionaryBuilder) AppendNull()
- func (b *NullDictionaryBuilder) Cap() int
- func (b *NullDictionaryBuilder) NewArray() arrow.Array
- func (b *NullDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *NullDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *NullDictionaryBuilder) Release()
- func (b *NullDictionaryBuilder) Reserve(n int)
- func (b *NullDictionaryBuilder) ResetFull()
- func (b *NullDictionaryBuilder) Resize(n int)
- func (b *NullDictionaryBuilder) Type() arrow.DataType
- func (b *NullDictionaryBuilder) UnmarshalJSON(data []byte) error
- type Option
- type RecordBuilder
- func (b *RecordBuilder) Field(i int) Builder
- func (b *RecordBuilder) Fields() []Builder
- func (b *RecordBuilder) NewRecord() arrow.Record
- func (b *RecordBuilder) Release()
- func (b *RecordBuilder) Reserve(size int)
- func (b *RecordBuilder) Retain()
- func (b *RecordBuilder) Schema() *arrow.Schema
- func (b *RecordBuilder) UnmarshalJSON(data []byte) error
- type RecordReader
- type SparseUnion
- func NewSparseUnion(dt *arrow.SparseUnionType, length int, children []arrow.Array, ...) *SparseUnion
- func NewSparseUnionData(data arrow.ArrayData) *SparseUnion
- func NewSparseUnionFromArrays(typeIDs arrow.Array, children []arrow.Array, codes ...arrow.UnionTypeCode) (*SparseUnion, error)
- func NewSparseUnionFromArraysWithFieldCodes(typeIDs arrow.Array, children []arrow.Array, fields []string, ...) (*SparseUnion, error)
- func NewSparseUnionFromArraysWithFields(typeIDs arrow.Array, children []arrow.Array, fields []string) (*SparseUnion, error)
- func (a *SparseUnion) ChildID(i int) int
- func (a *SparseUnion) Field(pos int) (result arrow.Array)
- func (a *SparseUnion) GetFlattenedField(mem memory.Allocator, index int) (arrow.Array, error)
- func (a *SparseUnion) MarshalJSON() ([]byte, error)
- func (a *SparseUnion) Mode() arrow.UnionMode
- func (a *SparseUnion) NumFields() int
- func (a *SparseUnion) RawTypeCodes() []arrow.UnionTypeCode
- func (a *SparseUnion) Release()
- func (a *SparseUnion) Retain()
- func (a *SparseUnion) String() string
- func (a *SparseUnion) TypeCode(i int) arrow.UnionTypeCode
- func (a *SparseUnion) TypeCodes() *memory.Buffer
- func (a *SparseUnion) UnionType() arrow.UnionType
- func (a *SparseUnion) Validate() error
- func (a *SparseUnion) ValidateFull() error
- type SparseUnionBuilder
- func (b *SparseUnionBuilder) Append(nextType arrow.UnionTypeCode)
- func (b *SparseUnionBuilder) AppendChild(newChild Builder, fieldName string) arrow.UnionTypeCode
- func (b *SparseUnionBuilder) AppendEmptyValue()
- func (b *SparseUnionBuilder) AppendEmptyValues(n int)
- func (b *SparseUnionBuilder) AppendNull()
- func (b *SparseUnionBuilder) AppendNulls(n int)
- func (b *SparseUnionBuilder) Child(idx int) Builder
- func (b *SparseUnionBuilder) Len() int
- func (b *SparseUnionBuilder) Mode() arrow.UnionMode
- func (b *SparseUnionBuilder) NewArray() arrow.Array
- func (b *SparseUnionBuilder) NewSparseUnionArray() (a *SparseUnion)
- func (b *SparseUnionBuilder) NumChildren() int
- func (b *SparseUnionBuilder) Release()
- func (b *SparseUnionBuilder) Reserve(n int)
- func (b *SparseUnionBuilder) Resize(n int)
- func (b *SparseUnionBuilder) Type() arrow.DataType
- func (b *SparseUnionBuilder) UnmarshalJSON(data []byte) (err error)
- type String
- func (a *String) Data() arrow.ArrayData
- func (a *String) DataType() arrow.DataType
- func (a *String) IsNull(i int) bool
- func (a *String) IsValid(i int) bool
- func (a *String) Len() int
- func (a *String) MarshalJSON() ([]byte, error)
- func (a *String) NullBitmapBytes() []byte
- func (a *String) NullN() int
- func (a *String) Offset() int
- func (a *String) Release()
- func (a *String) Reset(data arrow.ArrayData)
- func (a *String) Retain()
- func (a *String) String() string
- func (a *String) Value(i int) string
- func (a *String) ValueBytes() (ret []byte)
- func (a *String) ValueOffset(i int) int
- func (a *String) ValueOffset64(i int) int64
- func (a *String) ValueOffsets() []int32
- type StringBuilder
- func (b *StringBuilder) Append(v string)
- func (b *StringBuilder) AppendValues(v []string, valid []bool)
- func (b StringBuilder) Cap() int
- func (b StringBuilder) Len() int
- func (b *StringBuilder) NewArray() arrow.Array
- func (b *StringBuilder) NewStringArray() (a *String)
- func (b StringBuilder) NullN() int
- func (b StringBuilder) Retain()
- func (b *StringBuilder) Type() arrow.DataType
- func (b *StringBuilder) UnmarshalJSON(data []byte) error
- func (b StringBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- func (b *StringBuilder) Value(i int) string
- type StringLikeBuilder
- type Struct
- func NewStructArray(cols []arrow.Array, names []string) (*Struct, error)
- func NewStructArrayWithNulls(cols []arrow.Array, names []string, nullBitmap *memory.Buffer, nullCount int, ...) (*Struct, error)
- func NewStructData(data arrow.ArrayData) *Struct
- func RecordToStructArray(rec arrow.Record) *Struct
- func (a *Struct) Data() arrow.ArrayData
- func (a *Struct) DataType() arrow.DataType
- func (a *Struct) Field(i int) arrow.Array
- func (a *Struct) IsNull(i int) bool
- func (a *Struct) IsValid(i int) bool
- func (a *Struct) Len() int
- func (a *Struct) MarshalJSON() ([]byte, error)
- func (a *Struct) NullBitmapBytes() []byte
- func (a *Struct) NullN() int
- func (a *Struct) NumField() int
- func (a *Struct) Offset() int
- func (a *Struct) Release()
- func (a *Struct) Retain()
- func (a *Struct) String() string
- type StructBuilder
- func (b *StructBuilder) Append(v bool)
- func (b *StructBuilder) AppendEmptyValue()
- func (b *StructBuilder) AppendNull()
- func (b *StructBuilder) AppendValues(valids []bool)
- func (b *StructBuilder) Cap() int
- func (b *StructBuilder) FieldBuilder(i int) Builder
- func (b *StructBuilder) Len() int
- func (b *StructBuilder) NewArray() arrow.Array
- func (b *StructBuilder) NewStructArray() (a *Struct)
- func (b *StructBuilder) NullN() int
- func (b *StructBuilder) NumField() int
- func (b *StructBuilder) Release()
- func (b *StructBuilder) Reserve(n int)
- func (b *StructBuilder) Resize(n int)
- func (b *StructBuilder) Retain()
- func (b *StructBuilder) Type() arrow.DataType
- func (b *StructBuilder) UnmarshalJSON(data []byte) error
- func (b *StructBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type TableReader
- type Time32
- func (a *Time32) Data() arrow.ArrayData
- func (a *Time32) DataType() arrow.DataType
- func (a *Time32) IsNull(i int) bool
- func (a *Time32) IsValid(i int) bool
- func (a *Time32) Len() int
- func (a *Time32) MarshalJSON() ([]byte, error)
- func (a *Time32) NullBitmapBytes() []byte
- func (a *Time32) NullN() int
- func (a *Time32) Offset() int
- func (a *Time32) Release()
- func (a *Time32) Reset(data *Data)
- func (a *Time32) Retain()
- func (a *Time32) String() string
- func (a *Time32) Time32Values() []arrow.Time32
- func (a *Time32) Value(i int) arrow.Time32
- type Time32Builder
- func (b *Time32Builder) Append(v arrow.Time32)
- func (b *Time32Builder) AppendEmptyValue()
- func (b *Time32Builder) AppendNull()
- func (b *Time32Builder) AppendValues(v []arrow.Time32, valid []bool)
- func (b *Time32Builder) Cap() int
- func (b *Time32Builder) Len() int
- func (b *Time32Builder) NewArray() arrow.Array
- func (b *Time32Builder) NewTime32Array() (a *Time32)
- func (b *Time32Builder) NullN() int
- func (b *Time32Builder) Release()
- func (b *Time32Builder) Reserve(n int)
- func (b *Time32Builder) Resize(n int)
- func (b *Time32Builder) Retain()
- func (b *Time32Builder) Type() arrow.DataType
- func (b *Time32Builder) UnmarshalJSON(data []byte) error
- func (b *Time32Builder) UnsafeAppend(v arrow.Time32)
- func (b *Time32Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Time32DictionaryBuilder
- func (b *Time32DictionaryBuilder) Append(v arrow.Time32) error
- func (b *Time32DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Time32DictionaryBuilder) AppendEmptyValue()
- func (b *Time32DictionaryBuilder) AppendNull()
- func (b *Time32DictionaryBuilder) Cap() int
- func (b *Time32DictionaryBuilder) InsertDictValues(arr *Time32) (err error)
- func (b *Time32DictionaryBuilder) NewArray() arrow.Array
- func (b *Time32DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Time32DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Time32DictionaryBuilder) Release()
- func (b *Time32DictionaryBuilder) Reserve(n int)
- func (b *Time32DictionaryBuilder) ResetFull()
- func (b *Time32DictionaryBuilder) Resize(n int)
- func (b *Time32DictionaryBuilder) Type() arrow.DataType
- func (b *Time32DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Time64
- func (a *Time64) Data() arrow.ArrayData
- func (a *Time64) DataType() arrow.DataType
- func (a *Time64) IsNull(i int) bool
- func (a *Time64) IsValid(i int) bool
- func (a *Time64) Len() int
- func (a *Time64) MarshalJSON() ([]byte, error)
- func (a *Time64) NullBitmapBytes() []byte
- func (a *Time64) NullN() int
- func (a *Time64) Offset() int
- func (a *Time64) Release()
- func (a *Time64) Reset(data *Data)
- func (a *Time64) Retain()
- func (a *Time64) String() string
- func (a *Time64) Time64Values() []arrow.Time64
- func (a *Time64) Value(i int) arrow.Time64
- type Time64Builder
- func (b *Time64Builder) Append(v arrow.Time64)
- func (b *Time64Builder) AppendEmptyValue()
- func (b *Time64Builder) AppendNull()
- func (b *Time64Builder) AppendValues(v []arrow.Time64, valid []bool)
- func (b *Time64Builder) Cap() int
- func (b *Time64Builder) Len() int
- func (b *Time64Builder) NewArray() arrow.Array
- func (b *Time64Builder) NewTime64Array() (a *Time64)
- func (b *Time64Builder) NullN() int
- func (b *Time64Builder) Release()
- func (b *Time64Builder) Reserve(n int)
- func (b *Time64Builder) Resize(n int)
- func (b *Time64Builder) Retain()
- func (b *Time64Builder) Type() arrow.DataType
- func (b *Time64Builder) UnmarshalJSON(data []byte) error
- func (b *Time64Builder) UnsafeAppend(v arrow.Time64)
- func (b *Time64Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Time64DictionaryBuilder
- func (b *Time64DictionaryBuilder) Append(v arrow.Time64) error
- func (b *Time64DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Time64DictionaryBuilder) AppendEmptyValue()
- func (b *Time64DictionaryBuilder) AppendNull()
- func (b *Time64DictionaryBuilder) Cap() int
- func (b *Time64DictionaryBuilder) InsertDictValues(arr *Time64) (err error)
- func (b *Time64DictionaryBuilder) NewArray() arrow.Array
- func (b *Time64DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Time64DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Time64DictionaryBuilder) Release()
- func (b *Time64DictionaryBuilder) Reserve(n int)
- func (b *Time64DictionaryBuilder) ResetFull()
- func (b *Time64DictionaryBuilder) Resize(n int)
- func (b *Time64DictionaryBuilder) Type() arrow.DataType
- func (b *Time64DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Timestamp
- func (a *Timestamp) Data() arrow.ArrayData
- func (a *Timestamp) DataType() arrow.DataType
- func (a *Timestamp) IsNull(i int) bool
- func (a *Timestamp) IsValid(i int) bool
- func (a *Timestamp) Len() int
- func (a *Timestamp) MarshalJSON() ([]byte, error)
- func (a *Timestamp) NullBitmapBytes() []byte
- func (a *Timestamp) NullN() int
- func (a *Timestamp) Offset() int
- func (a *Timestamp) Release()
- func (a *Timestamp) Reset(data *Data)
- func (a *Timestamp) Retain()
- func (a *Timestamp) String() string
- func (a *Timestamp) TimestampValues() []arrow.Timestamp
- func (a *Timestamp) Value(i int) arrow.Timestamp
- type TimestampBuilder
- func (b *TimestampBuilder) Append(v arrow.Timestamp)
- func (b *TimestampBuilder) AppendEmptyValue()
- func (b *TimestampBuilder) AppendNull()
- func (b *TimestampBuilder) AppendValues(v []arrow.Timestamp, valid []bool)
- func (b *TimestampBuilder) Cap() int
- func (b *TimestampBuilder) Len() int
- func (b *TimestampBuilder) NewArray() arrow.Array
- func (b *TimestampBuilder) NewTimestampArray() (a *Timestamp)
- func (b *TimestampBuilder) NullN() int
- func (b *TimestampBuilder) Release()
- func (b *TimestampBuilder) Reserve(n int)
- func (b *TimestampBuilder) Resize(n int)
- func (b *TimestampBuilder) Retain()
- func (b *TimestampBuilder) Type() arrow.DataType
- func (b *TimestampBuilder) UnmarshalJSON(data []byte) error
- func (b *TimestampBuilder) UnsafeAppend(v arrow.Timestamp)
- func (b *TimestampBuilder) UnsafeAppendBoolToBitmap(isValid bool)
- type TimestampDictionaryBuilder
- func (b *TimestampDictionaryBuilder) Append(v arrow.Timestamp) error
- func (b *TimestampDictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *TimestampDictionaryBuilder) AppendEmptyValue()
- func (b *TimestampDictionaryBuilder) AppendNull()
- func (b *TimestampDictionaryBuilder) Cap() int
- func (b *TimestampDictionaryBuilder) InsertDictValues(arr *Timestamp) (err error)
- func (b *TimestampDictionaryBuilder) NewArray() arrow.Array
- func (b *TimestampDictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *TimestampDictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *TimestampDictionaryBuilder) Release()
- func (b *TimestampDictionaryBuilder) Reserve(n int)
- func (b *TimestampDictionaryBuilder) ResetFull()
- func (b *TimestampDictionaryBuilder) Resize(n int)
- func (b *TimestampDictionaryBuilder) Type() arrow.DataType
- func (b *TimestampDictionaryBuilder) UnmarshalJSON(data []byte) error
- type Uint16
- func (a *Uint16) Data() arrow.ArrayData
- func (a *Uint16) DataType() arrow.DataType
- func (a *Uint16) IsNull(i int) bool
- func (a *Uint16) IsValid(i int) bool
- func (a *Uint16) Len() int
- func (a *Uint16) MarshalJSON() ([]byte, error)
- func (a *Uint16) NullBitmapBytes() []byte
- func (a *Uint16) NullN() int
- func (a *Uint16) Offset() int
- func (a *Uint16) Release()
- func (a *Uint16) Reset(data *Data)
- func (a *Uint16) Retain()
- func (a *Uint16) String() string
- func (a *Uint16) Uint16Values() []uint16
- func (a *Uint16) Value(i int) uint16
- type Uint16Builder
- func (b *Uint16Builder) Append(v uint16)
- func (b *Uint16Builder) AppendEmptyValue()
- func (b *Uint16Builder) AppendNull()
- func (b *Uint16Builder) AppendValues(v []uint16, valid []bool)
- func (b *Uint16Builder) Cap() int
- func (b *Uint16Builder) Len() int
- func (b *Uint16Builder) NewArray() arrow.Array
- func (b *Uint16Builder) NewUint16Array() (a *Uint16)
- func (b *Uint16Builder) NullN() int
- func (b *Uint16Builder) Release()
- func (b *Uint16Builder) Reserve(n int)
- func (b *Uint16Builder) Resize(n int)
- func (b *Uint16Builder) Retain()
- func (b *Uint16Builder) Type() arrow.DataType
- func (b *Uint16Builder) UnmarshalJSON(data []byte) error
- func (b *Uint16Builder) UnsafeAppend(v uint16)
- func (b *Uint16Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Uint16DictionaryBuilder
- func (b *Uint16DictionaryBuilder) Append(v uint16) error
- func (b *Uint16DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Uint16DictionaryBuilder) AppendEmptyValue()
- func (b *Uint16DictionaryBuilder) AppendNull()
- func (b *Uint16DictionaryBuilder) Cap() int
- func (b *Uint16DictionaryBuilder) InsertDictValues(arr *Uint16) (err error)
- func (b *Uint16DictionaryBuilder) NewArray() arrow.Array
- func (b *Uint16DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Uint16DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Uint16DictionaryBuilder) Release()
- func (b *Uint16DictionaryBuilder) Reserve(n int)
- func (b *Uint16DictionaryBuilder) ResetFull()
- func (b *Uint16DictionaryBuilder) Resize(n int)
- func (b *Uint16DictionaryBuilder) Type() arrow.DataType
- func (b *Uint16DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Uint32
- func (a *Uint32) Data() arrow.ArrayData
- func (a *Uint32) DataType() arrow.DataType
- func (a *Uint32) IsNull(i int) bool
- func (a *Uint32) IsValid(i int) bool
- func (a *Uint32) Len() int
- func (a *Uint32) MarshalJSON() ([]byte, error)
- func (a *Uint32) NullBitmapBytes() []byte
- func (a *Uint32) NullN() int
- func (a *Uint32) Offset() int
- func (a *Uint32) Release()
- func (a *Uint32) Reset(data *Data)
- func (a *Uint32) Retain()
- func (a *Uint32) String() string
- func (a *Uint32) Uint32Values() []uint32
- func (a *Uint32) Value(i int) uint32
- type Uint32Builder
- func (b *Uint32Builder) Append(v uint32)
- func (b *Uint32Builder) AppendEmptyValue()
- func (b *Uint32Builder) AppendNull()
- func (b *Uint32Builder) AppendValues(v []uint32, valid []bool)
- func (b *Uint32Builder) Cap() int
- func (b *Uint32Builder) Len() int
- func (b *Uint32Builder) NewArray() arrow.Array
- func (b *Uint32Builder) NewUint32Array() (a *Uint32)
- func (b *Uint32Builder) NullN() int
- func (b *Uint32Builder) Release()
- func (b *Uint32Builder) Reserve(n int)
- func (b *Uint32Builder) Resize(n int)
- func (b *Uint32Builder) Retain()
- func (b *Uint32Builder) Type() arrow.DataType
- func (b *Uint32Builder) UnmarshalJSON(data []byte) error
- func (b *Uint32Builder) UnsafeAppend(v uint32)
- func (b *Uint32Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Uint32DictionaryBuilder
- func (b *Uint32DictionaryBuilder) Append(v uint32) error
- func (b *Uint32DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Uint32DictionaryBuilder) AppendEmptyValue()
- func (b *Uint32DictionaryBuilder) AppendNull()
- func (b *Uint32DictionaryBuilder) Cap() int
- func (b *Uint32DictionaryBuilder) InsertDictValues(arr *Uint32) (err error)
- func (b *Uint32DictionaryBuilder) NewArray() arrow.Array
- func (b *Uint32DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Uint32DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Uint32DictionaryBuilder) Release()
- func (b *Uint32DictionaryBuilder) Reserve(n int)
- func (b *Uint32DictionaryBuilder) ResetFull()
- func (b *Uint32DictionaryBuilder) Resize(n int)
- func (b *Uint32DictionaryBuilder) Type() arrow.DataType
- func (b *Uint32DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Uint64
- func (a *Uint64) Data() arrow.ArrayData
- func (a *Uint64) DataType() arrow.DataType
- func (a *Uint64) IsNull(i int) bool
- func (a *Uint64) IsValid(i int) bool
- func (a *Uint64) Len() int
- func (a *Uint64) MarshalJSON() ([]byte, error)
- func (a *Uint64) NullBitmapBytes() []byte
- func (a *Uint64) NullN() int
- func (a *Uint64) Offset() int
- func (a *Uint64) Release()
- func (a *Uint64) Reset(data *Data)
- func (a *Uint64) Retain()
- func (a *Uint64) String() string
- func (a *Uint64) Uint64Values() []uint64
- func (a *Uint64) Value(i int) uint64
- type Uint64Builder
- func (b *Uint64Builder) Append(v uint64)
- func (b *Uint64Builder) AppendEmptyValue()
- func (b *Uint64Builder) AppendNull()
- func (b *Uint64Builder) AppendValues(v []uint64, valid []bool)
- func (b *Uint64Builder) Cap() int
- func (b *Uint64Builder) Len() int
- func (b *Uint64Builder) NewArray() arrow.Array
- func (b *Uint64Builder) NewUint64Array() (a *Uint64)
- func (b *Uint64Builder) NullN() int
- func (b *Uint64Builder) Release()
- func (b *Uint64Builder) Reserve(n int)
- func (b *Uint64Builder) Resize(n int)
- func (b *Uint64Builder) Retain()
- func (b *Uint64Builder) Type() arrow.DataType
- func (b *Uint64Builder) UnmarshalJSON(data []byte) error
- func (b *Uint64Builder) UnsafeAppend(v uint64)
- func (b *Uint64Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Uint64DictionaryBuilder
- func (b *Uint64DictionaryBuilder) Append(v uint64) error
- func (b *Uint64DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Uint64DictionaryBuilder) AppendEmptyValue()
- func (b *Uint64DictionaryBuilder) AppendNull()
- func (b *Uint64DictionaryBuilder) Cap() int
- func (b *Uint64DictionaryBuilder) InsertDictValues(arr *Uint64) (err error)
- func (b *Uint64DictionaryBuilder) NewArray() arrow.Array
- func (b *Uint64DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Uint64DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Uint64DictionaryBuilder) Release()
- func (b *Uint64DictionaryBuilder) Reserve(n int)
- func (b *Uint64DictionaryBuilder) ResetFull()
- func (b *Uint64DictionaryBuilder) Resize(n int)
- func (b *Uint64DictionaryBuilder) Type() arrow.DataType
- func (b *Uint64DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Uint8
- func (a *Uint8) Data() arrow.ArrayData
- func (a *Uint8) DataType() arrow.DataType
- func (a *Uint8) IsNull(i int) bool
- func (a *Uint8) IsValid(i int) bool
- func (a *Uint8) Len() int
- func (a *Uint8) MarshalJSON() ([]byte, error)
- func (a *Uint8) NullBitmapBytes() []byte
- func (a *Uint8) NullN() int
- func (a *Uint8) Offset() int
- func (a *Uint8) Release()
- func (a *Uint8) Reset(data *Data)
- func (a *Uint8) Retain()
- func (a *Uint8) String() string
- func (a *Uint8) Uint8Values() []uint8
- func (a *Uint8) Value(i int) uint8
- type Uint8Builder
- func (b *Uint8Builder) Append(v uint8)
- func (b *Uint8Builder) AppendEmptyValue()
- func (b *Uint8Builder) AppendNull()
- func (b *Uint8Builder) AppendValues(v []uint8, valid []bool)
- func (b *Uint8Builder) Cap() int
- func (b *Uint8Builder) Len() int
- func (b *Uint8Builder) NewArray() arrow.Array
- func (b *Uint8Builder) NewUint8Array() (a *Uint8)
- func (b *Uint8Builder) NullN() int
- func (b *Uint8Builder) Release()
- func (b *Uint8Builder) Reserve(n int)
- func (b *Uint8Builder) Resize(n int)
- func (b *Uint8Builder) Retain()
- func (b *Uint8Builder) Type() arrow.DataType
- func (b *Uint8Builder) UnmarshalJSON(data []byte) error
- func (b *Uint8Builder) UnsafeAppend(v uint8)
- func (b *Uint8Builder) UnsafeAppendBoolToBitmap(isValid bool)
- type Uint8DictionaryBuilder
- func (b *Uint8DictionaryBuilder) Append(v uint8) error
- func (b *Uint8DictionaryBuilder) AppendArray(arr arrow.Array) error
- func (b *Uint8DictionaryBuilder) AppendEmptyValue()
- func (b *Uint8DictionaryBuilder) AppendNull()
- func (b *Uint8DictionaryBuilder) Cap() int
- func (b *Uint8DictionaryBuilder) InsertDictValues(arr *Uint8) (err error)
- func (b *Uint8DictionaryBuilder) NewArray() arrow.Array
- func (b *Uint8DictionaryBuilder) NewDelta() (indices, delta arrow.Array, err error)
- func (b *Uint8DictionaryBuilder) NewDictionaryArray() *Dictionary
- func (b *Uint8DictionaryBuilder) Release()
- func (b *Uint8DictionaryBuilder) Reserve(n int)
- func (b *Uint8DictionaryBuilder) ResetFull()
- func (b *Uint8DictionaryBuilder) Resize(n int)
- func (b *Uint8DictionaryBuilder) Type() arrow.DataType
- func (b *Uint8DictionaryBuilder) UnmarshalJSON(data []byte) error
- type Union
- type UnionBuilder
Examples ¶
Constants ¶
const (
// UnknownNullCount specifies the NullN should be calculated from the null bitmap buffer.
UnknownNullCount = -1
)
Variables ¶
This section is empty.
Functions ¶
func ApproxEqual ¶
func ApproxEqual(left, right arrow.Array, opts ...EqualOption) bool
ApproxEqual reports whether the two provided arrays are approximately equal. For non-floating point arrays, it is equivalent to ArrayEqual.
func ArrayApproxEqual
deprecated
func ArrayApproxEqual(left, right arrow.Array, opts ...EqualOption) bool
ArrayApproxEqual reports whether the two provided arrays are approximately equal. For non-floating point arrays, it is equivalent to ArrayEqual.
Deprecated: renamed to just ApproxEqual, this alias will be removed in v9. Please update calling code to just call array.ApproxEqual
func ArrayEqual
deprecated
func ArraySliceApproxEqual
deprecated
func ArraySliceApproxEqual(left arrow.Array, lbeg, lend int64, right arrow.Array, rbeg, rend int64, opts ...EqualOption) bool
ArraySliceApproxEqual reports whether slices left[lbeg:lend] and right[rbeg:rend] are approximately equal.
Deprecated: renamed to just SliceApproxEqual and will be removed in v9. Please update calling code to just call array.SliceApproxEqual.
func ArraySliceEqual
deprecated
ArraySliceEqual reports whether slices left[lbeg:lend] and right[rbeg:rend] are equal.
Deprecated: Renamed to just array.SliceEqual, this currently will just delegate to the renamed function and will be removed in v9. Please update any calling code.
func ChunkedApproxEqual ¶
func ChunkedApproxEqual(left, right *arrow.Chunked, opts ...EqualOption) bool
ChunkedApproxEqual reports whether two chunked arrays are approximately equal regardless of their chunkings for non-floating point arrays, this is equivalent to ChunkedEqual
func ChunkedEqual ¶
ChunkedEqual reports whether two chunked arrays are equal regardless of their chunkings
func ChunkedFromJSON ¶
func Concatenate ¶
Concatenate creates a new arrow.Array which is the concatenation of the passed in arrays. Returns nil if an error is encountered.
The passed in arrays still need to be released manually, and will not be released by this function.
func DictArrayFromJSON ¶
func FromJSON ¶
func FromJSON(mem memory.Allocator, dt arrow.DataType, r io.Reader, opts ...FromJSONOption) (arr arrow.Array, offset int64, err error)
FromJSON creates an arrow.Array from a corresponding JSON stream and defined data type. If the types in the json do not match the type provided, it will return errors. This is *not* the integration test format and should not be used as such. This intended to be used by consumers more similarly to the current exposing of the csv reader/writer. It also returns the input offset in the reader where it finished decoding since buffering by the decoder could leave the reader's cursor past where the parsing finished if attempting to parse multiple json arrays from one stream.
All the Array types implement json.Marshaller and thus can be written to json using the json.Marshal function
The JSON provided must be formatted in one of two ways:
Default: the top level of the json must be a list which matches the type specified exactly Example: `[1, 2, 3, 4, 5]` for any integer type or `[[...], null, [], .....]` for a List type Struct arrays are represented a list of objects: `[{"foo": 1, "bar": "moo"}, {"foo": 5, "bar": "baz"}]` Using WithMultipleDocs: If the JSON provided is multiple newline separated json documents, then use this option and each json document will be treated as a single row of the array. This is most useful for record batches and interacting with other processes that use json. For example: `{"col1": 1, "col2": "row1", "col3": ...}\n{"col1": 2, "col2": "row2", "col3": ...}\n.....`
Duration values get formated upon marshalling as a string consisting of their numeric value followed by the unit suffix such as "10s" for a value of 10 and unit of Seconds. with "ms" for millisecond, "us" for microsecond, and "ns" for nanosecond as the suffixes. Unmarshalling duration values is more permissive since it first tries to use Go's time.ParseDuration function which means it allows values in the form 3h25m0.3s in addition to the same values which are output.
Interval types are marshalled / unmarshalled as follows:
MonthInterval is marshalled as an object with the format: { "months": #} DayTimeInterval is marshalled using Go's regular marshalling of structs: { "days": #, "milliseconds": # } MonthDayNanoInterval values are marshalled the same as DayTime using Go's struct marshalling: { "months": #, "days": #, "nanoseconds": # }
Times use a format of HH:MM or HH:MM:SS[.zzz] where the fractions of a second cannot exceed the precision allowed by the time unit, otherwise unmarshalling will error.
Dates use YYYY-MM-DD format ¶
Timestamps use RFC3339Nano format except without a timezone, all of the following are valid:
YYYY-MM-DD YYYY-MM-DD[T]HH YYYY-MM-DD[T]HH:MM YYYY-MM-DD[T]HH:MM:SS[.zzzzzzzzzz]
The fractions of a second cannot exceed the precision allowed by the timeunit of the datatype.
When processing structs as objects order of keys does not matter, but keys cannot be repeated.
func IsTrivialTransposition ¶
func MakeArrayOfNull ¶
MakeArrayOfNull creates an array of size length which is all null of the given data type.
func MakeFromData ¶
MakeFromData constructs a strongly-typed array instance from generic Data.
func NewChunkedSlice ¶
NewChunkedSlice constructs a zero-copy slice of the chunked array with the indicated indices i and j, corresponding to array[i:j]. The returned chunked array must be Release()'d after use.
NewSlice panics if the slice is outside the valid range of the input array. NewSlice panics if j < i.
func NewColumnSlice ¶
NewColumnSlice returns a new zero-copy slice of the column with the indicated indices i and j, corresponding to the column's array[i:j]. The returned column must be Release()'d after use.
NewColSlice panics if the slice is outside the valid range of the column's array. NewColSlice panics if j < i.
func NewExtensionArrayWithStorage ¶
NewExtensionArrayWithStorage constructs a new ExtensionArray from the provided ExtensionType and uses the provided storage interface as the underlying storage. This will not release the storage array passed in so consumers should call Release on it manually while the new Extension array will share references to the underlying Data buffers.
func NewRecord ¶
NewRecord returns a basic, non-lazy in-memory record batch.
NewRecord panics if the columns and schema are inconsistent. NewRecord panics if rows is larger than the height of the columns.
func NewRecordReader ¶
NewRecordReader returns a simple iterator over the given slice of records.
func NewSlice ¶
NewSlice constructs a zero-copy slice of the array with the indicated indices i and j, corresponding to array[i:j]. The returned array must be Release()'d after use.
NewSlice panics if the slice is outside the valid range of the input array. NewSlice panics if j < i.
func NewSliceData ¶
NewSliceData returns a new slice that shares backing data with the input. The returned Data slice starts at i and extends j-i elements, such as:
slice := data[i:j]
The returned value must be Release'd after use.
NewSliceData panics if the slice is outside the valid range of the input Data. NewSliceData panics if j < i.
func NewTable ¶
NewTable returns a new basic, non-lazy in-memory table. If rows is negative, the number of rows will be inferred from the height of the columns.
NewTable panics if the columns and schema are inconsistent. NewTable panics if rows is larger than the height of the columns.
func NewTableFromRecords ¶
NewTableFromRecords returns a new basic, non-lazy in-memory table.
NewTableFromRecords panics if the records and schema are inconsistent.
func RecordApproxEqual ¶
func RecordApproxEqual(left, right arrow.Record, opts ...EqualOption) bool
RecordApproxEqual reports whether the two provided records are approximately equal. For non-floating point columns, it is equivalent to RecordEqual.
func RecordEqual ¶
RecordEqual reports whether the two provided records are equal.
func RecordFromJSON ¶
func RecordFromJSON(mem memory.Allocator, schema *arrow.Schema, r io.Reader, opts ...FromJSONOption) (arrow.Record, int64, error)
RecordFromJSON creates a record batch from JSON data. See array.FromJSON for the details of formatting and logic.
A record batch from JSON is equivalent to reading a struct array in from json and then converting it to a record batch.
func RecordFromStructArray ¶
RecordFromStructArray is a convenience function for converting a struct array into a record batch without copying the data. If the passed in schema is nil, the fields of the struct will be used to define the record batch. Otherwise the passed in schema will be used to create the record batch. If passed in, the schema must match the fields of the struct column.
func RecordToJSON ¶
RecordToJSON writes out the given record following the format of each row is a single object on a single line of the output.
func SliceApproxEqual ¶
func SliceApproxEqual(left arrow.Array, lbeg, lend int64, right arrow.Array, rbeg, rend int64, opts ...EqualOption) bool
SliceApproxEqual reports whether slices left[lbeg:lend] and right[rbeg:rend] are approximately equal.
func SliceEqual ¶
SliceEqual reports whether slices left[lbeg:lend] and right[rbeg:rend] are equal.
func TableApproxEqual ¶
func TableApproxEqual(left, right arrow.Table, opts ...EqualOption) bool
TableEqual returns if the two tables have the approximately equal data in the same schema
func TableEqual ¶
TableEqual returns if the two tables have the same data in the same schema
func TableFromJSON ¶
func TransposeDictIndices ¶
func UnifyChunkedDicts ¶
UnifyChunkedDicts takes a chunked array of dictionary type and will unify the dictionary across all of the chunks with the returned chunked array having all chunks share the same dictionary.
The return from this *must* have Release called on it unless an error is returned in which case the *arrow.Chunked will be nil.
If there is 1 or fewer chunks, then nothing is modified and this function will just call Retain on the passed in Chunked array (so Release can safely be called on it). The same is true if the type of the array is not a dictionary or if no changes are needed for all of the chunks to be using the same dictionary.
func UnifyTableDicts ¶
UnifyTableDicts performs UnifyChunkedDicts on each column of the table so that any dictionary column will have the dictionaries of its chunks unified.
The returned Table should always be Release'd unless a non-nil error was returned, in which case the table returned will be nil.
Types ¶
type Binary ¶
type Binary struct {
// contains filtered or unexported fields
}
A type which represents an immutable sequence of variable-length binary strings.
func NewBinaryData ¶
NewBinaryData constructs a new Binary array from data.
func (*Binary) IsNull ¶
IsNull returns true if value at index is null. NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Binary) IsValid ¶
IsValid returns true if value at index is not null. NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Binary) MarshalJSON ¶
func (*Binary) NullBitmapBytes ¶
func (a *Binary) NullBitmapBytes() []byte
NullBitmapBytes returns a byte slice of the validity bitmap.
func (*Binary) NullN ¶
func (a *Binary) NullN() int
NullN returns the number of null values in the array.
func (*Binary) Release ¶
func (a *Binary) Release()
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.
func (*Binary) Retain ¶
func (a *Binary) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*Binary) ValueBytes ¶
func (*Binary) ValueOffset ¶
func (*Binary) ValueOffset64 ¶
func (*Binary) ValueOffsets ¶
func (*Binary) ValueString ¶
ValueString returns the string at index i without performing additional allocations. The string is only valid for the lifetime of the Binary array.
type BinaryBuilder ¶
type BinaryBuilder struct {
// contains filtered or unexported fields
}
A BinaryBuilder is used to build a Binary array using the Append methods.
func NewBinaryBuilder ¶
func NewBinaryBuilder(mem memory.Allocator, dtype arrow.BinaryDataType) *BinaryBuilder
NewBinaryBuilder can be used for any of the variable length binary types, Binary, LargeBinary, String, LargeString by passing the appropriate data type
func (*BinaryBuilder) Append ¶
func (b *BinaryBuilder) Append(v []byte)
func (*BinaryBuilder) AppendEmptyValue ¶
func (b *BinaryBuilder) AppendEmptyValue()
func (*BinaryBuilder) AppendNull ¶
func (b *BinaryBuilder) AppendNull()
func (*BinaryBuilder) AppendString ¶
func (b *BinaryBuilder) AppendString(v string)
func (*BinaryBuilder) AppendStringValues ¶
func (b *BinaryBuilder) AppendStringValues(v []string, valid []bool)
AppendStringValues will append the values in the v slice. The valid slice determines which values in v are valid (not null). The valid slice must either be empty or be equal in length to v. If empty, all values in v are appended and considered valid.
func (*BinaryBuilder) AppendValues ¶
func (b *BinaryBuilder) AppendValues(v [][]byte, valid []bool)
AppendValues will append the values in the v slice. The valid slice determines which values in v are valid (not null). The valid slice must either be empty or be equal in length to v. If empty, all values in v are appended and considered valid.
func (*BinaryBuilder) Cap ¶
func (b *BinaryBuilder) Cap() int
Cap returns the total number of elements that can be stored without allocating additional memory.
func (*BinaryBuilder) DataCap ¶
func (b *BinaryBuilder) DataCap() int
DataCap returns the total number of bytes that can be stored without allocating additional memory.
func (*BinaryBuilder) DataLen ¶
func (b *BinaryBuilder) DataLen() int
DataLen returns the number of bytes in the data array.
func (*BinaryBuilder) Len ¶
func (b *BinaryBuilder) Len() int
Len returns the number of elements in the array builder.
func (*BinaryBuilder) NewArray ¶
func (b *BinaryBuilder) NewArray() arrow.Array
NewArray creates a Binary array from the memory buffers used by the builder and resets the BinaryBuilder so it can be used to build a new array.
Builds the appropriate Binary or LargeBinary array based on the datatype it was initialized with.
func (*BinaryBuilder) NewBinaryArray ¶
func (b *BinaryBuilder) NewBinaryArray() (a *Binary)
NewBinaryArray creates a Binary array from the memory buffers used by the builder and resets the BinaryBuilder so it can be used to build a new array.
func (*BinaryBuilder) NewLargeBinaryArray ¶
func (b *BinaryBuilder) NewLargeBinaryArray() (a *LargeBinary)
func (*BinaryBuilder) NullN ¶
func (b *BinaryBuilder) NullN() int
NullN returns the number of null values in the array builder.
func (*BinaryBuilder) Release ¶
func (b *BinaryBuilder) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed. Release may be called simultaneously from multiple goroutines.
func (*BinaryBuilder) Reserve ¶
func (b *BinaryBuilder) Reserve(n int)
Reserve ensures there is enough space for appending n elements by checking the capacity and calling Resize if necessary.
func (*BinaryBuilder) ReserveData ¶
func (b *BinaryBuilder) ReserveData(n int)
ReserveData ensures there is enough space for appending n bytes by checking the capacity and resizing the data buffer if necessary.
func (*BinaryBuilder) Resize ¶
func (b *BinaryBuilder) Resize(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 be reduced.
func (*BinaryBuilder) ResizeData ¶
func (b *BinaryBuilder) ResizeData(n int)
func (*BinaryBuilder) Retain ¶
func (b *BinaryBuilder) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*BinaryBuilder) Type ¶
func (b *BinaryBuilder) Type() arrow.DataType
func (*BinaryBuilder) UnmarshalJSON ¶
func (b *BinaryBuilder) UnmarshalJSON(data []byte) error
func (*BinaryBuilder) UnsafeAppend ¶
func (b *BinaryBuilder) UnsafeAppend(v []byte)
func (*BinaryBuilder) UnsafeAppendBoolToBitmap ¶
func (b *BinaryBuilder) UnsafeAppendBoolToBitmap(isValid bool)
func (*BinaryBuilder) Value ¶
func (b *BinaryBuilder) Value(i int) []byte
type BinaryDictionaryBuilder ¶
type BinaryDictionaryBuilder struct {
// contains filtered or unexported fields
}
func (*BinaryDictionaryBuilder) Append ¶
func (b *BinaryDictionaryBuilder) Append(v []byte) error
func (*BinaryDictionaryBuilder) AppendArray ¶
func (*BinaryDictionaryBuilder) AppendEmptyValue ¶
func (b *BinaryDictionaryBuilder) AppendEmptyValue()
func (*BinaryDictionaryBuilder) AppendNull ¶
func (b *BinaryDictionaryBuilder) AppendNull()
func (*BinaryDictionaryBuilder) AppendString ¶
func (b *BinaryDictionaryBuilder) AppendString(v string) error
func (*BinaryDictionaryBuilder) InsertDictValues ¶
func (b *BinaryDictionaryBuilder) InsertDictValues(arr *Binary) (err error)
func (*BinaryDictionaryBuilder) InsertStringDictValues ¶
func (b *BinaryDictionaryBuilder) InsertStringDictValues(arr *String) (err error)
func (*BinaryDictionaryBuilder) NewDelta ¶
NewDelta returns the dictionary indices and a delta dictionary since the last time NewArray or NewDictionaryArray were called, and resets the state of the builder (except for the dictionary / memotable)
func (*BinaryDictionaryBuilder) NewDictionaryArray ¶
func (b *BinaryDictionaryBuilder) NewDictionaryArray() *Dictionary
func (*BinaryDictionaryBuilder) UnmarshalJSON ¶
UnmarshalJSON is not yet implemented for dictionary builders and will always error.
type BinaryLike ¶
type Boolean ¶
type Boolean struct {
// contains filtered or unexported fields
}
A type which represents an immutable sequence of boolean values.
func NewBoolean ¶
NewBoolean creates a boolean array from the data memory.Buffer and contains length elements. The nullBitmap buffer can be nil of there are no null values. If nulls is not known, use UnknownNullCount to calculate the value of NullN at runtime from the nullBitmap buffer.
func NewBooleanData ¶
func (*Boolean) IsNull ¶
IsNull returns true if value at index is null. NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Boolean) IsValid ¶
IsValid returns true if value at index is not null. NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Boolean) MarshalJSON ¶
func (*Boolean) NullBitmapBytes ¶
func (a *Boolean) NullBitmapBytes() []byte
NullBitmapBytes returns a byte slice of the validity bitmap.
func (*Boolean) NullN ¶
func (a *Boolean) NullN() int
NullN returns the number of null values in the array.
func (*Boolean) Release ¶
func (a *Boolean) Release()
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.
type BooleanBuilder ¶
type BooleanBuilder struct {
// contains filtered or unexported fields
}
func NewBooleanBuilder ¶
func NewBooleanBuilder(mem memory.Allocator) *BooleanBuilder
func (*BooleanBuilder) Append ¶
func (b *BooleanBuilder) Append(v bool)
func (*BooleanBuilder) AppendByte ¶
func (b *BooleanBuilder) AppendByte(v byte)
func (*BooleanBuilder) AppendEmptyValue ¶
func (b *BooleanBuilder) AppendEmptyValue()
func (*BooleanBuilder) AppendNull ¶
func (b *BooleanBuilder) AppendNull()
func (*BooleanBuilder) AppendValues ¶
func (b *BooleanBuilder) AppendValues(v []bool, valid []bool)
func (*BooleanBuilder) Cap ¶
func (b *BooleanBuilder) Cap() int
Cap returns the total number of elements that can be stored without allocating additional memory.
func (*BooleanBuilder) Len ¶
func (b *BooleanBuilder) Len() int
Len returns the number of elements in the array builder.
func (*BooleanBuilder) NewArray ¶
func (b *BooleanBuilder) NewArray() arrow.Array
NewArray creates a Boolean array from the memory buffers used by the builder and resets the BooleanBuilder so it can be used to build a new array.
func (*BooleanBuilder) NewBooleanArray ¶
func (b *BooleanBuilder) NewBooleanArray() (a *Boolean)
NewBooleanArray creates a Boolean array from the memory buffers used by the builder and resets the BooleanBuilder so it can be used to build a new array.
func (*BooleanBuilder) NullN ¶
func (b *BooleanBuilder) NullN() int
NullN returns the number of null values in the array builder.
func (*BooleanBuilder) Release ¶
func (b *BooleanBuilder) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed. Release may be called simultaneously from multiple goroutines.
func (*BooleanBuilder) Reserve ¶
func (b *BooleanBuilder) Reserve(n int)
Reserve ensures there is enough space for appending n elements by checking the capacity and calling Resize if necessary.
func (*BooleanBuilder) Resize ¶
func (b *BooleanBuilder) Resize(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.
func (*BooleanBuilder) Retain ¶
func (b *BooleanBuilder) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*BooleanBuilder) Type ¶
func (b *BooleanBuilder) Type() arrow.DataType
func (*BooleanBuilder) UnmarshalJSON ¶
func (b *BooleanBuilder) UnmarshalJSON(data []byte) error
func (*BooleanBuilder) UnsafeAppend ¶
func (b *BooleanBuilder) UnsafeAppend(v bool)
func (*BooleanBuilder) UnsafeAppendBoolToBitmap ¶
func (b *BooleanBuilder) UnsafeAppendBoolToBitmap(isValid bool)
type Builder ¶
type Builder interface { // you can unmarshal a json array to add the values to a builder json.Unmarshaler // Type returns the datatype that this is building Type() arrow.DataType // 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() // AppendEmptyValue adds a new zero value of the appropriate type AppendEmptyValue() // 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() arrow.Array UnsafeAppendBoolToBitmap(bool) // contains filtered or unexported methods }
Builder provides an interface to build arrow arrays.
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data represents the memory and metadata of an Arrow array.
func NewData ¶
func NewData(dtype arrow.DataType, length int, buffers []*memory.Buffer, childData []arrow.ArrayData, nulls, offset int) *Data
NewData creates a new Data.
func NewDataWithDictionary ¶
func NewDataWithDictionary(dtype arrow.DataType, length int, buffers []*memory.Buffer, nulls, offset int, dict *Data) *Data
NewDataWithDictionary creates a new data object, but also sets the provided dictionary into the data if it's not nil
func (*Data) Dictionary ¶
Dictionary returns the ArrayData object for the dictionary member, or nil
func (*Data) Release ¶
func (d *Data) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed. Release may be called simultaneously from multiple goroutines.
func (*Data) Reset ¶
func (d *Data) Reset(dtype arrow.DataType, length int, buffers []*memory.Buffer, childData []arrow.ArrayData, nulls, offset int)
Reset sets the Data for re-use.
func (*Data) Retain ¶
func (d *Data) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*Data) SetDictionary ¶
SetDictionary allows replacing the dictionary for this particular Data object
type Date32 ¶
type Date32 struct {
// contains filtered or unexported fields
}
A type which represents an immutable sequence of arrow.Date32 values.
func NewDate32Data ¶
NewDate32Data creates a new Date32.
func (*Date32) Date32Values ¶
Values returns the values.
func (*Date32) IsNull ¶
IsNull returns true if value at index is null. NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Date32) IsValid ¶
IsValid returns true if value at index is not null. NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Date32) MarshalJSON ¶
func (*Date32) NullBitmapBytes ¶
func (a *Date32) NullBitmapBytes() []byte
NullBitmapBytes returns a byte slice of the validity bitmap.
func (*Date32) NullN ¶
func (a *Date32) NullN() int
NullN returns the number of null values in the array.
func (*Date32) Release ¶
func (a *Date32) Release()
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.
func (*Date32) Retain ¶
func (a *Date32) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
type Date32Builder ¶
type Date32Builder struct {
// contains filtered or unexported fields
}
func NewDate32Builder ¶
func NewDate32Builder(mem memory.Allocator) *Date32Builder
func (*Date32Builder) Append ¶
func (b *Date32Builder) Append(v arrow.Date32)
func (*Date32Builder) AppendEmptyValue ¶
func (b *Date32Builder) AppendEmptyValue()
func (*Date32Builder) AppendNull ¶
func (b *Date32Builder) AppendNull()
func (*Date32Builder) AppendValues ¶
func (b *Date32Builder) AppendValues(v []arrow.Date32, valid []bool)
AppendValues will append the values in the v slice. The valid slice determines which values in v are valid (not null). The valid slice must either be empty or be equal in length to v. If empty, all values in v are appended and considered valid.
func (*Date32Builder) Cap ¶
func (b *Date32Builder) Cap() int
Cap returns the total number of elements that can be stored without allocating additional memory.
func (*Date32Builder) Len ¶
func (b *Date32Builder) Len() int
Len returns the number of elements in the array builder.
func (*Date32Builder) NewArray ¶
func (b *Date32Builder) NewArray() arrow.Array
NewArray creates a Date32 array from the memory buffers used by the builder and resets the Date32Builder so it can be used to build a new array.
func (*Date32Builder) NewDate32Array ¶
func (b *Date32Builder) NewDate32Array() (a *Date32)
NewDate32Array creates a Date32 array from the memory buffers used by the builder and resets the Date32Builder so it can be used to build a new array.
func (*Date32Builder) NullN ¶
func (b *Date32Builder) NullN() int
NullN returns the number of null values in the array builder.
func (*Date32Builder) Release ¶
func (b *Date32Builder) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed.
func (*Date32Builder) Reserve ¶
func (b *Date32Builder) Reserve(n int)
Reserve ensures there is enough space for appending n elements by checking the capacity and calling Resize if necessary.
func (*Date32Builder) Resize ¶
func (b *Date32Builder) Resize(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.
func (*Date32Builder) Retain ¶
func (b *Date32Builder) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*Date32Builder) Type ¶
func (b *Date32Builder) Type() arrow.DataType
func (*Date32Builder) UnmarshalJSON ¶
func (b *Date32Builder) UnmarshalJSON(data []byte) error
func (*Date32Builder) UnsafeAppend ¶
func (b *Date32Builder) UnsafeAppend(v arrow.Date32)
func (*Date32Builder) UnsafeAppendBoolToBitmap ¶
func (b *Date32Builder) UnsafeAppendBoolToBitmap(isValid bool)
type Date32DictionaryBuilder ¶
type Date32DictionaryBuilder struct {
// contains filtered or unexported fields
}
func (*Date32DictionaryBuilder) Append ¶
func (b *Date32DictionaryBuilder) Append(v arrow.Date32) error
func (*Date32DictionaryBuilder) AppendArray ¶
func (*Date32DictionaryBuilder) AppendEmptyValue ¶
func (b *Date32DictionaryBuilder) AppendEmptyValue()
func (*Date32DictionaryBuilder) AppendNull ¶
func (b *Date32DictionaryBuilder) AppendNull()
func (*Date32DictionaryBuilder) InsertDictValues ¶
func (b *Date32DictionaryBuilder) InsertDictValues(arr *Date32) (err error)
func (*Date32DictionaryBuilder) NewDelta ¶
NewDelta returns the dictionary indices and a delta dictionary since the last time NewArray or NewDictionaryArray were called, and resets the state of the builder (except for the dictionary / memotable)
func (*Date32DictionaryBuilder) NewDictionaryArray ¶
func (b *Date32DictionaryBuilder) NewDictionaryArray() *Dictionary
func (*Date32DictionaryBuilder) UnmarshalJSON ¶
UnmarshalJSON is not yet implemented for dictionary builders and will always error.
type Date64 ¶
type Date64 struct {
// contains filtered or unexported fields
}
A type which represents an immutable sequence of arrow.Date64 values.
func NewDate64Data ¶
NewDate64Data creates a new Date64.
func (*Date64) Date64Values ¶
Values returns the values.
func (*Date64) IsNull ¶
IsNull returns true if value at index is null. NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Date64) IsValid ¶
IsValid returns true if value at index is not null. NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Date64) MarshalJSON ¶
func (*Date64) NullBitmapBytes ¶
func (a *Date64) NullBitmapBytes() []byte
NullBitmapBytes returns a byte slice of the validity bitmap.
func (*Date64) NullN ¶
func (a *Date64) NullN() int
NullN returns the number of null values in the array.
func (*Date64) Release ¶
func (a *Date64) Release()
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.
func (*Date64) Retain ¶
func (a *Date64) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
type Date64Builder ¶
type Date64Builder struct {
// contains filtered or unexported fields
}
func NewDate64Builder ¶
func NewDate64Builder(mem memory.Allocator) *Date64Builder
func (*Date64Builder) Append ¶
func (b *Date64Builder) Append(v arrow.Date64)
func (*Date64Builder) AppendEmptyValue ¶
func (b *Date64Builder) AppendEmptyValue()
func (*Date64Builder) AppendNull ¶
func (b *Date64Builder) AppendNull()
func (*Date64Builder) AppendValues ¶
func (b *Date64Builder) AppendValues(v []arrow.Date64, valid []bool)
AppendValues will append the values in the v slice. The valid slice determines which values in v are valid (not null). The valid slice must either be empty or be equal in length to v. If empty, all values in v are appended and considered valid.
func (*Date64Builder) Cap ¶
func (b *Date64Builder) Cap() int
Cap returns the total number of elements that can be stored without allocating additional memory.
func (*Date64Builder) Len ¶
func (b *Date64Builder) Len() int
Len returns the number of elements in the array builder.
func (*Date64Builder) NewArray ¶
func (b *Date64Builder) NewArray() arrow.Array
NewArray creates a Date64 array from the memory buffers used by the builder and resets the Date64Builder so it can be used to build a new array.
func (*Date64Builder) NewDate64Array ¶
func (b *Date64Builder) NewDate64Array() (a *Date64)
NewDate64Array creates a Date64 array from the memory buffers used by the builder and resets the Date64Builder so it can be used to build a new array.
func (*Date64Builder) NullN ¶
func (b *Date64Builder) NullN() int
NullN returns the number of null values in the array builder.
func (*Date64Builder) Release ¶
func (b *Date64Builder) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed.
func (*Date64Builder) Reserve ¶
func (b *Date64Builder) Reserve(n int)
Reserve ensures there is enough space for appending n elements by checking the capacity and calling Resize if necessary.
func (*Date64Builder) Resize ¶
func (b *Date64Builder) Resize(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.
func (*Date64Builder) Retain ¶
func (b *Date64Builder) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*Date64Builder) Type ¶
func (b *Date64Builder) Type() arrow.DataType
func (*Date64Builder) UnmarshalJSON ¶
func (b *Date64Builder) UnmarshalJSON(data []byte) error
func (*Date64Builder) UnsafeAppend ¶
func (b *Date64Builder) UnsafeAppend(v arrow.Date64)
func (*Date64Builder) UnsafeAppendBoolToBitmap ¶
func (b *Date64Builder) UnsafeAppendBoolToBitmap(isValid bool)
type Date64DictionaryBuilder ¶
type Date64DictionaryBuilder struct {
// contains filtered or unexported fields
}
func (*Date64DictionaryBuilder) Append ¶
func (b *Date64DictionaryBuilder) Append(v arrow.Date64) error
func (*Date64DictionaryBuilder) AppendArray ¶
func (*Date64DictionaryBuilder) AppendEmptyValue ¶
func (b *Date64DictionaryBuilder) AppendEmptyValue()
func (*Date64DictionaryBuilder) AppendNull ¶
func (b *Date64DictionaryBuilder) AppendNull()
func (*Date64DictionaryBuilder) InsertDictValues ¶
func (b *Date64DictionaryBuilder) InsertDictValues(arr *Date64) (err error)
func (*Date64DictionaryBuilder) NewDelta ¶
NewDelta returns the dictionary indices and a delta dictionary since the last time NewArray or NewDictionaryArray were called, and resets the state of the builder (except for the dictionary / memotable)
func (*Date64DictionaryBuilder) NewDictionaryArray ¶
func (b *Date64DictionaryBuilder) NewDictionaryArray() *Dictionary
func (*Date64DictionaryBuilder) UnmarshalJSON ¶
UnmarshalJSON is not yet implemented for dictionary builders and will always error.
type DayTimeDictionaryBuilder ¶
type DayTimeDictionaryBuilder struct {
// contains filtered or unexported fields
}
func (*DayTimeDictionaryBuilder) Append ¶
func (b *DayTimeDictionaryBuilder) Append(v arrow.DayTimeInterval) error
func (*DayTimeDictionaryBuilder) AppendArray ¶
func (*DayTimeDictionaryBuilder) AppendEmptyValue ¶
func (b *DayTimeDictionaryBuilder) AppendEmptyValue()
func (*DayTimeDictionaryBuilder) AppendNull ¶
func (b *DayTimeDictionaryBuilder) AppendNull()
func (*DayTimeDictionaryBuilder) InsertDictValues ¶
func (b *DayTimeDictionaryBuilder) InsertDictValues(arr *DayTimeInterval) (err error)
func (*DayTimeDictionaryBuilder) NewDelta ¶
NewDelta returns the dictionary indices and a delta dictionary since the last time NewArray or NewDictionaryArray were called, and resets the state of the builder (except for the dictionary / memotable)
func (*DayTimeDictionaryBuilder) NewDictionaryArray ¶
func (b *DayTimeDictionaryBuilder) NewDictionaryArray() *Dictionary
func (*DayTimeDictionaryBuilder) UnmarshalJSON ¶
UnmarshalJSON is not yet implemented for dictionary builders and will always error.
type DayTimeInterval ¶
type DayTimeInterval struct {
// contains filtered or unexported fields
}
A type which represents an immutable sequence of arrow.DayTimeInterval values.
func NewDayTimeIntervalData ¶
func NewDayTimeIntervalData(data arrow.ArrayData) *DayTimeInterval
func (*DayTimeInterval) DayTimeIntervalValues ¶
func (a *DayTimeInterval) DayTimeIntervalValues() []arrow.DayTimeInterval
func (*DayTimeInterval) IsNull ¶
IsNull returns true if value at index is null. NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*DayTimeInterval) IsValid ¶
IsValid returns true if value at index is not null. NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*DayTimeInterval) Len ¶
func (a *DayTimeInterval) Len() int
Len returns the number of elements in the array.
func (*DayTimeInterval) MarshalJSON ¶
func (a *DayTimeInterval) MarshalJSON() ([]byte, error)
MarshalJSON will marshal this array to JSON as an array of objects, consisting of the form {"days": #, "milliseconds": #} for each element.
func (*DayTimeInterval) NullBitmapBytes ¶
func (a *DayTimeInterval) NullBitmapBytes() []byte
NullBitmapBytes returns a byte slice of the validity bitmap.
func (*DayTimeInterval) NullN ¶
func (a *DayTimeInterval) NullN() int
NullN returns the number of null values in the array.
func (*DayTimeInterval) Release ¶
func (a *DayTimeInterval) Release()
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.
func (*DayTimeInterval) Retain ¶
func (a *DayTimeInterval) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*DayTimeInterval) String ¶
func (a *DayTimeInterval) String() string
func (*DayTimeInterval) Value ¶
func (a *DayTimeInterval) Value(i int) arrow.DayTimeInterval
type DayTimeIntervalBuilder ¶
type DayTimeIntervalBuilder struct {
// contains filtered or unexported fields
}
func NewDayTimeIntervalBuilder ¶
func NewDayTimeIntervalBuilder(mem memory.Allocator) *DayTimeIntervalBuilder
func (*DayTimeIntervalBuilder) Append ¶
func (b *DayTimeIntervalBuilder) Append(v arrow.DayTimeInterval)
func (*DayTimeIntervalBuilder) AppendEmptyValue ¶
func (b *DayTimeIntervalBuilder) AppendEmptyValue()
func (*DayTimeIntervalBuilder) AppendNull ¶
func (b *DayTimeIntervalBuilder) AppendNull()
func (*DayTimeIntervalBuilder) AppendValues ¶
func (b *DayTimeIntervalBuilder) AppendValues(v []arrow.DayTimeInterval, valid []bool)
AppendValues will append the values in the v slice. The valid slice determines which values in v are valid (not null). The valid slice must either be empty or be equal in length to v. If empty, all values in v are appended and considered valid.
func (*DayTimeIntervalBuilder) Cap ¶
func (b *DayTimeIntervalBuilder) Cap() int
Cap returns the total number of elements that can be stored without allocating additional memory.
func (*DayTimeIntervalBuilder) Len ¶
func (b *DayTimeIntervalBuilder) Len() int
Len returns the number of elements in the array builder.
func (*DayTimeIntervalBuilder) NewArray ¶
func (b *DayTimeIntervalBuilder) NewArray() arrow.Array
NewArray creates a DayTimeInterval array from the memory buffers used by the builder and resets the DayTimeIntervalBuilder so it can be used to build a new array.
func (*DayTimeIntervalBuilder) NewDayTimeIntervalArray ¶
func (b *DayTimeIntervalBuilder) NewDayTimeIntervalArray() (a *DayTimeInterval)
NewDayTimeIntervalArray creates a DayTimeInterval array from the memory buffers used by the builder and resets the DayTimeIntervalBuilder so it can be used to build a new array.
func (*DayTimeIntervalBuilder) NullN ¶
func (b *DayTimeIntervalBuilder) NullN() int
NullN returns the number of null values in the array builder.
func (*DayTimeIntervalBuilder) Release ¶
func (b *DayTimeIntervalBuilder) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed.
func (*DayTimeIntervalBuilder) Reserve ¶
func (b *DayTimeIntervalBuilder) Reserve(n int)
Reserve ensures there is enough space for appending n elements by checking the capacity and calling Resize if necessary.
func (*DayTimeIntervalBuilder) Resize ¶
func (b *DayTimeIntervalBuilder) Resize(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.
func (*DayTimeIntervalBuilder) Retain ¶
func (b *DayTimeIntervalBuilder) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*DayTimeIntervalBuilder) Type ¶
func (b *DayTimeIntervalBuilder) Type() arrow.DataType
func (*DayTimeIntervalBuilder) UnmarshalJSON ¶
func (b *DayTimeIntervalBuilder) UnmarshalJSON(data []byte) error
UnmarshalJSON will add the values unmarshalled from an array to the builder, with the values expected to be objects of the form {"days": #, "milliseconds": #}
func (*DayTimeIntervalBuilder) UnsafeAppend ¶
func (b *DayTimeIntervalBuilder) UnsafeAppend(v arrow.DayTimeInterval)
func (*DayTimeIntervalBuilder) UnsafeAppendBoolToBitmap ¶
func (b *DayTimeIntervalBuilder) UnsafeAppendBoolToBitmap(isValid bool)
type Decimal128 ¶
type Decimal128 struct {
// contains filtered or unexported fields
}
A type which represents an immutable sequence of 128-bit decimal values.
func NewDecimal128Data ¶
func NewDecimal128Data(data arrow.ArrayData) *Decimal128
func (*Decimal128) IsNull ¶
IsNull returns true if value at index is null. NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Decimal128) IsValid ¶
IsValid returns true if value at index is not null. NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Decimal128) Len ¶
func (a *Decimal128) Len() int
Len returns the number of elements in the array.
func (*Decimal128) MarshalJSON ¶
func (a *Decimal128) MarshalJSON() ([]byte, error)
func (*Decimal128) NullBitmapBytes ¶
func (a *Decimal128) NullBitmapBytes() []byte
NullBitmapBytes returns a byte slice of the validity bitmap.
func (*Decimal128) NullN ¶
func (a *Decimal128) NullN() int
NullN returns the number of null values in the array.
func (*Decimal128) Release ¶
func (a *Decimal128) Release()
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.
func (*Decimal128) Retain ¶
func (a *Decimal128) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*Decimal128) String ¶
func (a *Decimal128) String() string
func (*Decimal128) Value ¶
func (a *Decimal128) Value(i int) decimal128.Num
func (*Decimal128) Values ¶
func (a *Decimal128) Values() []decimal128.Num
type Decimal128Builder ¶
type Decimal128Builder struct {
// contains filtered or unexported fields
}
func NewDecimal128Builder ¶
func NewDecimal128Builder(mem memory.Allocator, dtype *arrow.Decimal128Type) *Decimal128Builder
func (*Decimal128Builder) Append ¶
func (b *Decimal128Builder) Append(v decimal128.Num)
func (*Decimal128Builder) AppendEmptyValue ¶
func (b *Decimal128Builder) AppendEmptyValue()
func (*Decimal128Builder) AppendNull ¶
func (b *Decimal128Builder) AppendNull()
func (*Decimal128Builder) AppendValues ¶
func (b *Decimal128Builder) AppendValues(v []decimal128.Num, valid []bool)
AppendValues will append the values in the v slice. The valid slice determines which values in v are valid (not null). The valid slice must either be empty or be equal in length to v. If empty, all values in v are appended and considered valid.
func (*Decimal128Builder) Cap ¶
func (b *Decimal128Builder) Cap() int
Cap returns the total number of elements that can be stored without allocating additional memory.
func (*Decimal128Builder) Len ¶
func (b *Decimal128Builder) Len() int
Len returns the number of elements in the array builder.
func (*Decimal128Builder) NewArray ¶
func (b *Decimal128Builder) NewArray() arrow.Array
NewArray creates a Decimal128 array from the memory buffers used by the builder and resets the Decimal128Builder so it can be used to build a new array.
func (*Decimal128Builder) NewDecimal128Array ¶
func (b *Decimal128Builder) NewDecimal128Array() (a *Decimal128)
NewDecimal128Array creates a Decimal128 array from the memory buffers used by the builder and resets the Decimal128Builder so it can be used to build a new array.
func (*Decimal128Builder) NullN ¶
func (b *Decimal128Builder) NullN() int
NullN returns the number of null values in the array builder.
func (*Decimal128Builder) Release ¶
func (b *Decimal128Builder) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed.
func (*Decimal128Builder) Reserve ¶
func (b *Decimal128Builder) Reserve(n int)
Reserve ensures there is enough space for appending n elements by checking the capacity and calling Resize if necessary.
func (*Decimal128Builder) Resize ¶
func (b *Decimal128Builder) Resize(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.
func (*Decimal128Builder) Retain ¶
func (b *Decimal128Builder) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*Decimal128Builder) Type ¶
func (b *Decimal128Builder) Type() arrow.DataType
func (*Decimal128Builder) UnmarshalJSON ¶
func (b *Decimal128Builder) UnmarshalJSON(data []byte) error
UnmarshalJSON will add the unmarshalled values to this builder.
If the values are strings, they will get parsed with big.ParseFloat using a rounding mode of big.ToNearestAway currently.
func (*Decimal128Builder) UnsafeAppend ¶
func (b *Decimal128Builder) UnsafeAppend(v decimal128.Num)
func (*Decimal128Builder) UnsafeAppendBoolToBitmap ¶
func (b *Decimal128Builder) UnsafeAppendBoolToBitmap(isValid bool)
type Decimal128DictionaryBuilder ¶
type Decimal128DictionaryBuilder struct {
// contains filtered or unexported fields
}
func (*Decimal128DictionaryBuilder) Append ¶
func (b *Decimal128DictionaryBuilder) Append(v decimal128.Num) error
func (*Decimal128DictionaryBuilder) AppendArray ¶
func (*Decimal128DictionaryBuilder) AppendEmptyValue ¶
func (b *Decimal128DictionaryBuilder) AppendEmptyValue()
func (*Decimal128DictionaryBuilder) AppendNull ¶
func (b *Decimal128DictionaryBuilder) AppendNull()
func (*Decimal128DictionaryBuilder) InsertDictValues ¶
func (b *Decimal128DictionaryBuilder) InsertDictValues(arr *Decimal128) (err error)
func (*Decimal128DictionaryBuilder) NewDelta ¶
NewDelta returns the dictionary indices and a delta dictionary since the last time NewArray or NewDictionaryArray were called, and resets the state of the builder (except for the dictionary / memotable)
func (*Decimal128DictionaryBuilder) NewDictionaryArray ¶
func (b *Decimal128DictionaryBuilder) NewDictionaryArray() *Dictionary
func (*Decimal128DictionaryBuilder) UnmarshalJSON ¶
UnmarshalJSON is not yet implemented for dictionary builders and will always error.
type Decimal256 ¶
type Decimal256 struct {
// contains filtered or unexported fields
}
Decimal256 is a type that represents an immutable sequence of 256-bit decimal values.
func NewDecimal256Data ¶
func NewDecimal256Data(data arrow.ArrayData) *Decimal256
func (*Decimal256) IsNull ¶
IsNull returns true if value at index is null. NOTE: IsNull will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Decimal256) IsValid ¶
IsValid returns true if value at index is not null. NOTE: IsValid will panic if NullBitmapBytes is not empty and 0 > i ≥ Len.
func (*Decimal256) Len ¶
func (a *Decimal256) Len() int
Len returns the number of elements in the array.
func (*Decimal256) MarshalJSON ¶
func (a *Decimal256) MarshalJSON() ([]byte, error)
func (*Decimal256) NullBitmapBytes ¶
func (a *Decimal256) NullBitmapBytes() []byte
NullBitmapBytes returns a byte slice of the validity bitmap.
func (*Decimal256) NullN ¶
func (a *Decimal256) NullN() int
NullN returns the number of null values in the array.
func (*Decimal256) Release ¶
func (a *Decimal256) Release()
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.
func (*Decimal256) Retain ¶
func (a *Decimal256) Retain()
Retain increases the reference count by 1. Retain may be called simultaneously from multiple goroutines.
func (*Decimal256) String ¶
func (a *Decimal256) String() string
func (*Decimal256) Value ¶
func (a *Decimal256) Value(i int) decimal256.Num
func (*Decimal256) Values ¶
func (a *Decimal256) Values() []decimal256.Num
type Decimal256Builder ¶
type Decimal256Builder struct {
// contains filtered or unexported fields
}
func NewDecimal256Builder ¶
func NewDecimal256Builder(mem memory.Allocator, dtype *arrow.Decimal256Type) *Decimal256Builder
func (*Decimal256Builder) Append ¶
func (b *Decimal256Builder) Append(v decimal256.Num)
func (*Decimal256Builder) AppendEmptyValue ¶
func (b *Decimal256Builder) AppendEmptyValue()
func (*Decimal256Builder) AppendNull ¶
func (b *Decimal256Builder) AppendNull()
func (*Decimal256Builder) AppendValues ¶
func (b *Decimal256Builder) AppendValues(v []decimal256.Num, valid []bool)
AppendValues will append the values in the v slice. The valid slice determines which values in v are valid (not null). The valid slice must either be empty or be equal in length to v. If empty, all values in v are appended and considered valid.
func (*Decimal256Builder) Cap ¶
func (b *Decimal256Builder) Cap() int
Cap returns the total number of elements that can be stored without allocating additional memory.
func (*Decimal256Builder) Len ¶
func (b *Decimal256Builder) Len() int
Len returns the number of elements in the array builder.
func (*Decimal256Builder) NewArray ¶
func (b *Decimal256Builder) NewArray() arrow.Array
NewArray creates a Decimal256 array from the memory buffers used by the builder and resets the Decimal256Builder so it can be used to build a new array.
func (*Decimal256Builder) NewDecimal256Array ¶
func (b *Decimal256Builder) NewDecimal256Array() (a *Decimal256)
NewDecimal256Array creates a Decimal256 array from the memory buffers used by the builder and resets the Decimal256Builder so it can be used to build a new array.
func (*Decimal256Builder) NullN ¶
func (b *Decimal256Builder) NullN() int
NullN returns the number of null values in the array builder.
func (*Decimal256Builder) Release ¶
func (b *Decimal256Builder) Release()
Release decreases the reference count by 1. When the reference count goes to zero, the memory is freed.