pub struct Binder { /* private fields */ }Expand description
Implementations§
Source§impl Binder
impl Binder
Sourcepub fn new(
ontology: Option<OntologyHandle>,
catalog: Arc<Mutex<RuntimeCatalog>>,
mode: OntologyMode,
) -> Self
pub fn new( ontology: Option<OntologyHandle>, catalog: Arc<Mutex<RuntimeCatalog>>, mode: OntologyMode, ) -> Self
Creates a new binder.
ontology: the compiled ontology handle, orNonein exploratory mode.catalog: shared runtime catalog for auto-assigning IDs to unknown types.mode: controls how unknown labels/types are handled.
Sourcepub fn with_procedures(self, procedures: Arc<ProcedureRegistry>) -> Self
pub fn with_procedures(self, procedures: Arc<ProcedureRegistry>) -> Self
Supplies the procedures available while binding CALL clauses.
Sourcepub fn with_parameter_literals(
self,
params: &HashMap<String, IrLiteral>,
) -> Self
pub fn with_parameter_literals( self, params: &HashMap<String, IrLiteral>, ) -> Self
Supplies query literals for bind-time validation of typed UUID predicates.
Auto Trait Implementations§
impl !RefUnwindSafe for Binder
impl !UnwindSafe for Binder
impl Freeze for Binder
impl Send for Binder
impl Sync for Binder
impl Unpin for Binder
impl UnsafeUnpin for Binder
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