pub struct ResultPresentation {
pub columns: Vec<ColumnInfo>,
pub distinct: bool,
pub order: Vec<GlobalOrder>,
pub final_order_key_indexes: Vec<usize>,
pub offset: u64,
pub limit: Option<u64>,
}Expand description
Final shaping shared by row and aggregate assembly.
Fields§
§columns: Vec<ColumnInfo>§distinct: bool§order: Vec<GlobalOrder>§final_order_key_indexes: Vec<usize>Final-row column positions used by aggregate modes. Row mode instead receives precomputed keys so ORDER BY expressions need not be decoded.
offset: u64§limit: Option<u64>Implementations§
Source§impl ResultPresentation
impl ResultPresentation
Sourcepub fn from_projection(
projection: &Projection,
input_schema: &[ColumnMetadata],
distinct: bool,
order: Vec<GlobalOrder>,
final_order_key_indexes: Vec<usize>,
offset: u64,
limit: Option<u64>,
) -> Result<Self, DistributedReadAssemblyError>
pub fn from_projection( projection: &Projection, input_schema: &[ColumnMetadata], distinct: bool, order: Vec<GlobalOrder>, final_order_key_indexes: Vec<usize>, offset: u64, limit: Option<u64>, ) -> Result<Self, DistributedReadAssemblyError>
Construct output metadata with the existing local projection kernel.
Trait Implementations§
Source§impl Clone for ResultPresentation
impl Clone for ResultPresentation
Source§fn clone(&self) -> ResultPresentation
fn clone(&self) -> ResultPresentation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResultPresentation
impl Debug for ResultPresentation
impl Eq for ResultPresentation
Source§impl PartialEq for ResultPresentation
impl PartialEq for ResultPresentation
impl StructuralPartialEq for ResultPresentation
Auto Trait Implementations§
impl Freeze for ResultPresentation
impl RefUnwindSafe for ResultPresentation
impl Send for ResultPresentation
impl Sync for ResultPresentation
impl Unpin for ResultPresentation
impl UnsafeUnpin for ResultPresentation
impl UnwindSafe for ResultPresentation
Blanket Implementations§
impl<T> Allocation for T
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