struct ByteViewScalarImpl<T: ByteViewType> {
truthy_view: Option<u128>,
truthy_buffers: Arc<[Buffer]>,
falsy_view: Option<u128>,
falsy_buffers: Arc<[Buffer]>,
phantom: PhantomData<T>,
}Fields§
§truthy_view: Option<u128>§truthy_buffers: Arc<[Buffer]>§falsy_view: Option<u128>§falsy_buffers: Arc<[Buffer]>§phantom: PhantomData<T>Implementations§
Source§impl<T: ByteViewType> ByteViewScalarImpl<T>
impl<T: ByteViewType> ByteViewScalarImpl<T>
fn new(truthy: &dyn Array, falsy: &dyn Array) -> Self
fn get_value_from_scalar(scalar: &dyn Array) -> (Option<u128>, Arc<[Buffer]>)
fn get_views_for_single_non_nullable( predicate: BooleanBuffer, value: u128, buffers: Arc<[Buffer]>, ) -> (ScalarBuffer<u128>, Arc<[Buffer]>, Option<NullBuffer>)
fn get_views_for_non_nullable( predicate: BooleanBuffer, result_len: usize, truthy_view: u128, truthy_buffers: Arc<[Buffer]>, falsy_view: u128, falsy_buffers: Arc<[Buffer]>, ) -> (ScalarBuffer<u128>, Arc<[Buffer]>, Option<NullBuffer>)
Trait Implementations§
Source§impl<T: ByteViewType> Debug for ByteViewScalarImpl<T>
impl<T: ByteViewType> Debug for ByteViewScalarImpl<T>
Source§impl<T: ByteViewType> ZipImpl for ByteViewScalarImpl<T>
impl<T: ByteViewType> ZipImpl for ByteViewScalarImpl<T>
Source§fn create_output(
&self,
predicate: &BooleanArray,
) -> Result<ArrayRef, ArrowError>
fn create_output( &self, predicate: &BooleanArray, ) -> Result<ArrayRef, ArrowError>
Creating output array based on input boolean array
Auto Trait Implementations§
impl<T> Freeze for ByteViewScalarImpl<T>
impl<T> RefUnwindSafe for ByteViewScalarImpl<T>where
T: RefUnwindSafe,
impl<T> Send for ByteViewScalarImpl<T>
impl<T> Sync for ByteViewScalarImpl<T>
impl<T> Unpin for ByteViewScalarImpl<T>where
T: Unpin,
impl<T> UnwindSafe for ByteViewScalarImpl<T>where
T: UnwindSafe,
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