pub enum FunctionExprPlan {
Show 85 variants
Abs(ExprPlan),
AddMonth {
expr: ExprPlan,
size: ExprPlan,
},
Lower(ExprPlan),
Initcap(ExprPlan),
Upper(ExprPlan),
Left {
expr: ExprPlan,
size: ExprPlan,
},
Right {
expr: ExprPlan,
size: ExprPlan,
},
Asin(ExprPlan),
Acos(ExprPlan),
Atan(ExprPlan),
Lpad {
expr: ExprPlan,
size: ExprPlan,
fill: Option<ExprPlan>,
},
Rpad {
expr: ExprPlan,
size: ExprPlan,
fill: Option<ExprPlan>,
},
Replace {
expr: ExprPlan,
old: ExprPlan,
new: ExprPlan,
},
Cast {
expr: ExprPlan,
data_type: DataType,
},
Ceil(ExprPlan),
Coalesce(Vec<ExprPlan>),
Concat(Vec<ExprPlan>),
ConcatWs {
separator: ExprPlan,
exprs: Vec<ExprPlan>,
},
Custom {
name: String,
exprs: Vec<ExprPlan>,
},
IfNull {
expr: ExprPlan,
then: ExprPlan,
},
NullIf {
expr1: ExprPlan,
expr2: ExprPlan,
},
Rand(Option<ExprPlan>),
Round(ExprPlan),
Trunc(ExprPlan),
Floor(ExprPlan),
Trim {
expr: ExprPlan,
filter_chars: Option<ExprPlan>,
trim_where_field: Option<TrimWhereField>,
},
Exp(ExprPlan),
Extract {
field: DateTimeField,
expr: ExprPlan,
},
Ln(ExprPlan),
Log {
antilog: ExprPlan,
base: ExprPlan,
},
Log2(ExprPlan),
Log10(ExprPlan),
Div {
dividend: ExprPlan,
divisor: ExprPlan,
},
Mod {
dividend: ExprPlan,
divisor: ExprPlan,
},
Gcd {
left: ExprPlan,
right: ExprPlan,
},
Lcm {
left: ExprPlan,
right: ExprPlan,
},
Sin(ExprPlan),
Cos(ExprPlan),
Tan(ExprPlan),
Sqrt(ExprPlan),
Power {
expr: ExprPlan,
power: ExprPlan,
},
Radians(ExprPlan),
Degrees(ExprPlan),
Now(),
CurrentDate(),
CurrentTime(),
CurrentTimestamp(),
Pi(),
LastDay(ExprPlan),
Ltrim {
expr: ExprPlan,
chars: Option<ExprPlan>,
},
Rtrim {
expr: ExprPlan,
chars: Option<ExprPlan>,
},
Reverse(ExprPlan),
Repeat {
expr: ExprPlan,
num: ExprPlan,
},
Sign(ExprPlan),
Substr {
expr: ExprPlan,
start: ExprPlan,
count: Option<ExprPlan>,
},
Unwrap {
expr: ExprPlan,
selector: ExprPlan,
},
GenerateUuid(),
Greatest(Vec<ExprPlan>),
Format {
expr: ExprPlan,
format: ExprPlan,
},
ToDate {
expr: ExprPlan,
format: ExprPlan,
},
ToTimestamp {
expr: ExprPlan,
format: ExprPlan,
},
ToTime {
expr: ExprPlan,
format: ExprPlan,
},
Position {
from_expr: ExprPlan,
sub_expr: ExprPlan,
},
FindIdx {
from_expr: ExprPlan,
sub_expr: ExprPlan,
start: Option<ExprPlan>,
},
Ascii(ExprPlan),
Chr(ExprPlan),
Md5(ExprPlan),
Hex(ExprPlan),
Append {
expr: ExprPlan,
value: ExprPlan,
},
Sort {
expr: ExprPlan,
order: Option<ExprPlan>,
},
Slice {
expr: ExprPlan,
start: ExprPlan,
length: ExprPlan,
},
Prepend {
expr: ExprPlan,
value: ExprPlan,
},
Skip {
expr: ExprPlan,
size: ExprPlan,
},
Take {
expr: ExprPlan,
size: ExprPlan,
},
GetX(ExprPlan),
GetY(ExprPlan),
Point {
x: ExprPlan,
y: ExprPlan,
},
CalcDistance {
geometry1: ExprPlan,
geometry2: ExprPlan,
},
IsEmpty(ExprPlan),
Length(ExprPlan),
Entries(ExprPlan),
Keys(ExprPlan),
Values(ExprPlan),
Splice {
list_data: ExprPlan,
begin_index: ExprPlan,
end_index: ExprPlan,
values: Option<ExprPlan>,
},
Dedup(ExprPlan),
}Variants§
Abs(ExprPlan)
AddMonth
Lower(ExprPlan)
Initcap(ExprPlan)
Upper(ExprPlan)
Left
Right
Asin(ExprPlan)
Acos(ExprPlan)
Atan(ExprPlan)
Lpad
Rpad
Replace
Cast
Ceil(ExprPlan)
Coalesce(Vec<ExprPlan>)
Concat(Vec<ExprPlan>)
ConcatWs
Custom
IfNull
NullIf
Rand(Option<ExprPlan>)
Round(ExprPlan)
Trunc(ExprPlan)
Floor(ExprPlan)
Trim
Exp(ExprPlan)
Extract
Ln(ExprPlan)
Log
Log2(ExprPlan)
Log10(ExprPlan)
Div
Mod
Gcd
Lcm
Sin(ExprPlan)
Cos(ExprPlan)
Tan(ExprPlan)
Sqrt(ExprPlan)
Power
Radians(ExprPlan)
Degrees(ExprPlan)
Now()
CurrentDate()
CurrentTime()
CurrentTimestamp()
Pi()
LastDay(ExprPlan)
Ltrim
Rtrim
Reverse(ExprPlan)
Repeat
Sign(ExprPlan)
Substr
Unwrap
GenerateUuid()
Greatest(Vec<ExprPlan>)
Format
ToDate
ToTimestamp
ToTime
Position
FindIdx
Ascii(ExprPlan)
Chr(ExprPlan)
Md5(ExprPlan)
Hex(ExprPlan)
Append
Sort
Slice
Prepend
Skip
Take
GetX(ExprPlan)
GetY(ExprPlan)
Point
CalcDistance
IsEmpty(ExprPlan)
Length(ExprPlan)
Entries(ExprPlan)
Keys(ExprPlan)
Values(ExprPlan)
Splice
Dedup(ExprPlan)
Implementations§
Trait Implementations§
Source§impl Clone for FunctionExprPlan
impl Clone for FunctionExprPlan
Source§fn clone(&self) -> FunctionExprPlan
fn clone(&self) -> FunctionExprPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionExprPlan
impl Debug for FunctionExprPlan
Source§impl<'de> Deserialize<'de> for FunctionExprPlan
impl<'de> Deserialize<'de> for FunctionExprPlan
Source§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
Source§impl Display for FunctionExprPlan
impl Display for FunctionExprPlan
impl Eq for FunctionExprPlan
Source§impl From<Function> for FunctionExprPlan
impl From<Function> for FunctionExprPlan
Source§impl Hash for FunctionExprPlan
impl Hash for FunctionExprPlan
Source§impl PartialEq for FunctionExprPlan
impl PartialEq for FunctionExprPlan
Source§impl Serialize for FunctionExprPlan
impl Serialize for FunctionExprPlan
impl StructuralPartialEq for FunctionExprPlan
Auto Trait Implementations§
impl Freeze for FunctionExprPlan
impl RefUnwindSafe for FunctionExprPlan
impl Send for FunctionExprPlan
impl Sync for FunctionExprPlan
impl Unpin for FunctionExprPlan
impl UnsafeUnpin for FunctionExprPlan
impl UnwindSafe for FunctionExprPlan
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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