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::rankcan 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
arraybased on its position in the sorted order - rank_
impl ๐ - rank_
impl_ ๐by