MySQL 8.0.39
Source Code Documentation
window_lex.h
Go to the documentation of this file.
1/* Copyright (c) 2017, 2024, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is designed to work with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23*/
24
25#ifndef WINDOW_LEX_INCLUDED
26#define WINDOW_LEX_INCLUDED
27
28/**
29 Cf. SQL 2003 7.11 <window frame units> and class PT_border
30*/
32
33/**
34 Cf. SQL 2003 7.11 <window frame extent> and class PT_border
35 The Window::comparators array depends on the order of values in this enum.
36*/
43};
44
45/**
46 Cf. SQL 2003 7.11 <window frame exclusion> and class PT_exclusion
47*/
53};
54
55/**
56 Cf. SQL 2011 6.10 null treatment
57*/
59
60/**
61 Cf. SQL 2011 6.10 from first or last
62*/
64
65#endif /* WINDOW_LEX_INCLUDED */
enum_null_treatment
Cf.
Definition: window_lex.h:58
@ NT_IGNORE_NULLS
Definition: window_lex.h:58
@ NT_NONE
Definition: window_lex.h:58
@ NT_RESPECT_NULLS
Definition: window_lex.h:58
enum_window_frame_exclusion
Cf.
Definition: window_lex.h:48
@ WFX_CURRENT_ROW
Definition: window_lex.h:49
@ WFX_TIES
Definition: window_lex.h:51
@ WFX_NO_OTHERS
Definition: window_lex.h:52
@ WFX_GROUP
Definition: window_lex.h:50
enum_window_frame_unit
Cf.
Definition: window_lex.h:31
@ WFU_GROUPS
Definition: window_lex.h:31
@ WFU_RANGE
Definition: window_lex.h:31
@ WFU_ROWS
Definition: window_lex.h:31
enum_from_first_last
Cf.
Definition: window_lex.h:63
@ NFL_NONE
Definition: window_lex.h:63
@ NFL_FROM_LAST
Definition: window_lex.h:63
@ NFL_FROM_FIRST
Definition: window_lex.h:63
enum_window_border_type
Cf.
Definition: window_lex.h:37
@ WBT_CURRENT_ROW
Definition: window_lex.h:38
@ WBT_UNBOUNDED_PRECEDING
Definition: window_lex.h:41
@ WBT_VALUE_FOLLOWING
Definition: window_lex.h:40
@ WBT_VALUE_PRECEDING
Definition: window_lex.h:39
@ WBT_UNBOUNDED_FOLLOWING
Definition: window_lex.h:42