26#ifndef TABLES_EXPRLOGICNODE_H
27#define TABLES_EXPRLOGICNODE_H
30#include <casacore/casa/aips.h>
31#include <casacore/tables/TaQL/ExprNodeRep.h>
Logical and in table select expression tree.
~TableExprNodeAND()=default
void ranges(Block< TableExprRange > &) override
Convert the tree to a number of range vectors which at least select the same things.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeAND(const TableExprNodeRep &)
Abstract base class for a node having 0, 1, or 2 child nodes.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeEQBool()=default
TableExprNodeEQBool(const TableExprNodeRep &)
DComplex comparison == in table select expression tree.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeEQDComplex(const TableExprNodeRep &)
~TableExprNodeEQDComplex()=default
Date comparison == in table select expression tree.
TableExprNodeEQDate(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeEQDate()=default
Double comparison == in table select expression tree.
void ranges(Block< TableExprRange > &) override
Convert the tree to a number of range vectors which at least select the same things.
~TableExprNodeEQDouble()=default
TableExprNodeEQDouble(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
Int comparison == in table select expression tree.
~TableExprNodeEQInt()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeEQInt(const TableExprNodeRep &)
Regex comparison == in table select expression tree.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeEQRegex()=default
TableExprNodeEQRegex(const TableExprNodeRep &)
String comparison == in table select expression tree.
TableExprNodeEQString(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeEQString()=default
DComplex comparison >= in table select expression tree.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeGEDComplex(const TableExprNodeRep &)
~TableExprNodeGEDComplex()=default
Date comparison >= in table select expression tree.
~TableExprNodeGEDate()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeGEDate(const TableExprNodeRep &)
Double comparison >= in table select expression tree.
~TableExprNodeGEDouble()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
void ranges(Block< TableExprRange > &) override
Convert the tree to a number of range vectors which at least select the same things.
TableExprNodeGEDouble(const TableExprNodeRep &)
Int comparison >= in table select expression tree.
~TableExprNodeGEInt()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeGEInt(const TableExprNodeRep &)
String comparison >= in table select expression tree.
~TableExprNodeGEString()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeGEString(const TableExprNodeRep &)
DComplex comparison > in table select expression tree.
TableExprNodeGTDComplex(const TableExprNodeRep &)
~TableExprNodeGTDComplex()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
Date comparison > in table select expression tree.
~TableExprNodeGTDate()=default
TableExprNodeGTDate(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
Double comparison > in table select expression tree.
~TableExprNodeGTDouble()=default
void ranges(Block< TableExprRange > &) override
Convert the tree to a number of range vectors which at least select the same things.
TableExprNodeGTDouble(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
Int comparison > in table select expression tree.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeGTInt(const TableExprNodeRep &)
~TableExprNodeGTInt()=default
String comparison > in table select expression tree.
TableExprNodeGTString(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeGTString()=default
DComplex comparison IN in table select expression tree.
TableExprNodeINDComplex(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeINDComplex()=default
Date comparison IN in table select expression tree.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
~TableExprNodeINDate()=default
TableExprNodeINDate(const TableExprNodeRep &)
static void doOptimize(TENShPtr &rnode)
Double comparison IN in table select expression tree.
static void doOptimize(TENShPtr &rnode)
void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
TableExprNodeINDouble(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeINDouble()=default
Int comparison IN in table select expression tree.
~TableExprNodeINInt()=default
TableExprNodeINInt(const TableExprNodeRep &, Bool doTracing=False)
doTracing is not used.
void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
static void doOptimize(TENShPtr &rnode)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
String comparison IN in table select expression tree.
TableExprNodeINString(const TableExprNodeRep &)
void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
~TableExprNodeINString()=default
static void doOptimize(TENShPtr &rnode)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
Bool comparison != in table select expression tree.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeNEBool()=default
TableExprNodeNEBool(const TableExprNodeRep &)
DComplex comparison != in table select expression tree.
~TableExprNodeNEDComplex()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeNEDComplex(const TableExprNodeRep &)
Date comparison != in table select expression tree.
~TableExprNodeNEDate()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeNEDate(const TableExprNodeRep &)
Double comparison != in table select expression tree.
~TableExprNodeNEDouble()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeNEDouble(const TableExprNodeRep &)
Int comparison != in table select expression tree.
~TableExprNodeNEInt()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeNEInt(const TableExprNodeRep &)
Regex comparison != in table select expression tree.
TableExprNodeNERegex(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
~TableExprNodeNERegex()=default
String comparison != in table select expression tree.
TableExprNodeNEString(const TableExprNodeRep &)
~TableExprNodeNEString()=default
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
Logical not in table select expression tree.
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
TableExprNodeNOT(const TableExprNodeRep &)
~TableExprNodeNOT()=default
Logical or in table select expression tree.
TableExprNodeOR(const TableExprNodeRep &)
Bool getBool(const TableExprId &id) override
Get a scalar value for this node in the given row.
void ranges(Block< TableExprRange > &) override
Convert the tree to a number of range vectors which at least select the same things.
~TableExprNodeOR()=default
Abstract base class for a node in a table column expression tree.
this file contains all the compiler specific defines
std::shared_ptr< TableExprNodeRep > TENShPtr
bool Bool
Define the standard types used by Casacore.