pub struct AsTextUdf { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ScalarUDFImpl for AsTextUdf
impl ScalarUDFImpl for AsTextUdf
Source§fn signature(&self) -> &Signature
fn signature(&self) -> &Signature
Returns the function’s
Signature for information about what input
types are accepted and the function’s Volatility.Source§fn invoke(&self, args: &[ColumnarValue]) -> Result<ColumnarValue>
fn invoke(&self, args: &[ColumnarValue]) -> Result<ColumnarValue>
Invoke the function on
args, returning the appropriate result Read moreSource§fn aliases(&self) -> &[String]
fn aliases(&self) -> &[String]
Returns any aliases (alternate names) for this function. Read more
Source§fn return_type_from_exprs(
&self,
args: &[Expr],
schema: &dyn ExprSchema,
) -> Result<DataType, DataFusionError>
fn return_type_from_exprs( &self, args: &[Expr], schema: &dyn ExprSchema, ) -> Result<DataType, DataFusionError>
Source§fn monotonicity(&self) -> Result<Option<Vec<Option<bool>>>, DataFusionError>
fn monotonicity(&self) -> Result<Option<Vec<Option<bool>>>, DataFusionError>
This function specifies monotonicity behaviors for User defined scalar functions.
Auto Trait Implementations§
impl Freeze for AsTextUdf
impl RefUnwindSafe for AsTextUdf
impl Send for AsTextUdf
impl Sync for AsTextUdf
impl Unpin for AsTextUdf
impl UnwindSafe for AsTextUdf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more