Skip to main content

FunctionExprPlan

Enum FunctionExprPlan 

Source
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

Fields

§

Lower(ExprPlan)

§

Initcap(ExprPlan)

§

Upper(ExprPlan)

§

Left

Fields

§

Right

Fields

§

Asin(ExprPlan)

§

Acos(ExprPlan)

§

Atan(ExprPlan)

§

Lpad

Fields

§

Rpad

Fields

§

Replace

Fields

§

Cast

Fields

§data_type: DataType
§

Ceil(ExprPlan)

§

Coalesce(Vec<ExprPlan>)

§

Concat(Vec<ExprPlan>)

§

ConcatWs

Fields

§separator: ExprPlan
§exprs: Vec<ExprPlan>
§

Custom

Fields

§name: String
§exprs: Vec<ExprPlan>
§

IfNull

Fields

§

NullIf

Fields

§expr1: ExprPlan
§expr2: ExprPlan
§

Rand(Option<ExprPlan>)

§

Round(ExprPlan)

§

Trunc(ExprPlan)

§

Floor(ExprPlan)

§

Trim

Fields

§filter_chars: Option<ExprPlan>
§trim_where_field: Option<TrimWhereField>
§

Exp(ExprPlan)

§

Extract

Fields

§

Ln(ExprPlan)

§

Log

Fields

§antilog: ExprPlan
§

Log2(ExprPlan)

§

Log10(ExprPlan)

§

Div

Fields

§dividend: ExprPlan
§divisor: ExprPlan
§

Mod

Fields

§dividend: ExprPlan
§divisor: ExprPlan
§

Gcd

Fields

§right: ExprPlan
§

Lcm

Fields

§right: ExprPlan
§

Sin(ExprPlan)

§

Cos(ExprPlan)

§

Tan(ExprPlan)

§

Sqrt(ExprPlan)

§

Power

Fields

§power: ExprPlan
§

Radians(ExprPlan)

§

Degrees(ExprPlan)

§

Now()

§

CurrentDate()

§

CurrentTime()

§

CurrentTimestamp()

§

Pi()

§

LastDay(ExprPlan)

§

Ltrim

Fields

§

Rtrim

Fields

§

Reverse(ExprPlan)

§

Repeat

Fields

§

Sign(ExprPlan)

§

Substr

Fields

§start: ExprPlan
§

Unwrap

Fields

§selector: ExprPlan
§

GenerateUuid()

§

Greatest(Vec<ExprPlan>)

§

Format

Fields

§format: ExprPlan
§

ToDate

Fields

§format: ExprPlan
§

ToTimestamp

Fields

§format: ExprPlan
§

ToTime

Fields

§format: ExprPlan
§

Position

Fields

§from_expr: ExprPlan
§sub_expr: ExprPlan
§

FindIdx

Fields

§from_expr: ExprPlan
§sub_expr: ExprPlan
§

Ascii(ExprPlan)

§

Chr(ExprPlan)

§

Md5(ExprPlan)

§

Hex(ExprPlan)

§

Append

Fields

§value: ExprPlan
§

Sort

Fields

§

Slice

Fields

§start: ExprPlan
§length: ExprPlan
§

Prepend

Fields

§value: ExprPlan
§

Skip

Fields

§

Take

Fields

§

GetX(ExprPlan)

§

GetY(ExprPlan)

§

Point

§

CalcDistance

Fields

§geometry1: ExprPlan
§geometry2: ExprPlan
§

IsEmpty(ExprPlan)

§

Length(ExprPlan)

§

Entries(ExprPlan)

§

Keys(ExprPlan)

§

Values(ExprPlan)

§

Splice

Fields

§list_data: ExprPlan
§begin_index: ExprPlan
§end_index: ExprPlan
§

Dedup(ExprPlan)

Implementations§

Source§

impl FunctionExprPlan

Source

pub fn as_exprs(&self) -> impl Iterator<Item = &ExprPlan>

Trait Implementations§

Source§

impl Clone for FunctionExprPlan

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for FunctionExprPlan

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for FunctionExprPlan

Source§

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

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Eq for FunctionExprPlan

Source§

impl From<Function> for FunctionExprPlan

Source§

fn from(function: Function) -> Self

Converts to this type from the input type.
Source§

impl Hash for FunctionExprPlan

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for FunctionExprPlan

Source§

fn eq(&self, other: &FunctionExprPlan) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for FunctionExprPlan

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for FunctionExprPlan

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V