record_visited_indices

Function record_visited_indices 

Source
pub fn record_visited_indices<T: ArrowPrimitiveType>(
    visited: &mut HashSet<usize>,
    offset: usize,
    indices: &PrimitiveArray<T>,
)
Expand description

Records the visited indices from the input PrimitiveArray of type T into the given hash set visited. This function will insert the indices (offset by offset) into the visited hash set.

ยงArguments

  • visited - A hash set to store the visited indices.
  • offset - An offset to the indices in the PrimitiveArray.
  • indices - The input PrimitiveArray of type T which stores the indices to be recorded.