Enum arrow_udf_python::CallMode
source · pub enum CallMode {
CalledOnNullInput,
ReturnNullOnNullInput,
}
Expand description
Whether the function will be called when some of its arguments are null.
Variants§
CalledOnNullInput
The function will be called normally when some of its arguments are null. It is then the function author’s responsibility to check for null values if necessary and respond appropriately.
ReturnNullOnNullInput
The function always returns null whenever any of its arguments are null. If this parameter is specified, the function is not executed when there are null arguments; instead a null result is assumed automatically.
Trait Implementations§
source§impl Ord for CallMode
impl Ord for CallMode
source§impl PartialEq for CallMode
impl PartialEq for CallMode
source§impl PartialOrd for CallMode
impl PartialOrd for CallMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for CallMode
impl StructuralPartialEq for CallMode
Auto Trait Implementations§
impl Freeze for CallMode
impl RefUnwindSafe for CallMode
impl Send for CallMode
impl Sync for CallMode
impl Unpin for CallMode
impl UnwindSafe for CallMode
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