pub struct TypedValueArrayBuilder { /* private fields */ }
Implementations§
Source§impl TypedValueArrayBuilder
impl TypedValueArrayBuilder
pub fn append_typed_value( &mut self, value: TypedValueRef<'_>, ) -> Result<(), ArrowError>
pub fn append_boolean(&mut self, value: Boolean) -> Result<(), ArrowError>
pub fn append_named_node( &mut self, value: NamedNodeRef<'_>, ) -> Result<(), ArrowError>
pub fn append_blank_node( &mut self, value: BlankNodeRef<'_>, ) -> Result<(), ArrowError>
pub fn append_string( &mut self, value: &str, language: Option<&str>, ) -> Result<(), ArrowError>
pub fn append_date_time(&mut self, value: DateTime) -> Result<(), ArrowError>
pub fn append_time(&mut self, value: Time) -> Result<(), ArrowError>
pub fn append_date(&mut self, value: Date) -> Result<(), ArrowError>
pub fn append_int(&mut self, int: Int) -> Result<(), ArrowError>
pub fn append_integer(&mut self, integer: Integer) -> Result<(), ArrowError>
pub fn append_float(&mut self, value: Float) -> Result<(), ArrowError>
pub fn append_double(&mut self, value: Double) -> Result<(), ArrowError>
pub fn append_decimal(&mut self, value: Decimal) -> Result<(), ArrowError>
pub fn append_numeric(&mut self, value: Numeric) -> Result<(), ArrowError>
pub fn append_duration( &mut self, year_month: Option<YearMonthDuration>, day_time: Option<DayTimeDuration>, ) -> Result<(), ArrowError>
Sourcepub fn append_other_literal(
&mut self,
literal: LiteralRef<'_>,
) -> Result<(), ArrowError>
pub fn append_other_literal( &mut self, literal: LiteralRef<'_>, ) -> Result<(), ArrowError>
Appends a literal
that is encoded in the TypedValueEncodingField::OtherLiteral.
CAVEAT: Only call this function if you’re positive that there is no specialized encoding
for the data type of the literal
. Otherwise, call Self::append_typed_value instead.
pub fn append_null(&mut self) -> Result<(), ArrowError>
pub fn finish(self) -> TypedValueArray
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypedValueArrayBuilder
impl !RefUnwindSafe for TypedValueArrayBuilder
impl Send for TypedValueArrayBuilder
impl Sync for TypedValueArrayBuilder
impl Unpin for TypedValueArrayBuilder
impl !UnwindSafe for TypedValueArrayBuilder
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