pub trait ArrayVisitor {
// Required methods
fn children(&self) -> Vec<ArrayRef> ⓘ;
fn nchildren(&self) -> usize;
fn children_names(&self) -> Vec<String>;
fn named_children(&self) -> Vec<(String, ArrayRef)>;
fn buffers(&self) -> Vec<ByteBuffer> ⓘ;
fn nbuffers(&self) -> usize;
fn metadata(&self) -> VortexResult<Option<Vec<u8>>>;
fn metadata_fmt(&self, f: &mut Formatter<'_>) -> Result;
}
Required Methods§
Sourcefn children_names(&self) -> Vec<String>
fn children_names(&self) -> Vec<String>
Returns the names of the children of the array.
Sourcefn named_children(&self) -> Vec<(String, ArrayRef)>
fn named_children(&self) -> Vec<(String, ArrayRef)>
Returns the array’s children with their names.
Sourcefn buffers(&self) -> Vec<ByteBuffer> ⓘ
fn buffers(&self) -> Vec<ByteBuffer> ⓘ
Returns the buffers of the array.
Sourcefn metadata(&self) -> VortexResult<Option<Vec<u8>>>
fn metadata(&self) -> VortexResult<Option<Vec<u8>>>
Returns the serialized metadata of the array, or None
if the array does not
support serialization.
Sourcefn metadata_fmt(&self, f: &mut Formatter<'_>) -> Result
fn metadata_fmt(&self, f: &mut Formatter<'_>) -> Result
Formats a human-readable metadata description.