24#ifndef SQL_PARSE_TREE_WINDOW_INCLUDED
25#define SQL_PARSE_TREE_WINDOW_INCLUDED
Represents a JSON container value of type "object" (ECMA), type J_OBJECT here.
Definition: json_dom.h:369
Definition: sql_list.h:467
Parse tree node for a window's frame, cf.
Definition: parse_tree_nodes.h:1464
Definition: parse_tree_nodes.h:233
Parse tree node for a list of window definitions corresponding to a <window clause> in SQL 2003.
Definition: parse_tree_window.h:63
PT_window_list(const POS &pos)
Definition: parse_tree_window.h:68
bool push_back(PT_window *w)
Definition: parse_tree_window.h:72
Parse_tree_node super
Definition: parse_tree_window.h:64
bool do_contextualize(Parse_context *pc) override
Definition: parse_tree_window.cc:77
List< Window > m_windows
Definition: parse_tree_window.h:65
Parse tree node for a window; just a shallow wrapper for class Window, q.v.
Definition: parse_tree_window.h:39
Parse_tree_node super
Definition: parse_tree_window.h:40
PT_window(const POS &pos, PT_order_list *partition_by, PT_order_list *order_by, PT_frame *frame, Item_string *inherit)
Definition: parse_tree_window.h:47
PT_window(const POS &pos, PT_order_list *partition_by, PT_order_list *order_by, PT_frame *frame)
Definition: parse_tree_window.h:43
PT_window(const POS &pos, Item_string *name)
Definition: parse_tree_window.h:51
bool do_contextualize(Parse_context *pc) override
Definition: parse_tree_window.cc:35
void add_json_info(Json_object *obj) override
Add all the node-specific json fields.
Definition: parse_tree_window.cc:53
Base class for parse tree nodes (excluding the Parse_tree_root hierarchy)
Definition: parse_tree_node_base.h:231
Represents the (explicit) window of a SQL 2003 section 7.11 <window clause>, or the implicit (inlined...
Definition: window.h:110
const PT_frame * frame() const
Get the frame, if any.
Definition: window.h:785
Item_string * name() const
Get the name of a window.
Definition: window.h:777
Bison "location" class.
Definition: parse_location.h:43
Environment data for the contextualization phase.
Definition: parse_tree_node_base.h:420