pub struct DefaultPlainTermEncoder;
Trait Implementations§
Source§impl Debug for DefaultPlainTermEncoder
impl Debug for DefaultPlainTermEncoder
Source§impl TermEncoder<PlainTermEncoding> for DefaultPlainTermEncoder
impl TermEncoder<PlainTermEncoding> for DefaultPlainTermEncoder
Source§fn encode_terms<'data>(
terms: impl IntoIterator<Item = ThinResult<Self::Term<'data>>>,
) -> DFResult<<PlainTermEncoding as TermEncoding>::Array>
fn encode_terms<'data>( terms: impl IntoIterator<Item = ThinResult<Self::Term<'data>>>, ) -> DFResult<<PlainTermEncoding as TermEncoding>::Array>
Allows encoding an iterator over RDF terms in an Arrow array.
Source§fn encode_term(
term: ThinResult<Self::Term<'_>>,
) -> DFResult<<PlainTermEncoding as TermEncoding>::Scalar>
fn encode_term( term: ThinResult<Self::Term<'_>>, ) -> DFResult<<PlainTermEncoding as TermEncoding>::Scalar>
Allows encoding a scalar RDF term in an Arrow scalar.
Auto Trait Implementations§
impl Freeze for DefaultPlainTermEncoder
impl RefUnwindSafe for DefaultPlainTermEncoder
impl Send for DefaultPlainTermEncoder
impl Sync for DefaultPlainTermEncoder
impl Unpin for DefaultPlainTermEncoder
impl UnwindSafe for DefaultPlainTermEncoder
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