pub struct RowShape { /* private fields */ }Expand description
Describes the row crossing relational operators.
physical_columns can include private ORDER BY or DISTINCT ON keys. Only
the leading public_width columns may cross the SQL result boundary.
Implementations§
Source§impl RowShape
impl RowShape
pub fn new( physical_columns: CompactArc<Vec<String>>, public_width: usize, ) -> Result<Self>
pub fn physical_columns(&self) -> &CompactArc<Vec<String>>
pub fn physical_width(&self) -> usize
pub fn public_width(&self) -> usize
pub fn has_private_tail(&self) -> bool
pub fn project_public( &self, result: Box<dyn QueryResult>, ) -> Box<dyn QueryResult>
Trait Implementations§
impl Eq for RowShape
impl StructuralPartialEq for RowShape
Auto Trait Implementations§
impl Freeze for RowShape
impl RefUnwindSafe for RowShape
impl Send for RowShape
impl Sync for RowShape
impl Unpin for RowShape
impl UnsafeUnpin for RowShape
impl UnwindSafe for RowShape
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> CompactArcDrop for T
impl<T> CompactArcDrop for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.