#[repr(i32)]pub enum ScalarFunction {
Show 130 variants
Abs = 0,
Acos = 1,
Asin = 2,
Atan = 3,
Ascii = 4,
Ceil = 5,
Cos = 6,
Digest = 7,
Exp = 8,
Floor = 9,
Ln = 10,
Log = 11,
Log10 = 12,
Log2 = 13,
Round = 14,
Signum = 15,
Sin = 16,
Sqrt = 17,
Tan = 18,
Trunc = 19,
Array = 20,
RegexpMatch = 21,
BitLength = 22,
Btrim = 23,
CharacterLength = 24,
Chr = 25,
Concat = 26,
ConcatWithSeparator = 27,
DatePart = 28,
DateTrunc = 29,
InitCap = 30,
Left = 31,
Lpad = 32,
Lower = 33,
Ltrim = 34,
Md5 = 35,
NullIf = 36,
OctetLength = 37,
Random = 38,
RegexpReplace = 39,
Repeat = 40,
Replace = 41,
Reverse = 42,
Right = 43,
Rpad = 44,
Rtrim = 45,
Sha224 = 46,
Sha256 = 47,
Sha384 = 48,
Sha512 = 49,
SplitPart = 50,
StartsWith = 51,
Strpos = 52,
Substr = 53,
ToHex = 54,
ToTimestamp = 55,
ToTimestampMillis = 56,
ToTimestampMicros = 57,
ToTimestampSeconds = 58,
Now = 59,
Translate = 60,
Trim = 61,
Upper = 62,
Coalesce = 63,
Power = 64,
StructFun = 65,
FromUnixtime = 66,
Atan2 = 67,
DateBin = 68,
ArrowTypeof = 69,
CurrentDate = 70,
CurrentTime = 71,
Uuid = 72,
Cbrt = 73,
Acosh = 74,
Asinh = 75,
Atanh = 76,
Sinh = 77,
Cosh = 78,
Tanh = 79,
Pi = 80,
Degrees = 81,
Radians = 82,
Factorial = 83,
Lcm = 84,
Gcd = 85,
ArrayAppend = 86,
ArrayConcat = 87,
ArrayDims = 88,
ArrayRepeat = 89,
ArrayLength = 90,
ArrayNdims = 91,
ArrayPosition = 92,
ArrayPositions = 93,
ArrayPrepend = 94,
ArrayRemove = 95,
ArrayReplace = 96,
ArrayToString = 97,
Cardinality = 98,
ArrayElement = 99,
ArraySlice = 100,
Encode = 101,
Decode = 102,
Cot = 103,
ArrayHas = 104,
ArrayHasAny = 105,
ArrayHasAll = 106,
ArrayRemoveN = 107,
ArrayReplaceN = 108,
ArrayRemoveAll = 109,
ArrayReplaceAll = 110,
Nanvl = 111,
Flatten = 112,
Isnan = 113,
Iszero = 114,
ArrayEmpty = 115,
ArrayPopBack = 116,
StringToArray = 117,
ToTimestampNanos = 118,
ArrayIntersect = 119,
ArrayUnion = 120,
OverLay = 121,
Range = 122,
ArrayExcept = 123,
ArrayPopFront = 124,
Levenshtein = 125,
SubstrIndex = 126,
FindInSet = 127,
ArraySort = 128,
ArrayDistinct = 129,
}Variants§
Abs = 0
Acos = 1
Asin = 2
Atan = 3
Ascii = 4
Ceil = 5
Cos = 6
Digest = 7
Exp = 8
Floor = 9
Ln = 10
Log = 11
Log10 = 12
Log2 = 13
Round = 14
Signum = 15
Sin = 16
Sqrt = 17
Tan = 18
Trunc = 19
Array = 20
RegexpMatch = 21
BitLength = 22
Btrim = 23
CharacterLength = 24
Chr = 25
Concat = 26
ConcatWithSeparator = 27
DatePart = 28
DateTrunc = 29
InitCap = 30
Left = 31
Lpad = 32
Lower = 33
Ltrim = 34
Md5 = 35
NullIf = 36
OctetLength = 37
Random = 38
RegexpReplace = 39
Repeat = 40
Replace = 41
Reverse = 42
Right = 43
Rpad = 44
Rtrim = 45
Sha224 = 46
Sha256 = 47
Sha384 = 48
Sha512 = 49
SplitPart = 50
StartsWith = 51
Strpos = 52
Substr = 53
ToHex = 54
ToTimestamp = 55
ToTimestampMillis = 56
ToTimestampMicros = 57
ToTimestampSeconds = 58
Now = 59
Translate = 60
Trim = 61
Upper = 62
Coalesce = 63
Power = 64
StructFun = 65
FromUnixtime = 66
Atan2 = 67
DateBin = 68
ArrowTypeof = 69
CurrentDate = 70
CurrentTime = 71
Uuid = 72
Cbrt = 73
Acosh = 74
Asinh = 75
Atanh = 76
Sinh = 77
Cosh = 78
Tanh = 79
Pi = 80
Degrees = 81
Radians = 82
Factorial = 83
Lcm = 84
Gcd = 85
ArrayAppend = 86
ArrayConcat = 87
ArrayDims = 88
ArrayRepeat = 89
ArrayLength = 90
ArrayNdims = 91
ArrayPosition = 92
ArrayPositions = 93
ArrayPrepend = 94
ArrayRemove = 95
ArrayReplace = 96
ArrayToString = 97
Cardinality = 98
ArrayElement = 99
ArraySlice = 100
Encode = 101
Decode = 102
Cot = 103
ArrayHas = 104
ArrayHasAny = 105
ArrayHasAll = 106
ArrayRemoveN = 107
ArrayReplaceN = 108
ArrayRemoveAll = 109
ArrayReplaceAll = 110
Nanvl = 111
Flatten = 112
Isnan = 113
Iszero = 114
ArrayEmpty = 115
ArrayPopBack = 116
StringToArray = 117
ToTimestampNanos = 118
ArrayIntersect = 119
ArrayUnion = 120
OverLay = 121
Range = 122
ArrayExcept = 123
ArrayPopFront = 124
Levenshtein = 125
SubstrIndex = 126
FindInSet = 127
ArraySort = 128
ArrayDistinct = 129
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 for ScalarFunction
impl PartialEq 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 for ScalarFunction
impl PartialOrd 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
source§impl TryFrom<i32> for ScalarFunction
impl TryFrom<i32> for ScalarFunction
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
source§fn try_from(value: i32) -> Result<ScalarFunction, DecodeError>
fn try_from(value: i32) -> Result<ScalarFunction, DecodeError>
Performs the conversion.
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§
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.