Struct datafusion::logical_plan::window_frames::WindowFrame
source · [−]pub struct WindowFrame {
pub units: WindowFrameUnits,
pub start_bound: WindowFrameBound,
pub end_bound: WindowFrameBound,
}
Expand description
The frame-spec determines which output rows are read by an aggregate window function.
The ending frame boundary can be omitted (if the BETWEEN and AND keywords that surround the starting frame boundary are also omitted), in which case the ending frame boundary defaults to CURRENT ROW.
Fields
units: WindowFrameUnits
A frame type - either ROWS, RANGE or GROUPS
start_bound: WindowFrameBound
A starting frame boundary
end_bound: WindowFrameBound
An ending frame boundary
Trait Implementations
sourceimpl Clone for WindowFrame
impl Clone for WindowFrame
sourcefn clone(&self) -> WindowFrame
fn clone(&self) -> WindowFrame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WindowFrame
impl Debug for WindowFrame
sourceimpl Default for WindowFrame
impl Default for WindowFrame
sourcefn default() -> WindowFrame
fn default() -> WindowFrame
Returns the “default value” for a type. Read more
sourceimpl Display for WindowFrame
impl Display for WindowFrame
sourceimpl Hash for WindowFrame
impl Hash for WindowFrame
sourceimpl PartialEq<WindowFrame> for WindowFrame
impl PartialEq<WindowFrame> for WindowFrame
sourcefn eq(&self, other: &WindowFrame) -> bool
fn eq(&self, other: &WindowFrame) -> bool
sourceimpl PartialOrd<WindowFrame> for WindowFrame
impl PartialOrd<WindowFrame> for WindowFrame
sourcefn partial_cmp(&self, other: &WindowFrame) -> Option<Ordering>
fn partial_cmp(&self, other: &WindowFrame) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl TryFrom<WindowFrame> for WindowFrame
impl TryFrom<WindowFrame> for WindowFrame
type Error = DataFusionError
type Error = DataFusionError
The type returned in the event of a conversion error.
sourcefn try_from(value: WindowFrame) -> Result<WindowFrame, DataFusionError>
fn try_from(value: WindowFrame) -> Result<WindowFrame, DataFusionError>
Performs the conversion.
impl Copy for WindowFrame
impl Eq for WindowFrame
impl StructuralEq for WindowFrame
impl StructuralPartialEq for WindowFrame
Auto Trait Implementations
impl RefUnwindSafe for WindowFrame
impl Send for WindowFrame
impl Sync for WindowFrame
impl Unpin for WindowFrame
impl UnwindSafe for WindowFrame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.