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 thePrimitiveArray.indices- The inputPrimitiveArrayof typeTwhich stores the indices to be recorded.