pub struct WindowSpecification {
pub partition_by: Vec<Expression>,
pub order_by: Vec<OrderByItem>,
pub frame_type: Option<String>,
pub frame_start: Option<String>,
pub frame_end: Option<String>,
}Expand description
A window: [PARTITION BY ...] [ORDER BY ...] [ROWS|RANGE frame].
PHP: Utopia\Query\AST\Specification\Window (partitionBy, orderBy,
frameType, frameStart, frameEnd).
Fields§
§partition_by: Vec<Expression>PARTITION BY expressions.
order_by: Vec<OrderByItem>ORDER BY items.
frame_type: Option<String>ROWS or RANGE.
frame_start: Option<String>The frame start (UNBOUNDED PRECEDING), or its only bound.
frame_end: Option<String>The frame end, for BETWEEN start AND end.
Trait Implementations§
Source§impl Clone for WindowSpecification
impl Clone for WindowSpecification
Source§impl Debug for WindowSpecification
impl Debug for WindowSpecification
Source§impl Default for WindowSpecification
impl Default for WindowSpecification
Source§impl PartialEq for WindowSpecification
impl PartialEq for WindowSpecification
impl StructuralPartialEq for WindowSpecification
Auto Trait Implementations§
impl Forget for WindowSpecification
impl Freeze for WindowSpecificationwhere
*const u8 is !null: Freeze,
PhantomData<Expression>: Freeze,
PhantomData<OrderByItem>: Freeze,
PhantomData<u8>: Freeze,
impl Move for WindowSpecification
impl RefUnwindSafe for WindowSpecificationwhere
Atomic<*mut ()>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for WindowSpecification
impl Sync for WindowSpecification
impl Unpin for WindowSpecification
impl UnsafeUnpin for WindowSpecificationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
PhantomData<OrderByItem>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for WindowSpecificationwhere
RawVecInner: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
BoxRaw<Select>: UnwindSafe,
BoxRaw<WindowSpecification>: UnwindSafe,
&'static [u8]: UnwindSafe,
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
Arc<Repr<Object>>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
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