[−][src]Struct arrow::ipc::gen::Schema::Decimal
Exact decimal value represented as an integer value in two's complement. Currently only 128-bit (16-byte) integers are used but this may be expanded in the future. The representation uses the endianness indicated in the Schema.
Fields
_tab: Table<'a>
Implementations
impl<'a> Decimal<'a>
[src]
pub fn init_from_table(table: Table<'a>) -> Self
[src]
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args DecimalArgs
) -> WIPOffset<Decimal<'bldr>>
[src]
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args DecimalArgs
) -> WIPOffset<Decimal<'bldr>>
pub const VT_PRECISION: VOffsetT
[src]
pub const VT_SCALE: VOffsetT
[src]
pub const VT_BITWIDTH: VOffsetT
[src]
pub fn precision(&self) -> i32
[src]
Total number of decimal digits
pub fn scale(&self) -> i32
[src]
Number of digits after the decimal point "."
pub fn bitWidth(&self) -> i32
[src]
Number of bits per value. The only accepted width right now is 128 but this field exists for forward compatibility so that other bit widths may be supported in future format versions. We use bitWidth for consistency with Int::bitWidth.
Trait Implementations
impl<'a> Clone for Decimal<'a>
[src]
impl<'a> Copy for Decimal<'a>
[src]
impl<'a> Debug for Decimal<'a>
[src]
impl<'a> Follow<'a> for Decimal<'a>
[src]
impl<'a> PartialEq<Decimal<'a>> for Decimal<'a>
[src]
impl<'a> StructuralPartialEq for Decimal<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Decimal<'a>
impl<'a> Send for Decimal<'a>
impl<'a> Sync for Decimal<'a>
impl<'a> Unpin for Decimal<'a>
impl<'a> UnwindSafe for Decimal<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,