pub type ArrayRef = Arc<dyn Array>;
Expand description
A reference counted pointer to a dynamic Array
trait object.
Aliased Type§
pub struct ArrayRef { /* private fields */ }
Trait Implementations§
Source§impl From<TemporalArray> for ArrayRef
impl From<TemporalArray> for ArrayRef
Source§fn from(value: TemporalArray) -> Self
fn from(value: TemporalArray) -> Self
Converts to this type from the input type.
Source§impl FromArrowArray<&BooleanArray> for ArrayRef
impl FromArrowArray<&BooleanArray> for ArrayRef
fn from_arrow(value: &ArrowBooleanArray, nullable: bool) -> Self
Source§impl<T: ByteArrayType> FromArrowArray<&GenericByteArray<T>> for ArrayRef
impl<T: ByteArrayType> FromArrowArray<&GenericByteArray<T>> for ArrayRef
fn from_arrow(value: &GenericByteArray<T>, nullable: bool) -> Self
Source§impl<T: ByteViewType> FromArrowArray<&GenericByteViewArray<T>> for ArrayRef
impl<T: ByteViewType> FromArrowArray<&GenericByteViewArray<T>> for ArrayRef
fn from_arrow(value: &GenericByteViewArray<T>, nullable: bool) -> Self
Source§impl<O: OffsetSizeTrait + NativePType> FromArrowArray<&GenericListArray<O>> for ArrayRef
impl<O: OffsetSizeTrait + NativePType> FromArrowArray<&GenericListArray<O>> for ArrayRef
fn from_arrow(value: &GenericListArray<O>, nullable: bool) -> Self
Source§impl FromArrowArray<&NullArray> for ArrayRef
impl FromArrowArray<&NullArray> for ArrayRef
fn from_arrow(value: &ArrowNullArray, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Date32Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Date32Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Date32Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Date64Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Date64Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Date64Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Decimal128Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Decimal128Type>> for ArrayRef
fn from_arrow( array: &ArrowPrimitiveArray<Decimal128Type>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Decimal256Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Decimal256Type>> for ArrayRef
fn from_arrow( array: &ArrowPrimitiveArray<Decimal256Type>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Float16Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Float16Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Float16Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Float32Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Float32Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Float32Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Float64Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Float64Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Float64Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Int16Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Int16Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Int16Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Int32Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Int32Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Int32Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Int64Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Int64Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Int64Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Int8Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Int8Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<Int8Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Time32MillisecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Time32MillisecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<Time32MillisecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Time32SecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Time32SecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<Time32SecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Time64MicrosecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Time64MicrosecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<Time64MicrosecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<Time64NanosecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<Time64NanosecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<Time64NanosecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<TimestampMicrosecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<TimestampMicrosecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<TimestampMicrosecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<TimestampMillisecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<TimestampMillisecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<TimestampMillisecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<TimestampNanosecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<TimestampNanosecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<TimestampNanosecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<TimestampSecondType>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<TimestampSecondType>> for ArrayRef
fn from_arrow( value: &ArrowPrimitiveArray<TimestampSecondType>, nullable: bool, ) -> Self
Source§impl FromArrowArray<&PrimitiveArray<UInt16Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<UInt16Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<UInt16Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<UInt32Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<UInt32Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<UInt32Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<UInt64Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<UInt64Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<UInt64Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&PrimitiveArray<UInt8Type>> for ArrayRef
impl FromArrowArray<&PrimitiveArray<UInt8Type>> for ArrayRef
fn from_arrow(value: &ArrowPrimitiveArray<UInt8Type>, nullable: bool) -> Self
Source§impl FromArrowArray<&StructArray> for ArrayRef
impl FromArrowArray<&StructArray> for ArrayRef
fn from_arrow(value: &ArrowStructArray, nullable: bool) -> Self
Source§impl FromArrowArray<&dyn Array> for ArrayRef
impl FromArrowArray<&dyn Array> for ArrayRef
fn from_arrow(array: &dyn ArrowArray, nullable: bool) -> Self
Source§impl IntoArrowArray for ArrayRef
impl IntoArrowArray for ArrayRef
Source§fn into_arrow_preferred(self) -> VortexResult<ArrowArrayRef>
fn into_arrow_preferred(self) -> VortexResult<ArrowArrayRef>
Convert this crate::ArrayRef
into an Arrow crate::ArrayRef
by using the array’s preferred
Arrow DataType
.