pub struct TranslateUdf { /* private fields */ }Implementations§
Source§impl TranslateUdf
impl TranslateUdf
Trait Implementations§
Source§impl Debug for TranslateUdf
impl Debug for TranslateUdf
Source§impl Default for TranslateUdf
impl Default for TranslateUdf
Source§impl ScalarUDFImpl for TranslateUdf
impl ScalarUDFImpl for TranslateUdf
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 TranslateUdf
impl RefUnwindSafe for TranslateUdf
impl Send for TranslateUdf
impl Sync for TranslateUdf
impl Unpin for TranslateUdf
impl UnwindSafe for TranslateUdf
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