casacore
|
Functions | |
void | checkAggrFuncs (TableExprNodeRep *node) |
Throw an exception if an aggregate function is used in the expression node or its children. | |
std::vector< TableExprNodeRep * > | getAggrNodes (TableExprNodeRep *node) |
Get the aggregate function nodes used in the node and its children. | |
std::vector< TableExprNodeRep * > | getColumnNodes (TableExprNodeRep *node) |
Get the column nodes used in the node and its children. | |
std::vector< Table > | getNodeTables (TableExprNodeRep *node, Bool properMain) |
Get the (unique) tables used in the node and its children. | |
rownr_t | getCheckNRow (const std::vector< Table > &) |
Get the nr of rows in the tables used. | |
Class to handle a Regex or StringDistance.
Internal
A StringDistance (Levensthein distance) in TaQL is given in the same way as a Regex. This class is needed to have a single object in the parse tree objects containing them (in class TableExprNodeConstRegex).
void casacore::TableExprNodeUtil::checkAggrFuncs | ( | TableExprNodeRep * | node | ) |
Throw an exception if an aggregate function is used in the expression node or its children.
std::vector< TableExprNodeRep * > casacore::TableExprNodeUtil::getAggrNodes | ( | TableExprNodeRep * | node | ) |
Get the aggregate function nodes used in the node and its children.
Get the nr of rows in the tables used.
An exception is thrown if the tables differ in the nr of rows.
std::vector< TableExprNodeRep * > casacore::TableExprNodeUtil::getColumnNodes | ( | TableExprNodeRep * | node | ) |
Get the column nodes used in the node and its children.
std::vector< Table > casacore::TableExprNodeUtil::getNodeTables | ( | TableExprNodeRep * | node, |
Bool | properMain | ||
) |
Get the (unique) tables used in the node and its children.
If properMain
only proper main tables (i.e., tables specified in the FROM clause) are returned.