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::TaQLUpdateNodeRep Class Reference

Raw TaQL parse tree node defining an update command. More...

#include <TaQLNodeDer.h>

Inheritance diagram for casacore::TaQLUpdateNodeRep:

Public Member Functions

 TaQLUpdateNodeRep (const TaQLMultiNode &with, const TaQLMultiNode &tables, const TaQLMultiNode &update, const TaQLMultiNode &from, const TaQLNode &where, const TaQLNode &sort, const TaQLNode &limitoff)
virtual ~TaQLUpdateNodeRep ()
virtual TaQLNodeResult visit (TaQLNodeVisitor &) const
 Visit a node for tree traversal. More...
virtual void show (std::ostream &os) const
 Print the object in an ostream. More...
virtual void save (AipsIO &aio) const
 Save the object. 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 TaQLUpdateNodeReprestore (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

TaQLMultiNode itsWith
TaQLMultiNode itsTables
TaQLMultiNode itsUpdate
TaQLMultiNode itsFrom
TaQLNode itsWhere
TaQLNode itsSort
TaQLNode itsLimitOff

Detailed Description

Raw TaQL parse tree node defining an update command.

Intended use:


Review Status

Test programs:



This class is a TaQLNodeRep holding the parts for an update command. The tables to be used can be defined in two parts: the main one in the UPDATE clause, possible other ones in the FROM command.

Definition at line 890 of file TaQLNodeDer.h.

Constructor & Destructor Documentation

casacore::TaQLUpdateNodeRep::TaQLUpdateNodeRep ( const TaQLMultiNode with,
const TaQLMultiNode tables,
const TaQLMultiNode update,
const TaQLMultiNode from,
const TaQLNode where,
const TaQLNode sort,
const TaQLNode limitoff 
virtual casacore::TaQLUpdateNodeRep::~TaQLUpdateNodeRep ( )

Member Function Documentation

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

Save the object.

Implements casacore::TaQLNodeRep.

virtual void casacore::TaQLUpdateNodeRep::show ( std::ostream &  os) const

Print the object in an ostream.

Implements casacore::TaQLNodeRep.

virtual TaQLNodeResult casacore::TaQLUpdateNodeRep::visit ( TaQLNodeVisitor ) const

Visit a node for tree traversal.

Implements casacore::TaQLNodeRep.

Member Data Documentation

TaQLMultiNode casacore::TaQLUpdateNodeRep::itsFrom

Definition at line 906 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLUpdateNodeRep::itsLimitOff

Definition at line 909 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLUpdateNodeRep::itsSort

Definition at line 908 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLUpdateNodeRep::itsTables

Definition at line 904 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLUpdateNodeRep::itsUpdate

Definition at line 905 of file TaQLNodeDer.h.

TaQLNode casacore::TaQLUpdateNodeRep::itsWhere

Definition at line 907 of file TaQLNodeDer.h.

TaQLMultiNode casacore::TaQLUpdateNodeRep::itsWith

Definition at line 903 of file TaQLNodeDer.h.

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