pub struct ArrowArrayAccessor { /* private fields */ }Expand description
Partner type representing accessing and walking arrow arrays alongside iceberg schema
Implementations§
Source§impl ArrowArrayAccessor
impl ArrowArrayAccessor
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new instance of ArrowArrayAccessor with the default ID matching mode
Sourcepub fn new_with_match_mode(match_mode: FieldMatchMode) -> Self
pub fn new_with_match_mode(match_mode: FieldMatchMode) -> Self
Creates a new instance of ArrowArrayAccessor with the specified matching mode
Trait Implementations§
Source§impl Default for ArrowArrayAccessor
impl Default for ArrowArrayAccessor
Source§impl PartnerAccessor<Arc<dyn Array>> for ArrowArrayAccessor
impl PartnerAccessor<Arc<dyn Array>> for ArrowArrayAccessor
Source§fn struct_partner<'a>(
&self,
schema_partner: &'a ArrayRef,
) -> Result<&'a ArrayRef>
fn struct_partner<'a>( &self, schema_partner: &'a ArrayRef, ) -> Result<&'a ArrayRef>
Get the struct partner from schema partner.
Source§fn field_partner<'a>(
&self,
struct_partner: &'a ArrayRef,
field: &NestedField,
) -> Result<&'a ArrayRef>
fn field_partner<'a>( &self, struct_partner: &'a ArrayRef, field: &NestedField, ) -> Result<&'a ArrayRef>
Get the field partner from struct partner.
Source§fn list_element_partner<'a>(
&self,
list_partner: &'a ArrayRef,
) -> Result<&'a ArrayRef>
fn list_element_partner<'a>( &self, list_partner: &'a ArrayRef, ) -> Result<&'a ArrayRef>
Get the list element partner from list partner.
Source§fn map_key_partner<'a>(&self, map_partner: &'a ArrayRef) -> Result<&'a ArrayRef>
fn map_key_partner<'a>(&self, map_partner: &'a ArrayRef) -> Result<&'a ArrayRef>
Get the map key partner from map partner.
Source§fn map_value_partner<'a>(
&self,
map_partner: &'a ArrayRef,
) -> Result<&'a ArrayRef>
fn map_value_partner<'a>( &self, map_partner: &'a ArrayRef, ) -> Result<&'a ArrayRef>
Get the map value partner from map partner.
Auto Trait Implementations§
impl Freeze for ArrowArrayAccessor
impl RefUnwindSafe for ArrowArrayAccessor
impl Send for ArrowArrayAccessor
impl Sync for ArrowArrayAccessor
impl Unpin for ArrowArrayAccessor
impl UnwindSafe for ArrowArrayAccessor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Forward to the method defined on the type
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Forward to the method defined on the type
Any.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more