Struct arrow::array::PrimitiveArray
source · pub struct PrimitiveArray<T>where
T: ArrowPrimitiveType,{ /* private fields */ }
Expand description
Array whose elements are of primitive types.
Example: From an iterator of values
use arrow_array::{Array, PrimitiveArray, types::Int32Type};
let arr: PrimitiveArray<Int32Type> = PrimitiveArray::from_iter_values((0..10).map(|x| x + 1));
assert_eq!(10, arr.len());
assert_eq!(0, arr.null_count());
for i in 0..10i32 {
assert_eq!(i + 1, arr.value(i as usize));
}
Implementations§
source§impl<T> PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<T> PrimitiveArray<T>where
T: ArrowPrimitiveType,
sourcepub fn values(&self) -> &[<T as ArrowPrimitiveType>::Native]
pub fn values(&self) -> &[<T as ArrowPrimitiveType>::Native]
Returns a slice of the values of this array
sourcepub fn builder(capacity: usize) -> PrimitiveBuilder<T>
pub fn builder(capacity: usize) -> PrimitiveBuilder<T>
Returns a new primitive array builder
sourcepub unsafe fn value_unchecked(
&self,
i: usize
) -> <T as ArrowPrimitiveType>::Native
pub unsafe fn value_unchecked(
&self,
i: usize
) -> <T as ArrowPrimitiveType>::Native
Returns the primitive value at index i
.
Safety
caller must ensure that the passed in offset is less than the array len()
sourcepub fn value(&self, i: usize) -> <T as ArrowPrimitiveType>::Native
pub fn value(&self, i: usize) -> <T as ArrowPrimitiveType>::Native
sourcepub fn from_iter_values<I>(iter: I) -> PrimitiveArray<T>where
I: IntoIterator<Item = <T as ArrowPrimitiveType>::Native>,
pub fn from_iter_values<I>(iter: I) -> PrimitiveArray<T>where
I: IntoIterator<Item = <T as ArrowPrimitiveType>::Native>,
Creates a PrimitiveArray based on an iterator of values without nulls
sourcepub fn from_value(
value: <T as ArrowPrimitiveType>::Native,
count: usize
) -> PrimitiveArray<T>
pub fn from_value(
value: <T as ArrowPrimitiveType>::Native,
count: usize
) -> PrimitiveArray<T>
Creates a PrimitiveArray based on a constant value with count
elements
sourcepub fn take_iter<'a>(
&'a self,
indexes: impl Iterator<Item = Option<usize>> + 'a
) -> impl Iterator<Item = Option<<T as ArrowPrimitiveType>::Native>> + 'a
pub fn take_iter<'a>(
&'a self,
indexes: impl Iterator<Item = Option<usize>> + 'a
) -> impl Iterator<Item = Option<<T as ArrowPrimitiveType>::Native>> + 'a
Returns an iterator that returns the values of array.value(i)
for an iterator with each element i
sourcepub unsafe fn take_iter_unchecked<'a>(
&'a self,
indexes: impl Iterator<Item = Option<usize>> + 'a
) -> impl Iterator<Item = Option<<T as ArrowPrimitiveType>::Native>> + 'a
pub unsafe fn take_iter_unchecked<'a>(
&'a self,
indexes: impl Iterator<Item = Option<usize>> + 'a
) -> impl Iterator<Item = Option<<T as ArrowPrimitiveType>::Native>> + 'a
Returns an iterator that returns the values of array.value(i)
for an iterator with each element i
Safety
caller must ensure that the offsets in the iterator are less than the array len()
sourcepub fn reinterpret_cast<K>(&self) -> PrimitiveArray<K>where
K: ArrowPrimitiveType<Native = <T as ArrowPrimitiveType>::Native>,
pub fn reinterpret_cast<K>(&self) -> PrimitiveArray<K>where
K: ArrowPrimitiveType<Native = <T as ArrowPrimitiveType>::Native>,
Reinterprets this array’s contents as a different data type without copying
This can be used to efficiently convert between primitive arrays with the same underlying representation
Note: this will not modify the underlying values, and therefore may change
the semantic values of the array, e.g. 100 milliseconds in a TimestampNanosecondArray
will become 100 seconds in a TimestampSecondArray
.
For casts that preserve the semantic value, check out the [compute kernels]
let a = Int64Array::from_iter_values([1, 2, 3, 4]);
let b: TimestampNanosecondArray = a.reinterpret_cast();
sourcepub fn unary<F, O>(&self, op: F) -> PrimitiveArray<O>where
O: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native) -> <O as ArrowPrimitiveType>::Native,
pub fn unary<F, O>(&self, op: F) -> PrimitiveArray<O>where
O: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native) -> <O as ArrowPrimitiveType>::Native,
Applies an unary and infallible function to a primitive array. This is the fastest way to perform an operation on a primitive array when the benefits of a vectorized operation outweigh the cost of branching nulls and non-nulls.
Implementation
This will apply the function for all values, including those on null slots. This implies that the operation must be infallible for any value of the corresponding type or this function may panic.
Example
let array = Int32Array::from(vec![Some(5), Some(7), None]);
let c = array.unary(|x| x * 2 + 1);
assert_eq!(c, Int32Array::from(vec![Some(11), Some(15), None]));
sourcepub fn unary_mut<F>(self, op: F) -> Result<PrimitiveArray<T>, PrimitiveArray<T>>where
F: Fn(<T as ArrowPrimitiveType>::Native) -> <T as ArrowPrimitiveType>::Native,
pub fn unary_mut<F>(self, op: F) -> Result<PrimitiveArray<T>, PrimitiveArray<T>>where
F: Fn(<T as ArrowPrimitiveType>::Native) -> <T as ArrowPrimitiveType>::Native,
Applies an unary and infallible function to a mutable primitive array. Mutable primitive array means that the buffer is not shared with other arrays. As a result, this mutates the buffer directly without allocating new buffer.
Implementation
This will apply the function for all values, including those on null slots. This implies that the operation must be infallible for any value of the corresponding type or this function may panic.
Example
let array = Int32Array::from(vec![Some(5), Some(7), None]);
let c = array.unary_mut(|x| x * 2 + 1).unwrap();
assert_eq!(c, Int32Array::from(vec![Some(11), Some(15), None]));
sourcepub fn try_unary<F, O, E>(&self, op: F) -> Result<PrimitiveArray<O>, E>where
O: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native) -> Result<<O as ArrowPrimitiveType>::Native, E>,
pub fn try_unary<F, O, E>(&self, op: F) -> Result<PrimitiveArray<O>, E>where
O: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native) -> Result<<O as ArrowPrimitiveType>::Native, E>,
Applies a unary and fallible function to all valid values in a primitive array
This is unlike Self::unary
which will apply an infallible function to all rows
regardless of validity, in many cases this will be significantly faster and should
be preferred if op
is infallible.
Note: LLVM is currently unable to effectively vectorize fallible operations
sourcepub fn try_unary_mut<F, E>(
self,
op: F
) -> Result<Result<PrimitiveArray<T>, E>, PrimitiveArray<T>>where
F: Fn(<T as ArrowPrimitiveType>::Native) -> Result<<T as ArrowPrimitiveType>::Native, E>,
pub fn try_unary_mut<F, E>(
self,
op: F
) -> Result<Result<PrimitiveArray<T>, E>, PrimitiveArray<T>>where
F: Fn(<T as ArrowPrimitiveType>::Native) -> Result<<T as ArrowPrimitiveType>::Native, E>,
Applies an unary and fallible function to all valid values in a mutable primitive array. Mutable primitive array means that the buffer is not shared with other arrays. As a result, this mutates the buffer directly without allocating new buffer.
This is unlike Self::unary_mut
which will apply an infallible function to all rows
regardless of validity, in many cases this will be significantly faster and should
be preferred if op
is infallible.
This returns an Err
when the input array is shared buffer with other
array. In the case, returned Err
wraps input array. If the function
encounters an error during applying on values. In the case, this returns an Err
within
an Ok
which wraps the actual error.
Note: LLVM is currently unable to effectively vectorize fallible operations
sourcepub fn unary_opt<F, O>(&self, op: F) -> PrimitiveArray<O>where
O: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native) -> Option<<O as ArrowPrimitiveType>::Native>,
pub fn unary_opt<F, O>(&self, op: F) -> PrimitiveArray<O>where
O: ArrowPrimitiveType,
F: Fn(<T as ArrowPrimitiveType>::Native) -> Option<<O as ArrowPrimitiveType>::Native>,
Applies a unary and nullable function to all valid values in a primitive array
This is unlike Self::unary
which will apply an infallible function to all rows
regardless of validity, in many cases this will be significantly faster and should
be preferred if op
is infallible.
Note: LLVM is currently unable to effectively vectorize fallible operations
sourcepub fn into_builder(self) -> Result<PrimitiveBuilder<T>, PrimitiveArray<T>>
pub fn into_builder(self) -> Result<PrimitiveBuilder<T>, PrimitiveArray<T>>
Returns PrimitiveBuilder
of this primitive array for mutating its values if the underlying
data buffer is not shared by others.
source§impl<T> PrimitiveArray<T>where
T: ArrowTemporalType,
i64: From<<T as ArrowPrimitiveType>::Native>,
impl<T> PrimitiveArray<T>where
T: ArrowTemporalType,
i64: From<<T as ArrowPrimitiveType>::Native>,
sourcepub fn value_as_datetime(&self, i: usize) -> Option<NaiveDateTime>
pub fn value_as_datetime(&self, i: usize) -> Option<NaiveDateTime>
Returns value as a chrono NaiveDateTime
, handling time resolution
If a data type cannot be converted to NaiveDateTime
, a None
is returned.
A valid value is expected, thus the user should first check for validity.
sourcepub fn value_as_datetime_with_tz(&self, i: usize, tz: Tz) -> Option<DateTime<Tz>>
pub fn value_as_datetime_with_tz(&self, i: usize, tz: Tz) -> Option<DateTime<Tz>>
Returns value as a chrono NaiveDateTime
, handling time resolution with the provided tz
functionally it is same as value_as_datetime
, however it adds
the passed tz to the to-be-returned NaiveDateTime
sourcepub fn value_as_date(&self, i: usize) -> Option<NaiveDate>
pub fn value_as_date(&self, i: usize) -> Option<NaiveDate>
Returns value as a chrono NaiveDate
by using Self::datetime()
If a data type cannot be converted to NaiveDate
, a None
is returned
sourcepub fn value_as_time(&self, i: usize) -> Option<NaiveTime>
pub fn value_as_time(&self, i: usize) -> Option<NaiveTime>
Returns a value as a chrono NaiveTime
Date32
and Date64
return UTC midnight as they do not have time resolution
sourcepub fn value_as_duration(&self, i: usize) -> Option<Duration>
pub fn value_as_duration(&self, i: usize) -> Option<Duration>
Returns a value as a chrono Duration
If a data type cannot be converted to Duration
, a None
is returned
source§impl<'a, T> PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<'a, T> PrimitiveArray<T>where
T: ArrowPrimitiveType,
sourcepub fn iter(&'a self) -> ArrayIter<&'a PrimitiveArray<T>> ⓘ
pub fn iter(&'a self) -> ArrayIter<&'a PrimitiveArray<T>> ⓘ
constructs a new iterator
source§impl<T> PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<T> PrimitiveArray<T>where
T: ArrowPrimitiveType,
sourcepub unsafe fn from_trusted_len_iter<I, P>(iter: I) -> PrimitiveArray<T>where
P: Borrow<Option<<T as ArrowPrimitiveType>::Native>>,
I: IntoIterator<Item = P>,
pub unsafe fn from_trusted_len_iter<I, P>(iter: I) -> PrimitiveArray<T>where
P: Borrow<Option<<T as ArrowPrimitiveType>::Native>>,
I: IntoIterator<Item = P>,
Creates a PrimitiveArray
from an iterator of trusted length.
Safety
The iterator must be TrustedLen
.
I.e. that size_hint().1
correctly reports its length.
source§impl<T> PrimitiveArray<T>where
T: ArrowTimestampType,
impl<T> PrimitiveArray<T>where
T: ArrowTimestampType,
sourcepub fn from_vec(
data: Vec<i64, Global>,
timezone: Option<String>
) -> PrimitiveArray<T>where
PrimitiveArray<T>: From<Vec<i64, Global>>,
👎Deprecated: Use with_timezone_opt instead
pub fn from_vec(
data: Vec<i64, Global>,
timezone: Option<String>
) -> PrimitiveArray<T>where
PrimitiveArray<T>: From<Vec<i64, Global>>,
Construct a timestamp array from a vec of i64 values and an optional timezone
sourcepub fn from_opt_vec(
data: Vec<Option<i64>, Global>,
timezone: Option<String>
) -> PrimitiveArray<T>where
PrimitiveArray<T>: From<Vec<Option<i64>, Global>>,
👎Deprecated: Use with_timezone_opt instead
pub fn from_opt_vec(
data: Vec<Option<i64>, Global>,
timezone: Option<String>
) -> PrimitiveArray<T>where
PrimitiveArray<T>: From<Vec<Option<i64>, Global>>,
Construct a timestamp array from a vec of Option<i64>
values and an optional timezone
sourcepub fn with_timezone(&self, timezone: impl Into<String>) -> PrimitiveArray<T>
pub fn with_timezone(&self, timezone: impl Into<String>) -> PrimitiveArray<T>
Construct a timestamp array with new timezone
sourcepub fn with_timezone_utc(&self) -> PrimitiveArray<T>
pub fn with_timezone_utc(&self) -> PrimitiveArray<T>
Construct a timestamp array with UTC
sourcepub fn with_timezone_opt(&self, timezone: Option<String>) -> PrimitiveArray<T>
pub fn with_timezone_opt(&self, timezone: Option<String>) -> PrimitiveArray<T>
Construct a timestamp array with an optional timezone
source§impl<T> PrimitiveArray<T>where
T: DecimalType + ArrowPrimitiveType,
impl<T> PrimitiveArray<T>where
T: DecimalType + ArrowPrimitiveType,
sourcepub fn with_precision_and_scale(
self,
precision: u8,
scale: i8
) -> Result<PrimitiveArray<T>, ArrowError>where
PrimitiveArray<T>: Sized,
pub fn with_precision_and_scale(
self,
precision: u8,
scale: i8
) -> Result<PrimitiveArray<T>, ArrowError>where
PrimitiveArray<T>: Sized,
Returns a Decimal array with the same data as self, with the specified precision and scale.
Returns an Error if:
precision
is zeroprecision
is larger thanT:MAX_PRECISION
scale
is larger thanT::MAX_SCALE
scale
is >precision
sourcepub fn validate_decimal_precision(&self, precision: u8) -> Result<(), ArrowError>
pub fn validate_decimal_precision(&self, precision: u8) -> Result<(), ArrowError>
Validates values in this array can be properly interpreted with the specified precision.
sourcepub fn null_if_overflow_precision(&self, precision: u8) -> PrimitiveArray<T>
pub fn null_if_overflow_precision(&self, precision: u8) -> PrimitiveArray<T>
Validates the Decimal Array, if the value of slot is overflow for the specified precision, and will be casted to Null
sourcepub fn value_as_string(&self, row: usize) -> String
pub fn value_as_string(&self, row: usize) -> String
Returns Self::value
formatted as a string
Trait Implementations§
source§impl<T> Array for PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<T> Array for PrimitiveArray<T>where
T: ArrowPrimitiveType,
source§fn data_ref(&self) -> &ArrayData
fn data_ref(&self) -> &ArrayData
source§fn slice(&self, offset: usize, length: usize) -> Arc<dyn Array + 'static>
fn slice(&self, offset: usize, length: usize) -> Arc<dyn Array + 'static>
source§fn offset(&self) -> usize
fn offset(&self) -> usize
0
. Read moresource§fn is_null(&self, index: usize) -> bool
fn is_null(&self, index: usize) -> bool
index
is null.
When using this function on a slice, the index is relative to the slice. Read moresource§fn is_valid(&self, index: usize) -> bool
fn is_valid(&self, index: usize) -> bool
index
is not null.
When using this function on a slice, the index is relative to the slice. Read moresource§fn null_count(&self) -> usize
fn null_count(&self) -> usize
source§fn get_buffer_memory_size(&self) -> usize
fn get_buffer_memory_size(&self) -> usize
source§fn get_array_memory_size(&self) -> usize
fn get_array_memory_size(&self) -> usize
get_buffer_memory_size()
and
includes the overhead of the data structures that contain the pointers to the various buffers.source§impl<'a, T> ArrayAccessor for &'a PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<'a, T> ArrayAccessor for &'a PrimitiveArray<T>where
T: ArrowPrimitiveType,
§type Item = <T as ArrowPrimitiveType>::Native
type Item = <T as ArrowPrimitiveType>::Native
source§fn value(&self, index: usize) -> <&'a PrimitiveArray<T> as ArrayAccessor>::Item
fn value(&self, index: usize) -> <&'a PrimitiveArray<T> as ArrayAccessor>::Item
i
Read moresource§unsafe fn value_unchecked(
&self,
index: usize
) -> <&'a PrimitiveArray<T> as ArrayAccessor>::Item
unsafe fn value_unchecked(
&self,
index: usize
) -> <&'a PrimitiveArray<T> as ArrayAccessor>::Item
i
Read moresource§impl<T> Clone for PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<T> Clone for PrimitiveArray<T>where
T: ArrowPrimitiveType,
source§fn clone(&self) -> PrimitiveArray<T>
fn clone(&self) -> PrimitiveArray<T>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<T> Debug for PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<T> Debug for PrimitiveArray<T>where
T: ArrowPrimitiveType,
source§impl<T> From<ArrayData> for PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<T> From<ArrayData> for PrimitiveArray<T>where
T: ArrowPrimitiveType,
Constructs a PrimitiveArray
from an array data reference.
source§fn from(data: ArrayData) -> PrimitiveArray<T>
fn from(data: ArrayData) -> PrimitiveArray<T>
source§impl<T> From<PrimitiveArray<T>> for ArrayDatawhere
T: ArrowPrimitiveType,
impl<T> From<PrimitiveArray<T>> for ArrayDatawhere
T: ArrowPrimitiveType,
source§fn from(array: PrimitiveArray<T>) -> ArrayData
fn from(array: PrimitiveArray<T>) -> ArrayData
source§impl From<Vec<<Date32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Date32Type>
impl From<Vec<<Date32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Date32Type>
source§fn from(
data: Vec<<Date32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Date32Type>
fn from(
data: Vec<<Date32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Date32Type>
source§impl From<Vec<<Date64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Date64Type>
impl From<Vec<<Date64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Date64Type>
source§fn from(
data: Vec<<Date64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Date64Type>
fn from(
data: Vec<<Date64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Date64Type>
source§impl From<Vec<<Decimal128Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Decimal128Type>
impl From<Vec<<Decimal128Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Decimal128Type>
source§fn from(
data: Vec<<Decimal128Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Decimal128Type>
fn from(
data: Vec<<Decimal128Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Decimal128Type>
source§impl From<Vec<<Decimal256Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Decimal256Type>
impl From<Vec<<Decimal256Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Decimal256Type>
source§fn from(
data: Vec<<Decimal256Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Decimal256Type>
fn from(
data: Vec<<Decimal256Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Decimal256Type>
source§impl From<Vec<<DurationMicrosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationMicrosecondType>
impl From<Vec<<DurationMicrosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationMicrosecondType>
source§fn from(
data: Vec<<DurationMicrosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationMicrosecondType>
fn from(
data: Vec<<DurationMicrosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationMicrosecondType>
source§impl From<Vec<<DurationMillisecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationMillisecondType>
impl From<Vec<<DurationMillisecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationMillisecondType>
source§fn from(
data: Vec<<DurationMillisecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationMillisecondType>
fn from(
data: Vec<<DurationMillisecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationMillisecondType>
source§impl From<Vec<<DurationNanosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationNanosecondType>
impl From<Vec<<DurationNanosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationNanosecondType>
source§fn from(
data: Vec<<DurationNanosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationNanosecondType>
fn from(
data: Vec<<DurationNanosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationNanosecondType>
source§impl From<Vec<<DurationSecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationSecondType>
impl From<Vec<<DurationSecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<DurationSecondType>
source§fn from(
data: Vec<<DurationSecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationSecondType>
fn from(
data: Vec<<DurationSecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<DurationSecondType>
source§impl From<Vec<<Float32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Float32Type>
impl From<Vec<<Float32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Float32Type>
source§fn from(
data: Vec<<Float32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Float32Type>
fn from(
data: Vec<<Float32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Float32Type>
source§impl From<Vec<<Float64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Float64Type>
impl From<Vec<<Float64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Float64Type>
source§fn from(
data: Vec<<Float64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Float64Type>
fn from(
data: Vec<<Float64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Float64Type>
source§impl From<Vec<<Int16Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int16Type>
impl From<Vec<<Int16Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int16Type>
source§fn from(
data: Vec<<Int16Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int16Type>
fn from(
data: Vec<<Int16Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int16Type>
source§impl From<Vec<<Int32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int32Type>
impl From<Vec<<Int32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int32Type>
source§fn from(
data: Vec<<Int32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int32Type>
fn from(
data: Vec<<Int32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int32Type>
source§impl From<Vec<<Int64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int64Type>
impl From<Vec<<Int64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int64Type>
source§fn from(
data: Vec<<Int64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int64Type>
fn from(
data: Vec<<Int64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int64Type>
source§impl From<Vec<<Int8Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int8Type>
impl From<Vec<<Int8Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Int8Type>
source§fn from(
data: Vec<<Int8Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int8Type>
fn from(
data: Vec<<Int8Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Int8Type>
source§impl From<Vec<<IntervalDayTimeType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<IntervalDayTimeType>
impl From<Vec<<IntervalDayTimeType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<IntervalDayTimeType>
source§fn from(
data: Vec<<IntervalDayTimeType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<IntervalDayTimeType>
fn from(
data: Vec<<IntervalDayTimeType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<IntervalDayTimeType>
source§impl From<Vec<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<IntervalMonthDayNanoType>
impl From<Vec<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<IntervalMonthDayNanoType>
source§fn from(
data: Vec<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<IntervalMonthDayNanoType>
fn from(
data: Vec<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<IntervalMonthDayNanoType>
source§impl From<Vec<<IntervalYearMonthType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<IntervalYearMonthType>
impl From<Vec<<IntervalYearMonthType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<IntervalYearMonthType>
source§fn from(
data: Vec<<IntervalYearMonthType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<IntervalYearMonthType>
fn from(
data: Vec<<IntervalYearMonthType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<IntervalYearMonthType>
source§impl From<Vec<<Time32MillisecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time32MillisecondType>
impl From<Vec<<Time32MillisecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time32MillisecondType>
source§fn from(
data: Vec<<Time32MillisecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time32MillisecondType>
fn from(
data: Vec<<Time32MillisecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time32MillisecondType>
source§impl From<Vec<<Time32SecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time32SecondType>
impl From<Vec<<Time32SecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time32SecondType>
source§fn from(
data: Vec<<Time32SecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time32SecondType>
fn from(
data: Vec<<Time32SecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time32SecondType>
source§impl From<Vec<<Time64MicrosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time64MicrosecondType>
impl From<Vec<<Time64MicrosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time64MicrosecondType>
source§fn from(
data: Vec<<Time64MicrosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time64MicrosecondType>
fn from(
data: Vec<<Time64MicrosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time64MicrosecondType>
source§impl From<Vec<<Time64NanosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time64NanosecondType>
impl From<Vec<<Time64NanosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<Time64NanosecondType>
source§fn from(
data: Vec<<Time64NanosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time64NanosecondType>
fn from(
data: Vec<<Time64NanosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<Time64NanosecondType>
source§impl From<Vec<<TimestampMicrosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampMicrosecondType>
impl From<Vec<<TimestampMicrosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampMicrosecondType>
source§fn from(
data: Vec<<TimestampMicrosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampMicrosecondType>
fn from(
data: Vec<<TimestampMicrosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampMicrosecondType>
source§impl From<Vec<<TimestampMillisecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampMillisecondType>
impl From<Vec<<TimestampMillisecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampMillisecondType>
source§fn from(
data: Vec<<TimestampMillisecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampMillisecondType>
fn from(
data: Vec<<TimestampMillisecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampMillisecondType>
source§impl From<Vec<<TimestampNanosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampNanosecondType>
impl From<Vec<<TimestampNanosecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampNanosecondType>
source§fn from(
data: Vec<<TimestampNanosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampNanosecondType>
fn from(
data: Vec<<TimestampNanosecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampNanosecondType>
source§impl From<Vec<<TimestampSecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampSecondType>
impl From<Vec<<TimestampSecondType as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<TimestampSecondType>
source§fn from(
data: Vec<<TimestampSecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampSecondType>
fn from(
data: Vec<<TimestampSecondType as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<TimestampSecondType>
source§impl From<Vec<<UInt16Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt16Type>
impl From<Vec<<UInt16Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt16Type>
source§fn from(
data: Vec<<UInt16Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt16Type>
fn from(
data: Vec<<UInt16Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt16Type>
source§impl From<Vec<<UInt32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt32Type>
impl From<Vec<<UInt32Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt32Type>
source§fn from(
data: Vec<<UInt32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt32Type>
fn from(
data: Vec<<UInt32Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt32Type>
source§impl From<Vec<<UInt64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt64Type>
impl From<Vec<<UInt64Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt64Type>
source§fn from(
data: Vec<<UInt64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt64Type>
fn from(
data: Vec<<UInt64Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt64Type>
source§impl From<Vec<<UInt8Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt8Type>
impl From<Vec<<UInt8Type as ArrowPrimitiveType>::Native, Global>> for PrimitiveArray<UInt8Type>
source§fn from(
data: Vec<<UInt8Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt8Type>
fn from(
data: Vec<<UInt8Type as ArrowPrimitiveType>::Native, Global>
) -> PrimitiveArray<UInt8Type>
source§impl From<Vec<Option<<Date32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Date32Type>
impl From<Vec<Option<<Date32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Date32Type>
source§fn from(
data: Vec<Option<<Date32Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Date32Type>
fn from(
data: Vec<Option<<Date32Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Date32Type>
source§impl From<Vec<Option<<Date64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Date64Type>
impl From<Vec<Option<<Date64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Date64Type>
source§fn from(
data: Vec<Option<<Date64Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Date64Type>
fn from(
data: Vec<Option<<Date64Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Date64Type>
source§impl From<Vec<Option<<Decimal128Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Decimal128Type>
impl From<Vec<Option<<Decimal128Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Decimal128Type>
source§fn from(
data: Vec<Option<<Decimal128Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Decimal128Type>
fn from(
data: Vec<Option<<Decimal128Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Decimal128Type>
source§impl From<Vec<Option<<Decimal256Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Decimal256Type>
impl From<Vec<Option<<Decimal256Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Decimal256Type>
source§fn from(
data: Vec<Option<<Decimal256Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Decimal256Type>
fn from(
data: Vec<Option<<Decimal256Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Decimal256Type>
source§impl From<Vec<Option<<DurationMicrosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationMicrosecondType>
impl From<Vec<Option<<DurationMicrosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationMicrosecondType>
source§fn from(
data: Vec<Option<<DurationMicrosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationMicrosecondType>
fn from(
data: Vec<Option<<DurationMicrosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationMicrosecondType>
source§impl From<Vec<Option<<DurationMillisecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationMillisecondType>
impl From<Vec<Option<<DurationMillisecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationMillisecondType>
source§fn from(
data: Vec<Option<<DurationMillisecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationMillisecondType>
fn from(
data: Vec<Option<<DurationMillisecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationMillisecondType>
source§impl From<Vec<Option<<DurationNanosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationNanosecondType>
impl From<Vec<Option<<DurationNanosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationNanosecondType>
source§fn from(
data: Vec<Option<<DurationNanosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationNanosecondType>
fn from(
data: Vec<Option<<DurationNanosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationNanosecondType>
source§impl From<Vec<Option<<DurationSecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationSecondType>
impl From<Vec<Option<<DurationSecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<DurationSecondType>
source§fn from(
data: Vec<Option<<DurationSecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationSecondType>
fn from(
data: Vec<Option<<DurationSecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<DurationSecondType>
source§impl From<Vec<Option<<Float32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Float32Type>
impl From<Vec<Option<<Float32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Float32Type>
source§fn from(
data: Vec<Option<<Float32Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Float32Type>
fn from(
data: Vec<Option<<Float32Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Float32Type>
source§impl From<Vec<Option<<Float64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Float64Type>
impl From<Vec<Option<<Float64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Float64Type>
source§fn from(
data: Vec<Option<<Float64Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Float64Type>
fn from(
data: Vec<Option<<Float64Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Float64Type>
source§impl From<Vec<Option<<Int16Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int16Type>
impl From<Vec<Option<<Int16Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int16Type>
source§impl From<Vec<Option<<Int32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int32Type>
impl From<Vec<Option<<Int32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int32Type>
source§impl From<Vec<Option<<Int64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int64Type>
impl From<Vec<Option<<Int64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int64Type>
source§impl From<Vec<Option<<Int8Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int8Type>
impl From<Vec<Option<<Int8Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Int8Type>
source§impl From<Vec<Option<<IntervalDayTimeType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<IntervalDayTimeType>
impl From<Vec<Option<<IntervalDayTimeType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<IntervalDayTimeType>
source§fn from(
data: Vec<Option<<IntervalDayTimeType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<IntervalDayTimeType>
fn from(
data: Vec<Option<<IntervalDayTimeType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<IntervalDayTimeType>
source§impl From<Vec<Option<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<IntervalMonthDayNanoType>
impl From<Vec<Option<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<IntervalMonthDayNanoType>
source§fn from(
data: Vec<Option<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<IntervalMonthDayNanoType>
fn from(
data: Vec<Option<<IntervalMonthDayNanoType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<IntervalMonthDayNanoType>
source§impl From<Vec<Option<<IntervalYearMonthType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<IntervalYearMonthType>
impl From<Vec<Option<<IntervalYearMonthType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<IntervalYearMonthType>
source§fn from(
data: Vec<Option<<IntervalYearMonthType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<IntervalYearMonthType>
fn from(
data: Vec<Option<<IntervalYearMonthType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<IntervalYearMonthType>
source§impl From<Vec<Option<<Time32MillisecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time32MillisecondType>
impl From<Vec<Option<<Time32MillisecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time32MillisecondType>
source§fn from(
data: Vec<Option<<Time32MillisecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time32MillisecondType>
fn from(
data: Vec<Option<<Time32MillisecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time32MillisecondType>
source§impl From<Vec<Option<<Time32SecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time32SecondType>
impl From<Vec<Option<<Time32SecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time32SecondType>
source§fn from(
data: Vec<Option<<Time32SecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time32SecondType>
fn from(
data: Vec<Option<<Time32SecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time32SecondType>
source§impl From<Vec<Option<<Time64MicrosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time64MicrosecondType>
impl From<Vec<Option<<Time64MicrosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time64MicrosecondType>
source§fn from(
data: Vec<Option<<Time64MicrosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time64MicrosecondType>
fn from(
data: Vec<Option<<Time64MicrosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time64MicrosecondType>
source§impl From<Vec<Option<<Time64NanosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time64NanosecondType>
impl From<Vec<Option<<Time64NanosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<Time64NanosecondType>
source§fn from(
data: Vec<Option<<Time64NanosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time64NanosecondType>
fn from(
data: Vec<Option<<Time64NanosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<Time64NanosecondType>
source§impl From<Vec<Option<<TimestampMicrosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampMicrosecondType>
impl From<Vec<Option<<TimestampMicrosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampMicrosecondType>
source§fn from(
data: Vec<Option<<TimestampMicrosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampMicrosecondType>
fn from(
data: Vec<Option<<TimestampMicrosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampMicrosecondType>
source§impl From<Vec<Option<<TimestampMillisecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampMillisecondType>
impl From<Vec<Option<<TimestampMillisecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampMillisecondType>
source§fn from(
data: Vec<Option<<TimestampMillisecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampMillisecondType>
fn from(
data: Vec<Option<<TimestampMillisecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampMillisecondType>
source§impl From<Vec<Option<<TimestampNanosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampNanosecondType>
impl From<Vec<Option<<TimestampNanosecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampNanosecondType>
source§fn from(
data: Vec<Option<<TimestampNanosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampNanosecondType>
fn from(
data: Vec<Option<<TimestampNanosecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampNanosecondType>
source§impl From<Vec<Option<<TimestampSecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampSecondType>
impl From<Vec<Option<<TimestampSecondType as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<TimestampSecondType>
source§fn from(
data: Vec<Option<<TimestampSecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampSecondType>
fn from(
data: Vec<Option<<TimestampSecondType as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<TimestampSecondType>
source§impl From<Vec<Option<<UInt16Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt16Type>
impl From<Vec<Option<<UInt16Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt16Type>
source§fn from(
data: Vec<Option<<UInt16Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<UInt16Type>
fn from(
data: Vec<Option<<UInt16Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<UInt16Type>
source§impl From<Vec<Option<<UInt32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt32Type>
impl From<Vec<Option<<UInt32Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt32Type>
source§fn from(
data: Vec<Option<<UInt32Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<UInt32Type>
fn from(
data: Vec<Option<<UInt32Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<UInt32Type>
source§impl From<Vec<Option<<UInt64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt64Type>
impl From<Vec<Option<<UInt64Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt64Type>
source§fn from(
data: Vec<Option<<UInt64Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<UInt64Type>
fn from(
data: Vec<Option<<UInt64Type as ArrowPrimitiveType>::Native>, Global>
) -> PrimitiveArray<UInt64Type>
source§impl From<Vec<Option<<UInt8Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt8Type>
impl From<Vec<Option<<UInt8Type as ArrowPrimitiveType>::Native>, Global>> for PrimitiveArray<UInt8Type>
source§impl<T, Ptr> FromIterator<Ptr> for PrimitiveArray<T>where
T: ArrowPrimitiveType,
Ptr: Into<NativeAdapter<T>>,
impl<T, Ptr> FromIterator<Ptr> for PrimitiveArray<T>where
T: ArrowPrimitiveType,
Ptr: Into<NativeAdapter<T>>,
source§fn from_iter<I>(iter: I) -> PrimitiveArray<T>where
I: IntoIterator<Item = Ptr>,
fn from_iter<I>(iter: I) -> PrimitiveArray<T>where
I: IntoIterator<Item = Ptr>,
source§impl<'a, T> IntoIterator for &'a PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<'a, T> IntoIterator for &'a PrimitiveArray<T>where
T: ArrowPrimitiveType,
§type Item = Option<<T as ArrowPrimitiveType>::Native>
type Item = Option<<T as ArrowPrimitiveType>::Native>
§type IntoIter = ArrayIter<&'a PrimitiveArray<T>>
type IntoIter = ArrayIter<&'a PrimitiveArray<T>>
source§fn into_iter(self) -> <&'a PrimitiveArray<T> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a PrimitiveArray<T> as IntoIterator>::IntoIter
source§impl<T> PartialEq<PrimitiveArray<T>> for PrimitiveArray<T>where
T: ArrowPrimitiveType,
impl<T> PartialEq<PrimitiveArray<T>> for PrimitiveArray<T>where
T: ArrowPrimitiveType,
source§fn eq(&self, other: &PrimitiveArray<T>) -> bool
fn eq(&self, other: &PrimitiveArray<T>) -> bool
self
and other
values to be equal, and is used
by ==
.