Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::execution::physical_plan::udf::ScalarFunction - Rust
[go: Go Back, main page]

[][src]Struct datafusion::execution::physical_plan::udf::ScalarFunction

pub struct ScalarFunction {
    pub name: String,
    pub args: Vec<Field>,
    pub return_type: DataType,
    pub fun: ScalarUdf,
}

Scalar UDF Expression

Fields

name: String

Function name

args: Vec<Field>

Function argument meta-data

return_type: DataType

Return type

fun: ScalarUdf

UDF implementation

Implementations

impl ScalarFunction[src]

pub fn new(
    name: &str,
    args: Vec<Field>,
    return_type: DataType,
    fun: ScalarUdf
) -> Self
[src]

Create a new ScalarFunction

Trait Implementations

impl Clone for ScalarFunction[src]

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> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>, 

impl<T> WithSubscriber for T[src]