pub struct JamReader { /* private fields */ }Implementations§
Source§impl JamReader
impl JamReader
pub fn open<P: AsRef<Path>>(path: P) -> Result<Self, ReaderError>
pub fn open_bucket_region( &self, bucket_idx: usize, ) -> Result<BucketRegion, ReaderError>
pub fn bucket_meta(&self, bucket_idx: usize) -> &BucketMeta
pub fn threshold(&self) -> u64
pub fn kmer_size(&self) -> u8
pub fn bias_table(&self) -> Option<Arc<HashBiasTable>>
pub fn has_bias_table(&self) -> bool
pub fn sample_names(&self) -> &[String]
pub fn sample_name(&self, id: u32) -> Option<&str>
pub fn sample_sizes(&self) -> &[u64]
pub fn sample_size(&self, id: u32) -> Option<u64>
pub fn stats(&self) -> ReaderStats
pub fn bucket_entries(&self, bucket_idx: usize) -> &[Entry]
pub fn bucket_entry_byte_range(&self, bucket_idx: usize) -> (usize, usize)
pub fn bucket_filter_byte_range(&self, bucket_idx: usize) -> (usize, usize)
pub fn release_pages(&self, start: usize, end: usize)
pub fn release_bucket(&self, bucket_idx: usize)
pub fn advise_random(&self)
pub fn bucket_filter(&self, bucket_idx: usize) -> Option<BucketFilter<'_>>
pub fn contains(&self, hash: u64) -> bool
pub fn search(&self, hash: u64) -> impl Iterator<Item = u32> + '_
Auto Trait Implementations§
impl Freeze for JamReader
impl RefUnwindSafe for JamReader
impl Send for JamReader
impl Sync for JamReader
impl Unpin for JamReader
impl UnwindSafe for JamReader
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
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