Skip to main content

Module binary_map

Module binary_map 

Source
Expand description

ArrowBytesMap and ArrowBytesSet for storing maps/sets of values from StringArray / LargeStringArray / BinaryArray / LargeBinaryArray.

Structs§

ArrowBytesMap
Optimized map for storing Arrow “bytes” types (String, LargeString, Binary, and LargeBinary) values that can produce the set of keys on output as GenericBinaryArray without copies.
ArrowBytesSet
HashSet optimized for storing string or binary values that can produce that the final set as a GenericStringArray with minimal copies.

Enums§

OutputType
Should the output be a String or Binary?

Constants§

INITIAL_BUFFER_CAPACITY
The size, in bytes, of the string data buffer pre-allocated by ArrowBytesMap::with_capacity
INITIAL_MAP_CAPACITY
The size, in number of entries, of the hash table pre-allocated by ArrowBytesMap::with_capacity. It is a warm up size for maps that go on to hold many values, not a bound on what the map can hold.