OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 1786 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 1788 of file ParserNode.h.

1789  : colno_(n), column_(c), is_desc_(d), nulls_first_(f) {}
std::unique_ptr< ColumnRef > column_
Definition: ParserNode.h:1797
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
constexpr double n
Definition: Utm.h:38

Member Function Documentation

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

Definition at line 1790 of file ParserNode.h.

References colno_.

1790 { return colno_; }
const ColumnRef* Parser::OrderSpec::get_column ( ) const
inline

Definition at line 1791 of file ParserNode.h.

References column_.

1791 { return column_.get(); }
std::unique_ptr< ColumnRef > column_
Definition: ParserNode.h:1797
bool Parser::OrderSpec::get_is_desc ( ) const
inline

Definition at line 1792 of file ParserNode.h.

References is_desc_.

1792 { return is_desc_; }
bool Parser::OrderSpec::get_nulls_first ( ) const
inline

Definition at line 1793 of file ParserNode.h.

References nulls_first_.

1793 { return nulls_first_; }

Member Data Documentation

int Parser::OrderSpec::colno_
private

Definition at line 1796 of file ParserNode.h.

Referenced by get_colno().

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

Definition at line 1797 of file ParserNode.h.

Referenced by get_column().

bool Parser::OrderSpec::is_desc_
private

Definition at line 1798 of file ParserNode.h.

Referenced by get_is_desc().

bool Parser::OrderSpec::nulls_first_
private

Definition at line 1799 of file ParserNode.h.

Referenced by get_nulls_first().


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