Rowid in table select expression tree. More...
#include <ExprDerNode.h>
Public Member Functions | |
TableExprNodeRowid (const Table &) | |
~TableExprNodeRowid () | |
virtual void | applySelection (const Vector< uInt > &rownrs) |
Re-create the column object for a selection of rows. | |
Int64 | getInt (const TableExprId &id) |
Private Attributes | |
Vector< uInt > | rownrs_p |
Rowid in table select expression tree.
Internal
This class represents the rowid() function in a table select expression tree. It is meant to get the original row number in a GIVING clause, but, of course, it can also be used in the SELECT clause. The row number returned is 0-based.
Definition at line 404 of file ExprDerNode.h.
casacore::TableExprNodeRowid::TableExprNodeRowid | ( | const Table & | ) |
casacore::TableExprNodeRowid::~TableExprNodeRowid | ( | ) |
virtual void casacore::TableExprNodeRowid::applySelection | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Re-create the column object for a selection of rows.
The default implementation does nothing.
Reimplemented from casacore::TableExprNodeRep.
Int64 casacore::TableExprNodeRowid::getInt | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Vector<uInt> casacore::TableExprNodeRowid::rownrs_p [private] |
Definition at line 412 of file ExprDerNode.h.