[−][src]Struct postgres_parser::nodes::WindowClause
WindowClause transformed representation of WINDOW and OVER clauses
A parsed Query's windowClause list contains these structs. "name" is set if the clause originally came from WINDOW, and is NULL if it originally was an OVER clause (but note that we collapse out duplicate OVERs). partitionClause and orderClause are lists of SortGroupClause structs. If we have RANGE with offset PRECEDING/FOLLOWING, the semantics of that are specified by startInRangeFunc/inRangeColl/inRangeAsc/inRangeNullsFirst for the start offset, or endInRangeFunc/inRange* for the end offset. winref is an ID number referenced by WindowFunc nodes; it must be unique among the members of a Query's windowClause list. When refname isn't null, the partitionClause is always copied from there; the orderClause might or might not be copied (see copiedOrder); the framing options are never copied, per spec.
Fields
name: Option<String>
refname: Option<String>
partitionClause: Option<Vec<Node>>
orderClause: Option<Vec<Node>>
frameOptions: i32
startOffset: Option<Box<Node>>
endOffset: Option<Box<Node>>
startInRangeFunc: Oid
endInRangeFunc: Oid
inRangeColl: Oid
inRangeAsc: bool
inRangeNullsFirst: bool
winref: Index
copiedOrder: bool
Trait Implementations
impl Debug for WindowClause
[src]
impl<'de> Deserialize<'de> for WindowClause
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for WindowClause
[src]
impl PartialEq<WindowClause> for WindowClause
[src]
fn eq(&self, other: &WindowClause) -> bool
[src]
fn ne(&self, other: &WindowClause) -> bool
[src]
impl Serialize for WindowClause
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for WindowClause
[src]
impl StructuralPartialEq for WindowClause
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowClause
impl Send for WindowClause
impl Sync for WindowClause
impl Unpin for WindowClause
impl UnwindSafe for WindowClause
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,