Struct datafusion::physical_plan::functions::ScalarFunctionExpr[][src]

pub struct ScalarFunctionExpr { /* fields omitted */ }

Physical expression of a scalar function

Implementations

impl ScalarFunctionExpr[src]

pub fn new(
    name: &str,
    fun: ScalarFunctionImplementation,
    args: Vec<Arc<dyn PhysicalExpr>>,
    return_type: &DataType
) -> Self
[src]

Create a new Scalar function

pub fn fun(&self) -> &ScalarFunctionImplementation[src]

Get the scalar function implementation

pub fn name(&self) -> &str[src]

The name for this expression

pub fn args(&self) -> &[Arc<dyn PhysicalExpr>][src]

Input arguments

pub fn return_type(&self) -> &DataType[src]

Data type produced by this expression

Trait Implementations

impl Debug for ScalarFunctionExpr[src]

impl Display for ScalarFunctionExpr[src]

impl PhysicalExpr for ScalarFunctionExpr[src]

fn as_any(&self) -> &dyn Any[src]

Return a reference to Any that can be used for downcasting

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,