Trait vortex_array::visitor::ArrayVisitor
source · pub trait ArrayVisitor {
// Provided methods
fn visit_child(
&mut self,
_name: &str,
_array: &ArrayData,
) -> VortexResult<()> { ... }
fn visit_validity(&mut self, validity: &Validity) -> VortexResult<()> { ... }
fn visit_patches(&mut self, patches: &Patches) -> VortexResult<()> { ... }
fn visit_buffer(&mut self, _buffer: &Buffer) -> VortexResult<()> { ... }
}
Provided Methods§
sourcefn visit_child(&mut self, _name: &str, _array: &ArrayData) -> VortexResult<()>
fn visit_child(&mut self, _name: &str, _array: &ArrayData) -> VortexResult<()>
Visit a child of this array.
sourcefn visit_validity(&mut self, validity: &Validity) -> VortexResult<()>
fn visit_validity(&mut self, validity: &Validity) -> VortexResult<()>
Utility for visiting Array validity.
sourcefn visit_patches(&mut self, patches: &Patches) -> VortexResult<()>
fn visit_patches(&mut self, patches: &Patches) -> VortexResult<()>
Utility for visiting Array patches.
fn visit_buffer(&mut self, _buffer: &Buffer) -> VortexResult<()>
Implementors§
impl ArrayVisitor for ChildrenCollector
impl ArrayVisitor for NamedChildrenCollector
impl<'a, 'b: 'a> ArrayVisitor for TreeFormatter<'a, 'b>
TODO(ngates): I think we want to go back to the old explicit style. It gives arrays more control over how their metadata etc is displayed.