Struct prql_compiler::ast::pl::expr::TransformCall
source · pub struct TransformCall {
pub input: Box<Expr>,
pub kind: Box<TransformKind>,
pub partition: Vec<Expr>,
pub frame: WindowFrame,
pub sort: Vec<ColumnSort>,
}
Expand description
FuncCall with better typing. Returns the modified table.
Fields§
§input: Box<Expr>
§kind: Box<TransformKind>
§partition: Vec<Expr>
Grouping of values in columns
frame: WindowFrame
Windowing frame of columns
sort: Vec<ColumnSort>
Windowing order of columns
Implementations§
source§impl TransformCall
impl TransformCall
pub fn infer_type(&self, context: &Context) -> Result<Frame>
Trait Implementations§
source§impl Clone for TransformCall
impl Clone for TransformCall
source§fn clone(&self) -> TransformCall
fn clone(&self) -> TransformCall
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 TransformCall
impl Debug for TransformCall
source§impl<'de> Deserialize<'de> for TransformCall
impl<'de> Deserialize<'de> for TransformCall
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 PartialEq<TransformCall> for TransformCall
impl PartialEq<TransformCall> for TransformCall
source§fn eq(&self, other: &TransformCall) -> bool
fn eq(&self, other: &TransformCall) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.