public override FloatDictionaryArray Build(MemoryAllocator allocator) { allocator = allocator ?? MemoryAllocator.Default.Value; return(new FloatDictionaryArray(IndicesBuffer.Length, ValuesBuffer.Length, IndicesBuffer.Build(allocator), ValuesBuffer.Build(allocator), ArrowBuffer.Empty)); }
public StringDictionaryArray Build(MemoryAllocator allocator) { ValueOffsets.Append(Offset); return(new StringDictionaryArray(IndicesBuffer.Length, Entries.Count, NullBitmap.Build(allocator), IndicesBuffer.Build(allocator), ValueBuffer.Build(allocator), ValueOffsets.Build(allocator), NullCount)); }