pub enum FunctionExpr {
Show 97 variants
ArrayExpr(ArrayFunction),
BinaryExpr(BinaryFunction),
Categorical(CategoricalFunction),
ListExpr(ListFunction),
StringExpr(StringFunction),
StructExpr(StructFunction),
TemporalExpr(TemporalFunction),
Bitwise(BitwiseFunction),
Boolean(BooleanFunction),
Business(BusinessFunction),
Abs,
Negate,
Hist {
bin_count: Option<usize>,
include_category: bool,
include_breakpoint: bool,
},
NullCount,
Pow(PowFunction),
Hash(u64, u64, u64, u64),
ArgWhere,
IndexOf,
SearchSorted(SearchSortedSide),
Range(RangeFunction),
Trigonometry(TrigonometricFunction),
Atan2,
Sign,
FillNull,
FillNullWithStrategy(FillNullStrategy),
RollingExpr(RollingFunction),
RollingExprBy(RollingFunctionBy),
ShiftAndFill,
Shift,
DropNans,
DropNulls,
Mode,
Skew(bool),
Kurtosis(bool, bool),
Reshape(Vec<ReshapeDimension>),
RepeatBy,
ArgUnique,
Rank {
options: RankOptions,
seed: Option<u64>,
},
Repeat,
Clip {
has_min: bool,
has_max: bool,
},
AsStruct,
TopK {
descending: bool,
},
TopKBy {
descending: Vec<bool>,
},
CumCount {
reverse: bool,
},
CumSum {
reverse: bool,
},
CumProd {
reverse: bool,
},
CumMin {
reverse: bool,
},
CumMax {
reverse: bool,
},
Reverse,
ValueCounts {
sort: bool,
parallel: bool,
name: PlSmallStr,
normalize: bool,
},
UniqueCounts,
ApproxNUnique,
Coalesce,
ShrinkType,
Diff(i64, NullBehavior),
PctChange,
Interpolate(InterpolationMethod),
InterpolateBy,
Entropy {
base: f64,
normalize: bool,
},
Log {
base: f64,
},
Log1p,
Exp,
Unique(bool),
Round {
decimals: u32,
},
RoundSF {
digits: i32,
},
Floor,
Ceil,
UpperBound,
LowerBound,
Fused(FusedOperator),
ConcatExpr(bool),
Correlation {
method: CorrelationMethod,
},
PeakMin,
PeakMax,
Cut {
breaks: Vec<f64>,
labels: Option<Vec<PlSmallStr>>,
left_closed: bool,
include_breaks: bool,
},
QCut {
probs: Vec<f64>,
labels: Option<Vec<PlSmallStr>>,
left_closed: bool,
allow_duplicates: bool,
include_breaks: bool,
},
RLE,
RLEID,
ToPhysical,
Random {
method: RandomMethod,
seed: Option<u64>,
},
SetSortedFlag(IsSorted),
FfiPlugin {
lib: PlSmallStr,
symbol: PlSmallStr,
kwargs: Arc<[u8]>,
},
BackwardFill {
limit: Option<u32>,
},
ForwardFill {
limit: Option<u32>,
},
MaxHorizontal,
MinHorizontal,
SumHorizontal {
ignore_nulls: bool,
},
MeanHorizontal {
ignore_nulls: bool,
},
EwmMean {
options: EWMOptions,
},
EwmMeanBy {
half_life: Duration,
},
EwmStd {
options: EWMOptions,
},
EwmVar {
options: EWMOptions,
},
Replace,
ReplaceStrict {
return_dtype: Option<DataType>,
},
GatherEvery {
n: usize,
offset: usize,
},
Reinterpret(bool),
ExtendConstant,
}
Variants§
ArrayExpr(ArrayFunction)
BinaryExpr(BinaryFunction)
Categorical(CategoricalFunction)
ListExpr(ListFunction)
StringExpr(StringFunction)
StructExpr(StructFunction)
TemporalExpr(TemporalFunction)
Bitwise(BitwiseFunction)
Boolean(BooleanFunction)
Business(BusinessFunction)
Abs
Negate
Hist
NullCount
Pow(PowFunction)
Hash(u64, u64, u64, u64)
ArgWhere
IndexOf
SearchSorted(SearchSortedSide)
Range(RangeFunction)
Trigonometry(TrigonometricFunction)
Atan2
Sign
FillNull
FillNullWithStrategy(FillNullStrategy)
RollingExpr(RollingFunction)
RollingExprBy(RollingFunctionBy)
ShiftAndFill
Shift
DropNans
DropNulls
Mode
Skew(bool)
Kurtosis(bool, bool)
Reshape(Vec<ReshapeDimension>)
RepeatBy
ArgUnique
Rank
Repeat
Clip
AsStruct
TopK
TopKBy
CumCount
CumSum
CumProd
CumMin
CumMax
Reverse
ValueCounts
UniqueCounts
ApproxNUnique
Coalesce
ShrinkType
Diff(i64, NullBehavior)
PctChange
Interpolate(InterpolationMethod)
InterpolateBy
Entropy
Log
Log1p
Exp
Unique(bool)
Round
RoundSF
Floor
Ceil
UpperBound
LowerBound
Fused(FusedOperator)
ConcatExpr(bool)
Correlation
Fields
§
method: CorrelationMethod
PeakMin
PeakMax
Cut
QCut
Fields
§
labels: Option<Vec<PlSmallStr>>
RLE
RLEID
ToPhysical
Random
SetSortedFlag(IsSorted)
FfiPlugin
Creating this node is unsafe This will lead to calls over FFI.
BackwardFill
ForwardFill
MaxHorizontal
MinHorizontal
SumHorizontal
MeanHorizontal
EwmMean
Fields
§
options: EWMOptions
EwmMeanBy
EwmStd
Fields
§
options: EWMOptions
EwmVar
Fields
§
options: EWMOptions
Replace
ReplaceStrict
GatherEvery
Reinterpret(bool)
ExtendConstant
Trait Implementations§
Source§impl Clone for FunctionExpr
impl Clone for FunctionExpr
Source§fn clone(&self) -> FunctionExpr
fn clone(&self) -> FunctionExpr
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 FunctionExpr
impl Debug for FunctionExpr
Source§impl<'de> Deserialize<'de> for FunctionExpr
impl<'de> Deserialize<'de> for FunctionExpr
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionExpr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionExpr, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FunctionExpr
impl Display for FunctionExpr
Source§impl From<BinaryFunction> for FunctionExpr
impl From<BinaryFunction> for FunctionExpr
Source§fn from(b: BinaryFunction) -> FunctionExpr
fn from(b: BinaryFunction) -> FunctionExpr
Converts to this type from the input type.
Source§impl From<BooleanFunction> for FunctionExpr
impl From<BooleanFunction> for FunctionExpr
Source§fn from(func: BooleanFunction) -> FunctionExpr
fn from(func: BooleanFunction) -> FunctionExpr
Converts to this type from the input type.
Source§impl From<CategoricalFunction> for FunctionExpr
impl From<CategoricalFunction> for FunctionExpr
Source§fn from(func: CategoricalFunction) -> FunctionExpr
fn from(func: CategoricalFunction) -> FunctionExpr
Converts to this type from the input type.
Source§impl From<FunctionExpr> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<FunctionExpr> for SpecialEq<Arc<dyn ColumnsUdf>>
Source§fn from(func: FunctionExpr) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: FunctionExpr) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
Source§impl From<StringFunction> for FunctionExpr
impl From<StringFunction> for FunctionExpr
Source§fn from(str: StringFunction) -> FunctionExpr
fn from(str: StringFunction) -> FunctionExpr
Converts to this type from the input type.
Source§impl Hash for FunctionExpr
impl Hash for FunctionExpr
Source§impl PartialEq for FunctionExpr
impl PartialEq for FunctionExpr
Source§impl Serialize for FunctionExpr
impl Serialize for FunctionExpr
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionExpr
Auto Trait Implementations§
impl Freeze for FunctionExpr
impl !RefUnwindSafe for FunctionExpr
impl Send for FunctionExpr
impl Sync for FunctionExpr
impl Unpin for FunctionExpr
impl !UnwindSafe for FunctionExpr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string()
Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more