pub struct PhysicalRetrievalDriver<'a> {
pub context: PhysicalDriverContext<'a>,
pub table: &'a str,
pub params: &'a [SQLParam],
pub parallel: ParallelExecutor,
/* private fields */
}Fields§
§context: PhysicalDriverContext<'a>§table: &'a str§params: &'a [SQLParam]§parallel: ParallelExecutorImplementations§
Source§impl PhysicalRetrievalDriver<'_>
impl PhysicalRetrievalDriver<'_>
pub fn join_graph_postings( &self, left: &PostingList, right: &PostingList, label: Option<&str>, graph: &str, ) -> Result<GeneralizedPostingList, SQLError>
Source§impl PhysicalRetrievalDriver<'_>
impl PhysicalRetrievalDriver<'_>
pub fn join_text_similarity_postings( &self, right_driver: &PhysicalRetrievalDriver<'_>, left_source: &PostingList, left_field: &str, right_source: &PostingList, right_field: &str, threshold: f64, ) -> Result<GeneralizedPostingList, SQLError>
pub fn join_vector_similarity_postings( &self, right_driver: &PhysicalRetrievalDriver<'_>, left_source: &PostingList, left_field: &str, right_source: &PostingList, right_field: &str, threshold: f64, ) -> Result<GeneralizedPostingList, SQLError>
pub fn join_hybrid_postings( &self, right_driver: &PhysicalRetrievalDriver<'_>, left_result: &PostingList, right_result: &PostingList, fields: HybridJoinFields<'_>, ) -> Result<GeneralizedPostingList, SQLError>
pub fn join_cross_paradigm_postings( &self, right_driver: &PhysicalRetrievalDriver<'_>, left_result: &PostingList, right_source: &PostingList, graph: &str, vertex_field: &str, doc_field: &str, ) -> Result<GeneralizedPostingList, SQLError>
Source§impl<'a> PhysicalRetrievalDriver<'a>
impl<'a> PhysicalRetrievalDriver<'a>
pub fn new( context: PhysicalDriverContext<'a>, table: &'a str, signal_table: &'a str, params: &'a [SQLParam], ) -> Self
pub fn with_parallel(self, parallel: ParallelExecutor) -> Self
Trait Implementations§
Source§impl OperatorTreeDriver for PhysicalRetrievalDriver<'_>
impl OperatorTreeDriver for PhysicalRetrievalDriver<'_>
Source§type Error = SQLError
type Error = SQLError
Failure produced by the physical runtime while materialising a
node or one of its descendants.
fn execute_node(&self, op: &OperatorTree) -> Result<OperatorOutput, SQLError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PhysicalRetrievalDriver<'a>
impl<'a> !UnwindSafe for PhysicalRetrievalDriver<'a>
impl<'a> Freeze for PhysicalRetrievalDriver<'a>
impl<'a> Send for PhysicalRetrievalDriver<'a>
impl<'a> Sync for PhysicalRetrievalDriver<'a>
impl<'a> Unpin for PhysicalRetrievalDriver<'a>
impl<'a> UnsafeUnpin for PhysicalRetrievalDriver<'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
impl<T> ErasedDestructor for Twhere
T: 'static,
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