ExprNodeRecord.h

Classes

TableExprNodeRecordField -- Scalar field in record select expression tree (full description)
TableExprNodeRecordFieldArray -- Array field in record select expression tree (full description)

class TableExprNodeRecordField : public TableExprNodeBinary

Interface

Public Members
TableExprNodeRecordField (DataType dtype, const Block<Int>& fieldNumbers)
~TableExprNodeRecordField()
virtual const IPosition& getShape (const TableExprId& id)
virtual Bool isDefined (const TableExprId& id)
virtual Bool getBool (const TableExprId& id)
virtual Double getDouble (const TableExprId& id)
virtual DComplex getDComplex (const TableExprId& id)
virtual String getString (const TableExprId& id)
Protected Members
const RecordInterface& getRecord (const TableExprId& id) const

Description

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

TableExprNodeRecordField (DataType dtype, const Block<Int>& fieldNumbers)

~TableExprNodeRecordField()

virtual const IPosition& getShape (const TableExprId& id)

virtual Bool isDefined (const TableExprId& id)

virtual Bool getBool (const TableExprId& id)

virtual Double getDouble (const TableExprId& id)

virtual DComplex getDComplex (const TableExprId& id)

virtual String getString (const TableExprId& id)

const RecordInterface& getRecord (const TableExprId& id) const

Get the record for the last field number, thus going through all subrecords for the other field numbers.


class TableExprNodeRecordFieldArray : public TableExprNodeArray

Interface

Public Members
TableExprNodeRecordFieldArray (DataType dtype, const Block<Int>& fieldNumbers)
~TableExprNodeRecordFieldArray()
virtual Bool isDefined (const TableExprId& id)
virtual const IPosition& getShape (const TableExprId& id)
virtual Array<Bool> getArrayBool (const TableExprId& id)
virtual Array<Double> getArrayDouble (const TableExprId& id)
virtual Array<DComplex> getArrayDComplex (const TableExprId& id)
virtual Array<String> getArrayString (const TableExprId& id)
Protected Members
const RecordInterface& getRecord (const TableExprId& id) const

Description

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

TableExprNodeRecordFieldArray (DataType dtype, const Block<Int>& fieldNumbers)

~TableExprNodeRecordFieldArray()

virtual Bool isDefined (const TableExprId& id)

virtual const IPosition& getShape (const TableExprId& id)

virtual Array<Bool> getArrayBool (const TableExprId& id)

virtual Array<Double> getArrayDouble (const TableExprId& id)

virtual Array<DComplex> getArrayDComplex (const TableExprId& id)

virtual Array<String> getArrayString (const TableExprId& id)

const RecordInterface& getRecord (const TableExprId& id) const

Get the record for the last field number, thus going through all subrecords for the other field numbers.