arrow_arith::temporal

Trait ExtractDatePartExt

Source
trait ExtractDatePartExt {
    // Required method
    fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>;
}
Expand description

Implement the specialized functions for extracting date part from temporal arrays.

Required Methods§

Source

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Implementations on Foreign Types§

Source§

impl ExtractDatePartExt for PrimitiveArray<Date32Type>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<Date64Type>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<DurationMicrosecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<DurationMillisecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<DurationNanosecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<DurationSecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<IntervalDayTimeType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<IntervalMonthDayNanoType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<IntervalYearMonthType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<Time32MillisecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<Time32SecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<Time64MicrosecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<Time64NanosecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<TimestampMicrosecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<TimestampMillisecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<TimestampNanosecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Source§

impl ExtractDatePartExt for PrimitiveArray<TimestampSecondType>

Source§

fn date_part(&self, part: DatePart) -> Result<Int32Array, ArrowError>

Implementors§