Skip to main content

Module rank

Module rank 

Source
Expand description

Provides rank function to assign a rank to each value in an array

Constantsยง

BYTE_VIEW_KEY_FALLBACK_COLLISION_RATIO ๐Ÿ”’
BYTE_VIEW_KEY_LEN ๐Ÿ”’
BYTE_VIEW_KEY_MAX_PROBES_PER_WINDOW ๐Ÿ”’
BYTE_VIEW_KEY_SAMPLES_PER_WINDOW ๐Ÿ”’
BYTE_VIEW_KEY_SAMPLE_SIZE ๐Ÿ”’

Functionsยง

boolean_rank ๐Ÿ”’
byte_view_key ๐Ÿ”’
byte_view_rank ๐Ÿ”’
bytes_rank ๐Ÿ”’
can_rank ๐Ÿ”’
Whether arrow_ord::rank can rank an array of given data type.
compare_view_key ๐Ÿ”’
equal_view_key ๐Ÿ”’
get_boolean_rank_index ๐Ÿ”’
Return the index for the rank when ranking boolean array
has_high_byte_view_key_collision_rate ๐Ÿ”’
Estimates whether cached byte-view keys collide often enough to make the key-based ranking path unattractive. Caching a wider key usually avoids repeated backing-buffer reads for long views. If sampled keys collide frequently, resolving full values plus the extra key comparison can be slower than comparing slices directly, so the caller falls back to that path. The bounded two-window sample keeps this check inexpensive.
primitive_rank ๐Ÿ”’
rank
Assigns a rank to each value in array based on its position in the sorted order
rank_impl ๐Ÿ”’
rank_impl_by ๐Ÿ”’