#[repr(i32)]
pub enum ScalarFunction {
Show 73 variants
    Abs,
    Acos,
    Asin,
    Atan,
    Ascii,
    Ceil,
    Cos,
    Digest,
    Exp,
    Floor,
    Ln,
    Log,
    Log10,
    Log2,
    Round,
    Signum,
    Sin,
    Sqrt,
    Tan,
    Trunc,
    Array,
    RegexpMatch,
    BitLength,
    Btrim,
    CharacterLength,
    Chr,
    Concat,
    ConcatWithSeparator,
    DatePart,
    DateTrunc,
    InitCap,
    Left,
    Lpad,
    Lower,
    Ltrim,
    Md5,
    NullIf,
    OctetLength,
    Random,
    RegexpReplace,
    Repeat,
    Replace,
    Reverse,
    Right,
    Rpad,
    Rtrim,
    Sha224,
    Sha256,
    Sha384,
    Sha512,
    SplitPart,
    StartsWith,
    Strpos,
    Substr,
    ToHex,
    ToTimestamp,
    ToTimestampMillis,
    ToTimestampMicros,
    ToTimestampSeconds,
    Now,
    Translate,
    Trim,
    Upper,
    Coalesce,
    Power,
    StructFun,
    FromUnixtime,
    Atan2,
    DateBin,
    ArrowTypeof,
    CurrentDate,
    CurrentTime,
    Uuid,
}Variants§
Abs
Acos
Asin
Atan
Ascii
Ceil
Cos
Digest
Exp
Floor
Ln
Log
Log10
Log2
Round
Signum
Sin
Sqrt
Tan
Trunc
Array
RegexpMatch
BitLength
Btrim
CharacterLength
Chr
Concat
ConcatWithSeparator
DatePart
DateTrunc
InitCap
Left
Lpad
Lower
Ltrim
Md5
NullIf
OctetLength
Random
RegexpReplace
Repeat
Replace
Reverse
Right
Rpad
Rtrim
Sha224
Sha256
Sha384
Sha512
SplitPart
StartsWith
Strpos
Substr
ToHex
ToTimestamp
ToTimestampMillis
ToTimestampMicros
ToTimestampSeconds
Now
Translate
Trim
Upper
Coalesce
Power
StructFun
FromUnixtime
Atan2
DateBin
ArrowTypeof
CurrentDate
CurrentTime
Uuid
Implementations§
source§impl ScalarFunction
 
impl ScalarFunction
sourcepub fn as_str_name(&self) -> &'static str
 
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
 
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ScalarFunction
 
impl Clone for ScalarFunction
source§fn clone(&self) -> ScalarFunction
 
fn clone(&self) -> ScalarFunction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ScalarFunction
 
impl Debug for ScalarFunction
source§impl Default for ScalarFunction
 
impl Default for ScalarFunction
source§fn default() -> ScalarFunction
 
fn default() -> ScalarFunction
Returns the “default value” for a type. Read more
source§impl From<&ScalarFunction> for BuiltinScalarFunction
 
impl From<&ScalarFunction> for BuiltinScalarFunction
source§fn from(f: &ScalarFunction) -> Self
 
fn from(f: &ScalarFunction) -> Self
Converts to this type from the input type.
source§impl From<ScalarFunction> for i32
 
impl From<ScalarFunction> for i32
source§fn from(value: ScalarFunction) -> i32
 
fn from(value: ScalarFunction) -> i32
Converts to this type from the input type.
source§impl Hash for ScalarFunction
 
impl Hash for ScalarFunction
source§impl Ord for ScalarFunction
 
impl Ord for ScalarFunction
source§fn cmp(&self, other: &ScalarFunction) -> Ordering
 
fn cmp(&self, other: &ScalarFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ScalarFunction> for ScalarFunction
 
impl PartialEq<ScalarFunction> for ScalarFunction
source§fn eq(&self, other: &ScalarFunction) -> bool
 
fn eq(&self, other: &ScalarFunction) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ScalarFunction> for ScalarFunction
 
impl PartialOrd<ScalarFunction> for ScalarFunction
source§fn partial_cmp(&self, other: &ScalarFunction) -> Option<Ordering>
 
fn partial_cmp(&self, other: &ScalarFunction) -> Option<Ordering>
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 moresource§impl TryFrom<&BuiltinScalarFunction> for ScalarFunction
 
impl TryFrom<&BuiltinScalarFunction> for ScalarFunction
impl Copy for ScalarFunction
impl Eq for ScalarFunction
impl StructuralEq for ScalarFunction
impl StructuralPartialEq for ScalarFunction
Auto Trait Implementations§
impl RefUnwindSafe for ScalarFunction
impl Send for ScalarFunction
impl Sync for ScalarFunction
impl Unpin for ScalarFunction
impl UnwindSafe for ScalarFunction
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.