pub trait PropertiesColumnAccessor: Send + Debug {
// Required methods
fn jsonb_value(&self, index: usize) -> Result<Vec<u8>, Error>;
fn len(&self) -> usize;
fn is_null(&self, index: usize) -> bool;
// Provided method
fn is_empty(&self) -> bool { ... }
}Expand description
Trait for accessing properties columns in a format-agnostic way.
This trait provides unified access to properties data regardless of the underlying
Arrow format - either JSONB dictionary format (Dictionary(Int32, Binary)) or
legacy struct array format (GenericListArray<StructArray>).
All methods return JSONB bytes for consistent processing downstream.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".