MySQL  8.0.19
Source Code Documentation
window_lex.h
Go to the documentation of this file.
1 /* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
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 also distributed 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 included with MySQL.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License, version 2.0, for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23 
24 #ifndef WINDOW_LEX_INCLUDED
25 #define WINDOW_LEX_INCLUDED
26 
27 /**
28  Cf. SQL 2003 7.11 <window frame units> and class PT_border
29 */
31 
32 /**
33  Cf. SQL 2003 7.11 <window frame extent> and class PT_border
34  The Window::comparators array depends on the order of values in this enum.
35 */
42 };
43 
44 /**
45  Cf. SQL 2003 7.11 <window frame exclusion> and class PT_exclusion
46 */
52 };
53 
54 /**
55  Cf. SQL 2011 6.10 null treatment
56 */
58 
59 /**
60  Cf. SQL 2011 6.10 from first or last
61 */
63 
64 #endif /* WINDOW_LEX_INCLUDED */
WFX_CURRENT_ROW
@ WFX_CURRENT_ROW
Definition: window_lex.h:48
WFU_ROWS
@ WFU_ROWS
Definition: window_lex.h:30
WFX_GROUP
@ WFX_GROUP
Definition: window_lex.h:49
NT_RESPECT_NULLS
@ NT_RESPECT_NULLS
Definition: window_lex.h:57
WFU_RANGE
@ WFU_RANGE
Definition: window_lex.h:30
enum_null_treatment
enum_null_treatment
Cf.
Definition: window_lex.h:57
WFX_NO_OTHERS
@ WFX_NO_OTHERS
Definition: window_lex.h:51
WBT_CURRENT_ROW
@ WBT_CURRENT_ROW
Definition: window_lex.h:37
NFL_FROM_LAST
@ NFL_FROM_LAST
Definition: window_lex.h:62
NT_IGNORE_NULLS
@ NT_IGNORE_NULLS
Definition: window_lex.h:57
enum_from_first_last
enum_from_first_last
Cf.
Definition: window_lex.h:62
NT_NONE
@ NT_NONE
Definition: window_lex.h:57
WBT_UNBOUNDED_PRECEDING
@ WBT_UNBOUNDED_PRECEDING
Definition: window_lex.h:40
enum_window_frame_unit
enum_window_frame_unit
Cf.
Definition: window_lex.h:30
NFL_NONE
@ NFL_NONE
Definition: window_lex.h:62
WBT_VALUE_FOLLOWING
@ WBT_VALUE_FOLLOWING
Definition: window_lex.h:39
WFU_GROUPS
@ WFU_GROUPS
Definition: window_lex.h:30
WFX_TIES
@ WFX_TIES
Definition: window_lex.h:50
NFL_FROM_FIRST
@ NFL_FROM_FIRST
Definition: window_lex.h:62
WBT_UNBOUNDED_FOLLOWING
@ WBT_UNBOUNDED_FOLLOWING
Definition: window_lex.h:41
enum_window_frame_exclusion
enum_window_frame_exclusion
Cf.
Definition: window_lex.h:47
enum_window_border_type
enum_window_border_type
Cf.
Definition: window_lex.h:36
WBT_VALUE_PRECEDING
@ WBT_VALUE_PRECEDING
Definition: window_lex.h:38