pub struct SimpleLiteralRefPlainTermEncoder;
Trait Implementations§
Source§impl TermEncoder<PlainTermEncoding> for SimpleLiteralRefPlainTermEncoder
impl TermEncoder<PlainTermEncoding> for SimpleLiteralRefPlainTermEncoder
Source§type Term<'data> = SimpleLiteralRef<'data>
type Term<'data> = SimpleLiteralRef<'data>
The value type that is being encoded.
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 SimpleLiteralRefPlainTermEncoder
impl RefUnwindSafe for SimpleLiteralRefPlainTermEncoder
impl Send for SimpleLiteralRefPlainTermEncoder
impl Sync for SimpleLiteralRefPlainTermEncoder
impl Unpin for SimpleLiteralRefPlainTermEncoder
impl UnwindSafe for SimpleLiteralRefPlainTermEncoder
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