arrow::array

Type Alias IntervalDayTimeArray

pub type IntervalDayTimeArray = PrimitiveArray<IntervalDayTimeType>;
Expand description

A PrimitiveArray of “calendar” intervals in days and milliseconds

See IntervalDayTime for details on representation and caveats.

§Example

use arrow_array::types::IntervalDayTime;
let array = IntervalDayTimeArray::from(vec![
  IntervalDayTime::new(1, 1000),                 // 1 day, 1000 milliseconds
  IntervalDayTime::new(33, 0),                  // 33 days, 0 milliseconds
  IntervalDayTime::new(0, 12 * 60 * 60 * 1000), // 0 days, 12 hours
]);

Aliased Type§

struct IntervalDayTimeArray { /* private fields */ }