Trait ToLiteralExpr

Source
pub trait ToLiteralExpr {
    // Required method
    fn to_literal_expr(&self) -> Expression;
}
Expand description

Wrap a literal value into a spark::Expression

Required Methods§

Implementations on Foreign Types§

Source§

impl<T> ToLiteralExpr for Vec<T>
where T: ToLiteral + Clone, DataType: From<T>,

Create a Spark ArrayType from a vec

Source§

impl<const N: usize, T> ToLiteralExpr for [T; N]
where T: ToLiteral + Clone, DataType: From<T>,

Create a Spark ArrayType from a slice

Implementors§