Enum expr::BinaryFunc [−][src]
pub enum BinaryFunc {
Show 140 variants
And,
Or,
AddInt16,
AddInt32,
AddInt64,
AddFloat32,
AddFloat64,
AddInterval,
AddTimestampInterval,
AddTimestampTzInterval,
AddDateInterval,
AddDateTime,
AddTimeInterval,
AddNumeric,
BitAndInt16,
BitAndInt32,
BitAndInt64,
BitOrInt16,
BitOrInt32,
BitOrInt64,
BitXorInt16,
BitXorInt32,
BitXorInt64,
BitShiftLeftInt16,
BitShiftLeftInt32,
BitShiftLeftInt64,
BitShiftRightInt16,
BitShiftRightInt32,
BitShiftRightInt64,
SubInt16,
SubInt32,
SubInt64,
SubFloat32,
SubFloat64,
SubInterval,
SubTimestamp,
SubTimestampTz,
SubTimestampInterval,
SubTimestampTzInterval,
SubDate,
SubDateInterval,
SubTime,
SubTimeInterval,
SubNumeric,
MulInt16,
MulInt32,
MulInt64,
MulFloat32,
MulFloat64,
MulNumeric,
MulInterval,
DivInt16,
DivInt32,
DivInt64,
DivFloat32,
DivFloat64,
DivNumeric,
DivInterval,
ModInt16,
ModInt32,
ModInt64,
ModFloat32,
ModFloat64,
ModNumeric,
RoundNumeric,
Eq,
NotEq,
Lt,
Lte,
Gt,
Gte,
IsLikePatternMatch {
case_insensitive: bool,
},
IsRegexpMatch {
case_insensitive: bool,
},
ToCharTimestamp,
ToCharTimestampTz,
DateBinTimestamp,
DateBinTimestampTz,
ExtractInterval,
ExtractTime,
ExtractTimestamp,
ExtractTimestampTz,
ExtractDate,
DatePartInterval,
DatePartTime,
DatePartTimestamp,
DatePartTimestampTz,
DateTruncTimestamp,
DateTruncTimestampTz,
TimezoneTimestamp,
TimezoneTimestampTz,
TimezoneTime {
wall_time: NaiveDateTime,
},
TimezoneIntervalTimestamp,
TimezoneIntervalTimestampTz,
TimezoneIntervalTime,
TextConcat,
JsonbGetInt64 {
stringify: bool,
},
JsonbGetString {
stringify: bool,
},
JsonbGetPath {
stringify: bool,
},
JsonbContainsString,
JsonbConcat,
JsonbContainsJsonb,
JsonbDeleteInt64,
JsonbDeleteString,
MapContainsKey,
MapGetValue,
MapGetValues,
MapContainsAllKeys,
MapContainsAnyKeys,
MapContainsMap,
ConvertFrom,
Left,
Position,
Right,
RepeatString,
Trim,
TrimLeading,
TrimTrailing,
EncodedBytesCharLength,
ListIndex,
ListLengthMax {
max_dim: usize,
},
ArrayContains,
ArrayIndex,
ArrayLength,
ArrayLower,
ArrayRemove,
ArrayUpper,
ArrayArrayConcat,
ListListConcat,
ListElementConcat,
ElementListConcat,
ListRemove,
DigestString,
DigestBytes,
MzRenderTypemod,
Encode,
Decode,
LogNumeric,
Power,
PowerNumeric,
PgGetConstraintdef,
}
Variants
And
Or
AddInt16
AddInt32
AddInt64
AddFloat32
AddFloat64
AddInterval
AddTimestampInterval
AddTimestampTzInterval
AddDateInterval
AddDateTime
AddTimeInterval
AddNumeric
BitAndInt16
BitAndInt32
BitAndInt64
BitOrInt16
BitOrInt32
BitOrInt64
BitXorInt16
BitXorInt32
BitXorInt64
BitShiftLeftInt16
BitShiftLeftInt32
BitShiftLeftInt64
BitShiftRightInt16
BitShiftRightInt32
BitShiftRightInt64
SubInt16
SubInt32
SubInt64
SubFloat32
SubFloat64
SubInterval
SubTimestamp
SubTimestampTz
SubTimestampInterval
SubTimestampTzInterval
SubDate
SubDateInterval
SubTime
SubTimeInterval
SubNumeric
MulInt16
MulInt32
MulInt64
MulFloat32
MulFloat64
MulNumeric
MulInterval
DivInt16
DivInt32
DivInt64
DivFloat32
DivFloat64
DivNumeric
DivInterval
ModInt16
ModInt32
ModInt64
ModFloat32
ModFloat64
ModNumeric
RoundNumeric
Eq
NotEq
Lt
Lte
Gt
Gte
IsLikePatternMatch
Fields
case_insensitive: bool
IsRegexpMatch
Fields
case_insensitive: bool
ToCharTimestamp
ToCharTimestampTz
DateBinTimestamp
DateBinTimestampTz
ExtractInterval
ExtractTime
ExtractTimestamp
ExtractTimestampTz
ExtractDate
DatePartInterval
DatePartTime
DatePartTimestamp
DatePartTimestampTz
DateTruncTimestamp
DateTruncTimestampTz
TimezoneTimestamp
TimezoneTimestampTz
TimezoneTime
Fields
wall_time: NaiveDateTime
TimezoneIntervalTimestamp
TimezoneIntervalTimestampTz
TimezoneIntervalTime
TextConcat
JsonbGetInt64
Fields
stringify: bool
JsonbGetString
Fields
stringify: bool
JsonbGetPath
Fields
stringify: bool
JsonbContainsString
JsonbConcat
JsonbContainsJsonb
JsonbDeleteInt64
JsonbDeleteString
MapContainsKey
MapGetValue
MapGetValues
MapContainsAllKeys
MapContainsAnyKeys
MapContainsMap
ConvertFrom
Left
Position
Right
RepeatString
Trim
TrimLeading
TrimTrailing
EncodedBytesCharLength
ListIndex
ListLengthMax
Fields
max_dim: usize
ArrayContains
ArrayIndex
ArrayLength
ArrayLower
ArrayRemove
ArrayUpper
ArrayArrayConcat
ListListConcat
ListElementConcat
ElementListConcat
ListRemove
DigestString
DigestBytes
MzRenderTypemod
Encode
Decode
LogNumeric
Power
PowerNumeric
PgGetConstraintdef
Implementations
pub fn eval<'a>(
&'a self,
datums: &[Datum<'a>],
temp_storage: &'a RowArena,
a_expr: &'a MirScalarExpr,
b_expr: &'a MirScalarExpr
) -> Result<Datum<'a>, EvalError>
Whether the function output is NULL if any of its inputs are NULL.
Whether the function might return NULL even if none of its inputs are NULL.
This is presently conservative, and may indicate that a function introduces nulls even when it does not.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Adds names and types of the fields of the struct or enum to rti
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for BinaryFunc
impl Send for BinaryFunc
impl Sync for BinaryFunc
impl Unpin for BinaryFunc
impl UnwindSafe for BinaryFunc
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more