Skip to main content

ResultToI64

Trait ResultToI64 

Source
pub trait ResultToI64 {
    // Required method
    fn to_i64(&self) -> i64;
}
Expand description

Trait for converting aggregation results to i64 for output.

This is needed to produce Arrow RecordBatch outputs with numeric results.

Required Methods§

Source

fn to_i64(&self) -> i64

Converts the result to an i64 value.

Implementations on Foreign Types§

Source§

impl ResultToI64 for Option<f64>

Source§

fn to_i64(&self) -> i64

Source§

impl ResultToI64 for Option<i64>

Source§

fn to_i64(&self) -> i64

Source§

impl ResultToI64 for i64

Source§

fn to_i64(&self) -> i64

Source§

impl ResultToI64 for u64

Source§

fn to_i64(&self) -> i64

Implementors§