casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
casacore::TaQLSelectNodeRep Class Reference

Raw TaQL parse tree node defining a select command. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLSelectNodeRep:
casacore::TaQLQueryNodeRep casacore::TaQLNodeRep

Public Member Functions

 TaQLSelectNodeRep (const TaQLNode &columns, const TaQLMultiNode &withTables, const TaQLNode &where, const TaQLNode &groupby, const TaQLNode &having, const TaQLNode &sort, const TaQLNode &limitoff, const TaQLNode &giving, const TaQLMultiNode &dminfo)
 
 TaQLSelectNodeRep (const TaQLNode &columns, const TaQLMultiNode &withTables, const TaQLMultiNode &fromTables, const TaQLNode &join, const TaQLNode &where, const TaQLNode &groupby, const TaQLNode &having, const TaQLNode &sort, const TaQLNode &limitoff, const TaQLNode &giving, const TaQLMultiNode &dminfo)
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const override
 Visit a node for tree traversal. More...
 
virtual void showDerived (std::ostream &os) const override
 
virtual void save (AipsIO &aio) const override
 Save the object. More...
 
- Public Member Functions inherited from casacore::TaQLQueryNodeRep
 TaQLQueryNodeRep (int nodeType)
 
void setBrackets ()
 
void setNoExecute ()
 
void setFromExecute ()
 
Bool getBrackets () const
 
Bool getNoExecute () const
 
Bool getFromExecute () const
 
virtual void show (std::ostream &os) const override
 Print the object in an ostream. More...
 
- Public Member Functions inherited from casacore::TaQLNodeRep
 TaQLNodeRep (int nodeType)
 Constructor for derived classes specifying the type. More...
 
virtual ~TaQLNodeRep ()
 
char nodeType () const
 Get the node type of the derived class. More...
 
const TaQLStylestyle () const
 Get the TaQL style. More...
 
String addEscape (const String &str) const
 Add escape characters to a table name where needed. More...
 

Static Public Member Functions

static TaQLNode restore (AipsIO &aio)
 
- Static Public Member Functions inherited from casacore::TaQLNodeRep
static String checkDataType (const String &)
 Check the data type string and return its standard form. More...
 

Public Attributes

TaQLNode itsColumns
 
TaQLMultiNode itsWith
 
TaQLMultiNode itsTables
 
TaQLNode itsJoin
 
TaQLNode itsWhere
 
TaQLNode itsGroupby
 
TaQLNode itsHaving
 
TaQLNode itsSort
 
TaQLNode itsLimitOff
 
TaQLNode itsGiving
 
TaQLMultiNode itsDMInfo
 

Additional Inherited Members

- Protected Member Functions inherited from casacore::TaQLQueryNodeRep
void saveSuper (AipsIO &aio) const
 
void restoreSuper (AipsIO &aio)
 

Detailed Description

Raw TaQL parse tree node defining a select command.

Intended use:

Internal

Review Status

Test programs:
tTaQLNode

Prerequisite

Synopsis

This class is a TaQLNodeRep holding the different parts of a select expression. It also holds flags telling if and how the select command must be executed when the node is visited for TaQLNodeHandler.

Definition at line 788 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLSelectNodeRep::TaQLSelectNodeRep ( const TaQLNode columns,
const TaQLMultiNode withTables,
const TaQLNode where,
const TaQLNode groupby,
const TaQLNode having,
const TaQLNode sort,
const TaQLNode limitoff,
const TaQLNode giving,
const TaQLMultiNode dminfo 
)
casacore::TaQLSelectNodeRep::TaQLSelectNodeRep ( const TaQLNode columns,
const TaQLMultiNode withTables,
const TaQLMultiNode fromTables,
const TaQLNode join,
const TaQLNode where,
const TaQLNode groupby,
const TaQLNode having,
const TaQLNode sort,
const TaQLNode limitoff,
const TaQLNode giving,
const TaQLMultiNode dminfo 
)

Member Function Documentation

static TaQLNode casacore::TaQLSelectNodeRep::restore ( AipsIO aio)
static
virtual void casacore::TaQLSelectNodeRep::save ( AipsIO aio) const
overridevirtual

Save the object.

Implements casacore::TaQLNodeRep.

virtual void casacore::TaQLSelectNodeRep::showDerived ( std::ostream &  os) const
overridevirtual
virtual TaQLNodeResult casacore::TaQLSelectNodeRep::visit ( TaQLNodeVisitor ) const
overridevirtual

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

TaQLNode casacore::TaQLSelectNodeRep::itsColumns

Definition at line 807 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLSelectNodeRep::itsDMInfo

Definition at line 817 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsGiving

Definition at line 816 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsGroupby

Definition at line 812 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsHaving

Definition at line 813 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsJoin

Definition at line 810 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsLimitOff

Definition at line 815 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsSort

Definition at line 814 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLSelectNodeRep::itsTables

Definition at line 809 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsWhere

Definition at line 811 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLSelectNodeRep::itsWith

Definition at line 808 of file TaQLNodeDer.h.


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