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.
Entry πŸ”’
Entry in the hash table – see ArrowBytesMap for more details

EnumsΒ§

OutputType
Should the output be a String or Binary?

ConstantsΒ§

INITIAL_BUFFER_CAPACITY
The initial size, in bytes, of the string data
INITIAL_MAP_CAPACITY πŸ”’
The size, in number of entries, of the initial hash table
SHORT_VALUE_LEN πŸ”’
Maximum size of a value that can be inlined in the hash table

FunctionsΒ§

single_null_buffer πŸ”’
Returns a NullBuffer with a single null value at the given index