Go to the documentation of this file.
28 #ifndef TABLES_EXPRDERNODE_H
29 #define TABLES_EXPRDERNODE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/TaQL/ExprNodeRep.h>
34 #include <casacore/tables/Tables/TableColumn.h>
35 #include <casacore/casa/Arrays/Vector.h>
36 #include <casacore/casa/BasicMath/Random.h>
Constant Double in table select expression tree.
~TableExprNodeConstDate()
String getString(const TableExprId &id)
~TableExprNodeConstDComplex()
~TableExprNodeConstBool()
TaqlRegex getRegex(const TableExprId &id)
Bool getBool(const TableExprId &id)
Get the data for the given id.
Int64 getInt(const TableExprId &id)
Int64 getInt(const TableExprId &id)
TableExprNodeConstBool(const Bool &value)
DComplex getDComplex(const TableExprId &id)
Read/write access to a table column.
std::complex< Double > DComplex
Class to handle date/time type conversions and I/O.
Rownumber in table select expression tree.
Constant Date in table select expression tree.
~TableExprNodeConstDouble()
Double getDouble(const TableExprId &id)
DComplex getDComplex(const TableExprId &id)
Constant DComplex in table select expression tree.
Array< Int64 > getColumnInt64(const Vector< uInt > &rownrs)
DComplex getDComplex(const TableExprId &id)
TableExprNodeConstInt(const Int64 &value)
Array< Complex > getColumnComplex(const Vector< uInt > &rownrs)
~TableExprNodeConstString()
Double getDouble(const TableExprId &id)
TableExprNodeRowid(const Table &)
MVTime getDate(const TableExprId &id)
Array< Short > getColumnShort(const Vector< uInt > &rownrs)
Constant Regex or StringDistance in table select expression tree.
Constant String in table select expression tree.
TableExprNodeConstRegex(const TaqlRegex &value)
Constant Bool in table select expression tree.
const TableColumn & getColumn() const
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.
Main interface class to a read/write table.
TableExprNodeConstDate(const MVTime &value)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
TableExprNodeConstString(const String &value)
Int64 getInt(const TableExprId &id)
virtual void applySelection(const Vector< uInt > &rownrs)
Re-create the column object for a selection of rows.
~TableExprNodeConstRegex()
Array< Bool > getColumnBool(const Vector< uInt > &rownrs)
Get the data for the given rows.
DComplex getDComplex(const TableExprId &id)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Array< DComplex > getColumnDComplex(const Vector< uInt > &rownrs)
this file contains all the compiler specific defines
virtual void getColumnNodes(std::vector< TableExprNodeRep * > &cols)
This node represents a table column.
Array< String > getColumnString(const Vector< uInt > &rownrs)
String getString(const TableExprId &id)
The identification of a TaQL selection subject.
Double getDouble(const TableExprId &id)
Rowid in table select expression tree.
Double getDouble(const TableExprId &id)
Multiplicative linear congruential generator.
Double getDouble(const TableExprId &id)
Array< uInt > getColumnuInt(const Vector< uInt > &rownrs)
Bool getColumnDataType(DataType &) const
Get the data type of this scalar column.
Random number in table select expression tree.
TableExprNodeColumn(const Table &, const String &columnName)
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
Array< Float > getColumnFloat(const Vector< uInt > &rownrs)
TableExprNodeConstDouble(const Double &value)
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
Constant Int64 in table select expression tree.
TableExprNodeRownr(const Table &, uInt origin)
Array< Double > getColumnDouble(const Vector< uInt > &rownrs)
Int64 getInt(const TableExprId &id)
Abstract base class for a node having 0, 1, or 2 child nodes.
Array< uChar > getColumnuChar(const Vector< uInt > &rownrs)
Array< Int > getColumnInt(const Vector< uInt > &rownrs)
TableExprNodeRandom(const Table &)
TableExprNodeConstDComplex(const DComplex &value)
static Unit getColumnUnit(const TableColumn &)
Get the column unit (can be empty).
Scalar column in table select expression tree.
Class to handle a Regex or StringDistance.
Array< uShort > getColumnuShort(const Vector< uInt > &rownrs)
Class to deal with Levensthein distance of strings.