[−][src]Struct postgres_parser::sys::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
type_: NodeTag
name: *mut c_char
refname: *mut c_char
window name (NULL in an OVER clause)
partitionClause: *mut List
referenced window name, if any
orderClause: *mut List
PARTITION BY list
frameOptions: c_int
ORDER BY list
startOffset: *mut Node
frame_clause options, see WindowDef
endOffset: *mut Node
expression for starting bound, if any
startInRangeFunc: Oid
expression for ending bound, if any
endInRangeFunc: Oid
in_range function for startOffset
inRangeColl: Oid
in_range function for endOffset
inRangeAsc: bool
collation for in_range tests
inRangeNullsFirst: bool
use ASC sort order for in_range tests?
winref: Index
nulls sort first for in_range tests?
copiedOrder: bool
ID referenced by window functions
Trait Implementations
impl Debug for WindowClause
[src]
impl Default for WindowClause
[src]
impl Eq for WindowClause
[src]
impl Hash for WindowClause
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<WindowClause> for WindowClause
[src]
fn eq(&self, other: &WindowClause) -> bool
[src]
fn ne(&self, other: &WindowClause) -> bool
[src]
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> 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>,