26#ifndef TABLES_EXPRDERNODE_H
27#define TABLES_EXPRDERNODE_H
30#include <casacore/casa/aips.h>
31#include <casacore/tables/TaQL/ExprNodeRep.h>
32#include <casacore/tables/Tables/TableColumn.h>
33#include <casacore/casa/Arrays/Vector.h>
34#include <casacore/casa/BasicMath/Random.h>
Multiplicative linear congruential generator.
String: the storage and methods of handling collections of characters.
Class to connect a Table and its alias name.
Abstract base class for a node having 0, 1, or 2 child nodes.
Scalar column in table select expression tree.
Array< Float > getColumnFloat(const Vector< rownr_t > &rownrs) override
Array< DComplex > getColumnDComplex(const Vector< rownr_t > &rownrs) override
Array< String > getColumnString(const Vector< rownr_t > &rownrs) override
Double getDouble(const TableExprId &id) override
Array< uInt > getColumnuInt(const Vector< rownr_t > &rownrs) override
void disableApplySelection() override
Do not apply the selection.
static Unit getColumnUnit(const TableColumn &)
Get the column unit (can be empty).
const TableColumn & getColumn() const
~TableExprNodeColumn() override=default
Array< Double > getColumnDouble(const Vector< rownr_t > &rownrs) override
Array< Bool > getColumnBool(const Vector< rownr_t > &rownrs) override
Get the data for the given rows.
Array< Int > getColumnInt(const Vector< rownr_t > &rownrs) override
TableExprInfo tableInfo_p
TableExprInfo getTableInfo() const override
Get the table info for this column.
Bool getColumnDataType(DataType &) const override
Get the data type of this scalar column.
Array< Complex > getColumnComplex(const Vector< rownr_t > &rownrs) override
Int64 getInt(const TableExprId &id) override
String getString(const TableExprId &id) override
Array< uShort > getColumnuShort(const Vector< rownr_t > &rownrs) override
Array< Int64 > getColumnInt64(const Vector< rownr_t > &rownrs) override
Bool getBool(const TableExprId &id) override
Get the data for the given id.
TableExprNodeColumn(const TableExprInfo &, const String &columnName)
void applySelection(const Vector< rownr_t > &rownrs) override
Re-create the column object for a selection of rows.
DComplex getDComplex(const TableExprId &id) override
Array< Short > getColumnShort(const Vector< rownr_t > &rownrs) override
Array< uChar > getColumnuChar(const Vector< rownr_t > &rownrs) override
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeConstBool(const Bool &value)
~TableExprNodeConstBool() override=default
Constant DComplex in table select expression tree.
TableExprNodeConstDComplex(const DComplex &value)
~TableExprNodeConstDComplex() override=default
DComplex getDComplex(const TableExprId &id) override
Constant Date in table select expression tree.
MVTime getDate(const TableExprId &id) override
TableExprNodeConstDate(const MVTime &value)
Double getDouble(const TableExprId &id) override
~TableExprNodeConstDate() override=default
Constant Double in table select expression tree.
DComplex getDComplex(const TableExprId &id) override
~TableExprNodeConstDouble() override=default
Double getDouble(const TableExprId &id) override
TableExprNodeConstDouble(const Double &value)
Constant Int64 in table select expression tree.
DComplex getDComplex(const TableExprId &id) override
Double getDouble(const TableExprId &id) override
TableExprNodeConstInt(const Int64 &value)
~TableExprNodeConstInt() override=default
Int64 getInt(const TableExprId &id) override
Constant Regex or StringDistance in table select expression tree.
~TableExprNodeConstRegex() override=default
TableExprNodeConstRegex(const TaqlRegex &value)
TaqlRegex getRegex(const TableExprId &id) override
Constant String in table select expression tree.
~TableExprNodeConstString() override=default
TableExprNodeConstString(const String &value)
String getString(const TableExprId &id) override
Random number in table select expression tree.
TableExprInfo getTableInfo() const override
Get the table info.
TableExprNodeRandom(const TableExprInfo &)
TableExprInfo tableInfo_p
~TableExprNodeRandom() override=default
Double getDouble(const TableExprId &id) override
Rowid in table select expression tree.
TableExprInfo getTableInfo() const override
Get the table info.
void applySelection(const Vector< rownr_t > &rownrs) override
Re-create the column object for a selection of rows.
~TableExprNodeRowid() override=default
Int64 getInt(const TableExprId &id) override
TableExprInfo tableInfo_p
TableExprNodeRowid(const TableExprInfo &)
Vector< rownr_t > rownrs_p
Rownumber in table select expression tree.
~TableExprNodeRownr() override=default
TableExprInfo tableInfo_p
TableExprNodeRownr(const TableExprInfo &, uInt origin)
Int64 getInt(const TableExprId &id) override
TableExprInfo getTableInfo() const override
Get the table info.
this file contains all the compiler specific defines
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.