Scalar column in table select expression tree. More...
#include <ExprDerNode.h>
Public Member Functions | |
TableExprNodeColumn (const Table &, const String &columnName) | |
~TableExprNodeColumn () | |
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. | |
Bool | getColumnDataType (DataType &) const |
Get the data type of this scalar column. | |
Bool | getBool (const TableExprId &id) |
Get the data for the given id. | |
Int64 | getInt (const TableExprId &id) |
Double | getDouble (const TableExprId &id) |
DComplex | getDComplex (const TableExprId &id) |
String | getString (const TableExprId &id) |
const TableColumn & | getColumn () const |
Array< Bool > | getColumnBool (const Vector< uInt > &rownrs) |
Get the data for the given rows. | |
Array< uChar > | getColumnuChar (const Vector< uInt > &rownrs) |
Array< Short > | getColumnShort (const Vector< uInt > &rownrs) |
Array< uShort > | getColumnuShort (const Vector< uInt > &rownrs) |
Array< Int > | getColumnInt (const Vector< uInt > &rownrs) |
Array< uInt > | getColumnuInt (const Vector< uInt > &rownrs) |
Array< Float > | getColumnFloat (const Vector< uInt > &rownrs) |
Array< Double > | getColumnDouble (const Vector< uInt > &rownrs) |
Array< Complex > | getColumnComplex (const Vector< uInt > &rownrs) |
Array< DComplex > | getColumnDComplex (const Vector< uInt > &rownrs) |
Array< String > | getColumnString (const Vector< uInt > &rownrs) |
Static Public Member Functions | |
static Unit | getColumnUnit (const TableColumn &) |
Get the column unit (can be empty). | |
Protected Attributes | |
Table | selTable_p |
TableColumn | tabCol_p |
Bool | applySelection_p |
Scalar column in table select expression tree.
Internal
This class represents a scalar column in a table select expression tree. When the select expression gets evaluated, the value of the given row in the column is used.
Definition at line 299 of file ExprDerNode.h.
casacore::TableExprNodeColumn::~TableExprNodeColumn | ( | ) |
virtual void casacore::TableExprNodeColumn::applySelection | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Re-create the column object for a selection of rows.
Reimplemented from casacore::TableExprNodeRep.
virtual void casacore::TableExprNodeColumn::disableApplySelection | ( | ) | [virtual] |
Do not apply the selection.
Reimplemented from casacore::TableExprNodeRep.
Bool casacore::TableExprNodeColumn::getBool | ( | const TableExprId & | id | ) | [virtual] |
Get the data for the given id.
Reimplemented from casacore::TableExprNodeRep.
const TableColumn& casacore::TableExprNodeColumn::getColumn | ( | ) | const |
Array<Bool> casacore::TableExprNodeColumn::getColumnBool | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Get the data for the given rows.
Reimplemented from casacore::TableExprNodeRep.
Array<Complex> casacore::TableExprNodeColumn::getColumnComplex | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Bool casacore::TableExprNodeColumn::getColumnDataType | ( | DataType & | ) | const [virtual] |
Get the data type of this scalar column.
Reimplemented from casacore::TableExprNodeRep.
Array<DComplex> casacore::TableExprNodeColumn::getColumnDComplex | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Array<Double> casacore::TableExprNodeColumn::getColumnDouble | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Array<Float> casacore::TableExprNodeColumn::getColumnFloat | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Reimplemented from casacore::TableExprNodeRep.
virtual void casacore::TableExprNodeColumn::getColumnNodes | ( | vector< TableExprNodeRep * > & | cols | ) | [virtual] |
This node represents a table column.
Reimplemented from casacore::TableExprNodeBinary.
Array<Short> casacore::TableExprNodeColumn::getColumnShort | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Array<String> casacore::TableExprNodeColumn::getColumnString | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Array<uChar> casacore::TableExprNodeColumn::getColumnuChar | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Array<uInt> casacore::TableExprNodeColumn::getColumnuInt | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
static Unit casacore::TableExprNodeColumn::getColumnUnit | ( | const TableColumn & | ) | [static] |
Get the column unit (can be empty).
Array<uShort> casacore::TableExprNodeColumn::getColumnuShort | ( | const Vector< uInt > & | rownrs | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
DComplex casacore::TableExprNodeColumn::getDComplex | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Double casacore::TableExprNodeColumn::getDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Int64 casacore::TableExprNodeColumn::getInt | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
String casacore::TableExprNodeColumn::getString | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casacore::TableExprNodeRep.
Bool casacore::TableExprNodeColumn::applySelection_p [protected] |
Definition at line 344 of file ExprDerNode.h.
Table casacore::TableExprNodeColumn::selTable_p [protected] |
Definition at line 342 of file ExprDerNode.h.
TableColumn casacore::TableExprNodeColumn::tabCol_p [protected] |
Definition at line 343 of file ExprDerNode.h.