pub struct SplitIriPF { /* private fields */ }Expand description
apf:splitIRI - Decompose an IRI into namespace and local name.
Usage: ?iri apf:splitIRI (?namespace ?localname)
Implementations§
Source§impl SplitIriPF
impl SplitIriPF
Trait Implementations§
Source§impl Debug for SplitIriPF
impl Debug for SplitIriPF
Source§impl Default for SplitIriPF
impl Default for SplitIriPF
Source§impl PropertyFunction for SplitIriPF
impl PropertyFunction for SplitIriPF
Source§fn metadata(&self) -> PropertyFunctionMetadata
fn metadata(&self) -> PropertyFunctionMetadata
Return metadata describing this property function.
Source§fn evaluate(
&self,
subject: &PropertyFunctionArg,
_object: &PropertyFunctionArg,
) -> Result<PropertyFunctionResult, OxirsError>
fn evaluate( &self, subject: &PropertyFunctionArg, _object: &PropertyFunctionArg, ) -> Result<PropertyFunctionResult, OxirsError>
Evaluate the property function given the subject and object arguments. Read more
Source§fn estimated_cardinality(
&self,
_subject: &PropertyFunctionArg,
_object: &PropertyFunctionArg,
) -> Option<u64>
fn estimated_cardinality( &self, _subject: &PropertyFunctionArg, _object: &PropertyFunctionArg, ) -> Option<u64>
Estimated cardinality of results (for query planning).
Returns None if unknown. Default is None.
Source§fn validate(
&self,
subject: &PropertyFunctionArg,
object: &PropertyFunctionArg,
) -> Result<(), OxirsError>
fn validate( &self, subject: &PropertyFunctionArg, object: &PropertyFunctionArg, ) -> Result<(), OxirsError>
Validate arguments before evaluation (optional override).
Auto Trait Implementations§
impl Freeze for SplitIriPF
impl RefUnwindSafe for SplitIriPF
impl Send for SplitIriPF
impl Sync for SplitIriPF
impl Unpin for SplitIriPF
impl UnsafeUnpin for SplitIriPF
impl UnwindSafe for SplitIriPF
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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