risingwave_common::array

Type Alias DecimalArray

source
pub type DecimalArray = PrimitiveArray<Decimal>;

Aliased Type§

struct DecimalArray {
    bitmap: Bitmap,
    data: Box<[Decimal]>,
}

Fields§

§bitmap: Bitmap§data: Box<[Decimal]>

Trait Implementations§

source§

impl<'a> From<&'a ArrayImpl> for &'a DecimalArray

source§

fn from(array: &'a ArrayImpl) -> Self

Converts to this type from the input type.
source§

impl From<ArrayImpl> for DecimalArray

source§

fn from(array: ArrayImpl) -> Self

Converts to this type from the input type.
source§

impl TryFrom<&GenericByteArray<GenericBinaryType<i64>>> for DecimalArray

source§

type Error = ArrayError

The type returned in the event of a conversion error.
source§

fn try_from(array: &LargeBinaryArray) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&GenericByteArray<GenericBinaryType<i64>>> for DecimalArray

source§

type Error = ArrayError

The type returned in the event of a conversion error.
source§

fn try_from(array: &LargeBinaryArray) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&GenericByteArray<GenericStringType<i32>>> for DecimalArray

source§

type Error = ArrayError

The type returned in the event of a conversion error.
source§

fn try_from(array: &StringArray) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&GenericByteArray<GenericStringType<i32>>> for DecimalArray

source§

type Error = ArrayError

The type returned in the event of a conversion error.
source§

fn try_from(array: &StringArray) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&PrimitiveArray<Decimal128Type>> for DecimalArray

source§

type Error = ArrayError

The type returned in the event of a conversion error.
source§

fn try_from(array: &Decimal128Array) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&PrimitiveArray<Decimal128Type>> for DecimalArray

source§

type Error = ArrayError

The type returned in the event of a conversion error.
source§

fn try_from(array: &Decimal128Array) -> Result<Self, Self::Error>

Performs the conversion.