Type Alias IntervalMonthDayNanoArray
pub type IntervalMonthDayNanoArray = PrimitiveArray<IntervalMonthDayNanoType>;
Expand description
A PrimitiveArray
of “calendar” intervals in months, days, and nanoseconds.
See IntervalMonthDayNano
for details on representation and caveats.
§Example
use arrow_array::types::IntervalMonthDayNano;
let array = IntervalMonthDayNanoArray::from(vec![
IntervalMonthDayNano::new(1, 2, 1000), // 1 month, 2 days, 1 nanosecond
IntervalMonthDayNano::new(12, 1, 0), // 12 months, 1 days, 0 nanoseconds
IntervalMonthDayNano::new(0, 0, 12 * 1000 * 1000), // 0 days, 12 milliseconds
]);
Aliased Type§
struct IntervalMonthDayNanoArray { /* private fields */ }