Struct orc_rust::arrow_reader::column::Column
source · pub struct Column { /* private fields */ }
Implementations§
source§impl Column
impl Column
pub fn read_stream<R: Read + Seek>( reader: &mut Reader<R>, start: u64, length: usize ) -> Result<Bytes>
pub async fn read_stream_async<R: AsyncRead + AsyncSeek + Unpin + Send>( reader: &mut Reader<R>, start: u64, length: usize ) -> Result<Bytes>
pub fn get_stream_info( name: &str, column: &Arc<TypeDescription>, footer: &Arc<StripeFooter>, stripe: &StripeInformation ) -> Result<(u64, usize)>
pub fn new<R: Read + Seek>( reader: &mut Reader<R>, compression: CompressionKind, name: &str, column: &Arc<TypeDescription>, footer: &Arc<StripeFooter>, stripe: &StripeInformation ) -> Result<Self>
pub async fn new_async<R: AsyncRead + AsyncSeek + Unpin + Send>( reader: &mut Reader<R>, compression: CompressionKind, name: &str, column: &Arc<TypeDescription>, footer: &Arc<StripeFooter>, stripe: &StripeInformation ) -> Result<Self>
pub fn stream(&self, kind: Kind) -> Option<Result<Decompressor>>
pub fn dictionary_size(&self) -> usize
pub fn encoding(&self) -> ColumnEncoding
pub fn number_of_rows(&self) -> usize
pub fn kind(&self) -> Kind
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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