Versions in this module Expand all Collapse all v12 v12.0.1 Jun 7, 2023 v12.0.0 Apr 21, 2023 Changes in this version + func CollectDictionaries(batch arrow.Record, mapper *Mapper) (out []dictpair, err error) + func ResolveDictionaries(memo *Memo, cols []arrow.ArrayData, parentPos FieldPos, mem memory.Allocator) error + func ResolveFieldDict(memo *Memo, data arrow.ArrayData, pos FieldPos, mem memory.Allocator) error + type FieldPos struct + func NewFieldPos() FieldPos + func (f *FieldPos) Child(index int32) FieldPos + func (f *FieldPos) Path() []int32 + type Kind int8 + const KindDelta + const KindNew + const KindReplacement + type Mapper struct + func (d *Mapper) AddField(id int64, fieldPath []int32) error + func (d *Mapper) GetFieldID(fieldPath []int32) (int64, error) + func (d *Mapper) ImportField(pos FieldPos, field *arrow.Field) + func (d *Mapper) ImportFields(pos FieldPos, fields []arrow.Field) + func (d *Mapper) ImportSchema(schema *arrow.Schema) + func (d *Mapper) InsertPath(pos FieldPos) + func (d *Mapper) NumDicts() int + func (d *Mapper) NumFields() int + type Memo struct + Mapper Mapper + func NewMemo() Memo + func (memo *Memo) Add(id int64, v arrow.ArrayData) + func (memo *Memo) AddDelta(id int64, v arrow.ArrayData) + func (memo *Memo) AddOrReplace(id int64, v arrow.ArrayData) bool + func (memo *Memo) AddType(id int64, typ arrow.DataType) error + func (memo *Memo) Clear() + func (memo *Memo) Dict(id int64, mem memory.Allocator) (arrow.ArrayData, error) + func (memo *Memo) Len() int + func (memo *Memo) Type(id int64) (arrow.DataType, bool) + func (memo Memo) HasDict(v arrow.ArrayData) bool + func (memo Memo) HasID(id int64) bool Other modules containing this package github.com/apache/arrow/go/v10 github.com/apache/arrow/go/v11 github.com/apache/arrow/go/v13 github.com/apache/arrow/go/v14 github.com/apache/arrow/go/v15 github.com/apache/arrow/go/v16 github.com/apache/arrow/go/v17 github.com/apache/arrow/go/v8 github.com/apache/arrow/go/v9