OmniSciDB  04ee39c94c
Parser::OrderSpec Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::OrderSpec:
+ Collaboration diagram for Parser::OrderSpec:

Public Member Functions

 OrderSpec (int n, ColumnRef *c, bool d, bool f)
 
int get_colno () const
 
const ColumnRefget_column () const
 
bool get_is_desc () const
 
bool get_nulls_first () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

int colno
 
std::unique_ptr< ColumnRefcolumn
 
bool is_desc
 
bool nulls_first
 

Detailed Description

Definition at line 1581 of file ParserNode.h.

Constructor & Destructor Documentation

◆ OrderSpec()

Parser::OrderSpec::OrderSpec ( int  n,
ColumnRef c,
bool  d,
bool  f 
)
inline

Definition at line 1583 of file ParserNode.h.

1584  : colno(n), column(c), is_desc(d), nulls_first(f) {}
void d(const SQLTypes expected_type, const std::string &str)
Definition: ImportTest.cpp:268
void c(const std::string &query_string, const ExecutorDeviceType device_type)
std::unique_ptr< ColumnRef > column
Definition: ParserNode.h:1592

Member Function Documentation

◆ get_colno()

int Parser::OrderSpec::get_colno ( ) const
inline

Definition at line 1585 of file ParserNode.h.

1585 { return colno; }

◆ get_column()

const ColumnRef* Parser::OrderSpec::get_column ( ) const
inline

Definition at line 1586 of file ParserNode.h.

1586 { return column.get(); }
std::unique_ptr< ColumnRef > column
Definition: ParserNode.h:1592

◆ get_is_desc()

bool Parser::OrderSpec::get_is_desc ( ) const
inline

Definition at line 1587 of file ParserNode.h.

1587 { return is_desc; }

◆ get_nulls_first()

bool Parser::OrderSpec::get_nulls_first ( ) const
inline

Definition at line 1588 of file ParserNode.h.

1588 { return nulls_first; }

Member Data Documentation

◆ colno

int Parser::OrderSpec::colno
private

Definition at line 1591 of file ParserNode.h.

◆ column

std::unique_ptr<ColumnRef> Parser::OrderSpec::column
private

Definition at line 1592 of file ParserNode.h.

◆ is_desc

bool Parser::OrderSpec::is_desc
private

Definition at line 1593 of file ParserNode.h.

◆ nulls_first

bool Parser::OrderSpec::nulls_first
private

Definition at line 1594 of file ParserNode.h.


The documentation for this class was generated from the following file: