ExprDerNode.h
Classes
- TableExprNodeConstBool -- Constant Bool in table select expression tree (full description)
- TableExprNodeConstDouble -- Constant Double in table select expression tree (full description)
- TableExprNodeConstDComplex -- Constant DComplex in table select expression tree (full description)
- TableExprNodeConstString -- Constant String in table select expression tree (full description)
- TableExprNodeConstRegex -- Constant Regex in table select expression tree (full description)
- TableExprNodeConstDate -- Constant Date in table select expression tree (full description)
- TableExprNodeColumn -- Scalar column in table select expression tree (full description)
- TableExprNodeRownr -- Rownumber in table select expression tree (full description)
- TableExprNodeRowid -- Rowid in table select expression tree (full description)
- TableExprNodeRandom -- Random number in table select expression tree (full description)
Interface
- Public Members
- TableExprNodeConstBool (const Bool& value)
- ~TableExprNodeConstBool()
- Bool getBool (const TableExprId& id)
Prerequisite
Synopsis
This class represents a constant in a table select expression tree.
This is also used to hold the value of a table keyword, which is
constant over the entire table.
Member Description
Interface
- TableExprNodeConstDouble (const Double& value)
- ~TableExprNodeConstDouble()
- Double getDouble (const TableExprId& id)
- DComplex getDComplex (const TableExprId& id)
Prerequisite
Synopsis
This class represents a constant in a table select expression tree.
This is also used to hold the value of a table keyword, which is
constant over the entire table.
Member Description
DComplex getDComplex (const TableExprId& id)
Interface
- TableExprNodeConstDComplex (const DComplex& value)
- ~TableExprNodeConstDComplex()
- DComplex getDComplex (const TableExprId& id)
Prerequisite
Synopsis
This class represents a constant in a table select expression tree.
This is also used to hold the value of a table keyword, which is
constant over the entire table.
Member Description
DComplex getDComplex (const TableExprId& id)
Interface
- TableExprNodeConstString (const String& value)
- ~TableExprNodeConstString()
- String getString (const TableExprId& id)
Prerequisite
Synopsis
This class represents a constant in a table select expression tree.
This is also used to hold the value of a table keyword, which is
constant over the entire table.
Member Description
Interface
- TableExprNodeConstRegex (const Regex& value)
- ~TableExprNodeConstRegex()
- Regex getRegex (const TableExprId& id)
Prerequisite
Synopsis
This class represents a constant in a table select expression tree.
This is also used to hold the value of a table keyword, which is
constant over the entire table.
Member Description
Interface
- TableExprNodeConstDate (const MVTime& value)
- ~TableExprNodeConstDate()
- Double getDouble(const TableExprId& id)
- MVTime getDate (const TableExprId& id)
Prerequisite
Synopsis
This class represents a constant in a table select expression tree.
This is also used to hold the value of a table keyword, which is
constant over the entire table.
Member Description
Interface
- TableExprNodeColumn (const Table&, const BaseTable*, const String& columnName)
- ~TableExprNodeColumn()
- virtual void replaceTablePtr (const Table&, const BaseTable*)
- Bool getBool (const TableExprId& id)
- Double getDouble (const TableExprId& id)
- DComplex getDComplex (const TableExprId& id)
- String getString (const TableExprId& id)
- const ROTableColumn& getColumn() const
- Bool getColumnDataType (DataType&) const
- Array<Bool> getColumnBool()
- Array<uChar> getColumnuChar()
- Array<Short> getColumnShort()
- Array<uShort> getColumnuShort()
- Array<Int> getColumnInt()
- Array<uInt> getColumnuInt()
- Array<Float> getColumnFloat()
- Array<Double> getColumnDouble()
- Array<Complex> getColumnComplex()
- Array<DComplex> getColumnDComplex()
- Array<String> getColumnString()
Prerequisite
Synopsis
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.
Member Description
TableExprNodeColumn (const Table&, const BaseTable*, const String& columnName)
virtual void replaceTablePtr (const Table&, const BaseTable*)
Replace the Table pointer in this node.
DComplex getDComplex (const TableExprId& id)
Get the data type of this scalar column.
Interface
- TableExprNodeRownr (const BaseTable*, uInt origin)
- ~TableExprNodeRownr()
- Double getDouble (const TableExprId& id)
Prerequisite
Synopsis
This class represents the rownumber() function in a table
select expression tree.
The origin is stored to indicate whether the first rownumber
should be zero (in C++) or an other value (1 in TaQL)
Member Description
Interface
- TableExprNodeRowid (const BaseTable*)
- ~TableExprNodeRowid()
- Double getDouble (const TableExprId& id)
Prerequisite
Synopsis
This class represents the rowid() function in a table
select expression tree.
It is meant to get the original row number in a GIVING clause,
but, of course, it can also be used in the SELECT clause.
The row number returned is 0-based.
Member Description
Interface
- TableExprNodeRandom (const BaseTable*)
- ~TableExprNodeRandom()
- Double getDouble (const TableExprId& id)
Prerequisite
Synopsis
This class represents the rand() function in a table
select expression tree.
Member Description