Struct prql_compiler::Frame
source · [−]pub struct Frame {
pub columns: Vec<FrameColumn>,
pub sort: Vec<ColumnSort<usize>>,
pub tables: Vec<usize>,
}
Expand description
Represents the object that is manipulated by the pipeline transforms. Similar to a view in a database or a data frame.
Fields
columns: Vec<FrameColumn>
sort: Vec<ColumnSort<usize>>
tables: Vec<usize>
Implementations
sourceimpl Frame
impl Frame
pub fn apply_transform(&mut self, transform: &Transform) -> Result<()>
pub fn apply_assigns(&mut self, assigns: &[Node])
pub fn get_column_names(&self, context: &Context) -> Vec<Option<String>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Frame
impl<'de> Deserialize<'de> for Frame
sourcefn 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
impl StructuralPartialEq for Frame
Auto Trait Implementations
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more