casa  5.7.0-16
 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 ~TaQLSelectNodeRep ()
 
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const
 Visit a node for tree traversal. More...
 
virtual void showDerived (std::ostream &os) const
 
virtual void save (AipsIO &aio) const
 Save the object. More...
 
- Public Member Functions inherited from casacore::TaQLQueryNodeRep
 TaQLQueryNodeRep (int nodeType)
 
virtual ~TaQLQueryNodeRep ()
 
void setBrackets ()
 
void setNoExecute ()
 
void setFromExecute ()
 
Bool getBrackets () const
 
Bool getNoExecute () const
 
Bool getFromExecute () const
 
virtual void show (std::ostream &os) const
 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 TaQLSelectNodeReprestore (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
virtual void saveSuper (AipsIO &aio) const
 
virtual 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 808 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 
)
virtual casacore::TaQLSelectNodeRep::~TaQLSelectNodeRep ( )
virtual

Member Function Documentation

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

Save the object.

Implements casacore::TaQLNodeRep.

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

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

TaQLNode casacore::TaQLSelectNodeRep::itsColumns

Definition at line 828 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLSelectNodeRep::itsDMInfo

Definition at line 838 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsGiving

Definition at line 837 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsGroupby

Definition at line 833 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsHaving

Definition at line 834 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsJoin

Definition at line 831 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsLimitOff

Definition at line 836 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsSort

Definition at line 835 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLSelectNodeRep::itsTables

Definition at line 830 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLSelectNodeRep::itsWhere

Definition at line 832 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLSelectNodeRep::itsWith

Definition at line 829 of file TaQLNodeDer.h.


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