Base class for Array column in table select expression. More...
#include <ExprNodeArray.h>
Public Member Functions | |
TableExprNodeArrayColumn (const TableColumn &tablecol, const Table &table) | |
Create the object for the given column and table. | |
~TableExprNodeArrayColumn () | |
virtual void | getColumnNodes (vector< TableExprNodeRep * > &cols) |
This node represents a table column. | |
virtual void | disableApplySelection () |
Do not apply the selection. | |
virtual void | applySelection (const Vector< uInt > &rownrs) |
Re-create the column object for a selection of rows. | |
const TableColumn & | getColumn () const |
Get the TableColumn object. | |
virtual const IPosition & | getShape (const TableExprId &id) |
Get the shape of the array in the given row. | |
virtual Bool | isDefined (const TableExprId &id) |
Is the value in the given row defined? | |
virtual Bool | getColumnDataType (DataType &) const |
Get the data type of this column. | |
Protected Attributes | |
Table | selTable_p |
TableColumn | tabCol_p |
Bool | applySelection_p |
Base class for Array column in table select expression.
Internal
This class is the base class to store an array column. The actual storing of the array column is done by its derivations.
Definition at line 210 of file ExprNodeArray.h.
casacore::TableExprNodeArrayColumn::TableExprNodeArrayColumn | ( | const TableColumn & | tablecol, | |
const Table & | table | |||
) |
Create the object for the given column and table.
casacore::TableExprNodeArrayColumn::~TableExprNodeArrayColumn | ( | ) |
virtual void casacore::TableExprNodeArrayColumn::applySelection | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Re-create the column object for a selection of rows.
Reimplemented from casacore::TableExprNodeRep.
Reimplemented in casacore::TableExprNodeArrayColumnBool, casacore::TableExprNodeArrayColumnuChar, casacore::TableExprNodeArrayColumnShort, casacore::TableExprNodeArrayColumnuShort, casacore::TableExprNodeArrayColumnInt, casacore::TableExprNodeArrayColumnuInt, casacore::TableExprNodeArrayColumnFloat, casacore::TableExprNodeArrayColumnDouble, casacore::TableExprNodeArrayColumnComplex, casacore::TableExprNodeArrayColumnDComplex, and casacore::TableExprNodeArrayColumnString.
virtual void casacore::TableExprNodeArrayColumn::disableApplySelection | ( | ) | [virtual] |
Do not apply the selection.
Reimplemented from casacore::TableExprNodeRep.
const TableColumn & casacore::TableExprNodeArrayColumn::getColumn | ( | ) | const [inline] |
virtual Bool casacore::TableExprNodeArrayColumn::getColumnDataType | ( | DataType & | ) | const [virtual] |
Get the data type of this column.
It returns with a True status.
Reimplemented from casacore::TableExprNodeRep.
virtual void casacore::TableExprNodeArrayColumn::getColumnNodes | ( | vector< TableExprNodeRep * > & | cols | ) | [virtual] |
This node represents a table column.
Reimplemented from casacore::TableExprNodeBinary.
virtual const IPosition& casacore::TableExprNodeArrayColumn::getShape | ( | const TableExprId & | id | ) | [virtual] |
Get the shape of the array in the given row.
Reimplemented from casacore::TableExprNodeArray.
virtual Bool casacore::TableExprNodeArrayColumn::isDefined | ( | const TableExprId & | id | ) | [virtual] |
Is the value in the given row defined?
Reimplemented from casacore::TableExprNodeRep.
Definition at line 244 of file ExprNodeArray.h.
Table casacore::TableExprNodeArrayColumn::selTable_p [protected] |
Definition at line 242 of file ExprNodeArray.h.
Definition at line 243 of file ExprNodeArray.h.
Referenced by getColumn().