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)

class TableExprNodeConstBool : public TableExprNodeBinary

Interface

Public Members
TableExprNodeConstBool (const Bool& value)
~TableExprNodeConstBool()
Bool getBool (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeConstBool (const Bool& value)

~TableExprNodeConstBool()

Bool getBool (const TableExprId& id)


class TableExprNodeConstDouble : public TableExprNodeBinary

Interface

TableExprNodeConstDouble (const Double& value)
~TableExprNodeConstDouble()
Double getDouble (const TableExprId& id)
DComplex getDComplex (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeConstDouble (const Double& value)

~TableExprNodeConstDouble()

Double getDouble (const TableExprId& id)

DComplex getDComplex (const TableExprId& id)


class TableExprNodeConstDComplex : public TableExprNodeBinary

Interface

TableExprNodeConstDComplex (const DComplex& value)
~TableExprNodeConstDComplex()
DComplex getDComplex (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeConstDComplex (const DComplex& value)

~TableExprNodeConstDComplex()

DComplex getDComplex (const TableExprId& id)


class TableExprNodeConstString : public TableExprNodeBinary

Interface

TableExprNodeConstString (const String& value)
~TableExprNodeConstString()
String getString (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeConstString (const String& value)

~TableExprNodeConstString()

String getString (const TableExprId& id)


class TableExprNodeConstRegex : public TableExprNodeBinary

Interface

TableExprNodeConstRegex (const Regex& value)
~TableExprNodeConstRegex()
Regex getRegex (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeConstRegex (const Regex& value)

~TableExprNodeConstRegex()

Regex getRegex (const TableExprId& id)


class TableExprNodeConstDate : public TableExprNodeBinary

Interface

TableExprNodeConstDate (const MVTime& value)
~TableExprNodeConstDate()
Double getDouble(const TableExprId& id)
MVTime getDate (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeConstDate (const MVTime& value)

~TableExprNodeConstDate()

Double getDouble(const TableExprId& id)

MVTime getDate (const TableExprId& id)


class TableExprNodeColumn : public TableExprNodeBinary

Interface

TableExprNodeColumn (const Table&, const String& columnName)
~TableExprNodeColumn()
virtual void replaceTablePtr (const Table&)
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()

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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 String& columnName)

~TableExprNodeColumn()

virtual void replaceTablePtr (const Table&)

Replace the Table pointer in this node.

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

Get the data type of this scalar column.

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()


class TableExprNodeRownr : public TableExprNodeBinary

Interface

TableExprNodeRownr (const Table&, uInt origin)
~TableExprNodeRownr()
Double getDouble (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeRownr (const Table&, uInt origin)

~TableExprNodeRownr()

Double getDouble (const TableExprId& id)


class TableExprNodeRowid : public TableExprNodeBinary

Interface

TableExprNodeRowid (const Table&)
~TableExprNodeRowid()
Double getDouble (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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

TableExprNodeRowid (const Table&)

~TableExprNodeRowid()

Double getDouble (const TableExprId& id)


class TableExprNodeRandom : public TableExprNodeBinary

Interface

TableExprNodeRandom (const Table&)
~TableExprNodeRandom()
Double getDouble (const TableExprId& id)

Description

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Synopsis

This class represents the rand() function in a table select expression tree.

Member Description

TableExprNodeRandom (const Table&)

~TableExprNodeRandom()

Double getDouble (const TableExprId& id)