pub struct QueryEngine { /* private fields */ }Implementations§
Source§impl QueryEngine
impl QueryEngine
pub fn open<P: AsRef<Path>>(path: P) -> Result<Self, ReaderError>
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 reader(&self) -> &JamReader
pub fn query(&self, hashes: &[u64]) -> QueryResult
pub fn query_filtered( &self, hashes: &[u64], min_containment: f64, max_results: usize, ) -> QueryResult
pub fn query_batch(&self, queries: &[Vec<u64>]) -> Vec<QueryResult>
pub fn query_sketch(&self, sketch: &QuerySketch) -> Vec<QueryResult>
pub fn query_fasta<P: AsRef<Path>>( &self, input: P, singleton: bool, ) -> Result<Vec<QueryResult>, QueryError>
Auto Trait Implementations§
impl Freeze for QueryEngine
impl RefUnwindSafe for QueryEngine
impl Send for QueryEngine
impl Sync for QueryEngine
impl Unpin for QueryEngine
impl UnwindSafe for QueryEngine
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