pub struct Decimal128Builder { /* private fields */ }
Expand description

Array Builder for Decimal128Array

See Decimal128Array for example.

Implementations

Creates a new Decimal128Builder, capacity is the number of bytes in the values array

Disable validation

Safety

After disabling validation, caller must ensure that appended values are compatible for the specified precision and scale.

Appends a decimal value into the builder.

Append a null value to the array.

Builds the Decimal128Array and reset this builder.

Trait Implementations

Returns the builder as a non-mutable Any reference.

Returns the builder as a mutable Any reference.

Returns the boxed builder as a box of Any.

Returns the number of array slots in the builder

Returns whether the number of array slots is zero

Builds the array and reset this builder.

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.