pub struct PaxStreamReader<'a> { /* private fields */ }Expand description
Incremental reader for unsealed or sealed PAX streams.
Implementations§
Source§impl<'a> PaxStreamReader<'a>
impl<'a> PaxStreamReader<'a>
pub fn open(data: &'a [u8]) -> Result<Self>
pub fn is_sealed(&self) -> bool
pub fn data_start(&self) -> usize
pub fn keys(&self) -> &[String]
pub fn key_sigils(&self) -> &[u8] ⓘ
Sourcepub fn complete_record_count(&self) -> usize
pub fn complete_record_count(&self) -> usize
Number of records in all complete pages (excludes any in-progress page).
Sourcepub fn has_complete_page(&self) -> bool
pub fn has_complete_page(&self) -> bool
True when at least one full page is available.
Sourcepub fn poll_next_page(&mut self) -> Option<PaxPageView<'a>>
pub fn poll_next_page(&mut self) -> Option<PaxPageView<'a>>
Next complete page view, advancing the internal cursor.
Sourcepub fn rewind_pages(&mut self)
pub fn rewind_pages(&mut self)
Reset page iteration to the data-sector start.
Sourcepub fn col_sum_f64_complete_pages(&self, key: &str) -> Option<f64>
pub fn col_sum_f64_complete_pages(&self, key: &str) -> Option<f64>
Sum key as f64 over all complete pages (incremental column scan).
Auto Trait Implementations§
impl<'a> Freeze for PaxStreamReader<'a>
impl<'a> RefUnwindSafe for PaxStreamReader<'a>
impl<'a> Send for PaxStreamReader<'a>
impl<'a> Sync for PaxStreamReader<'a>
impl<'a> Unpin for PaxStreamReader<'a>
impl<'a> UnsafeUnpin for PaxStreamReader<'a>
impl<'a> UnwindSafe for PaxStreamReader<'a>
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