casacore
|
Class representing a key in the groupby clause. More...
#include <ExprGroup.h>
Public Member Functions | |
TableExprGroupKey (TableExprNodeRep::NodeDataType dtype) | |
Construct for a given data type. More... | |
TableExprNodeRep::NodeDataType | dataType () const |
Get the data type. More... | |
void | set (Bool v) |
Set the key's value. More... | |
void | set (Int64 v) |
void | set (Double v) |
void | set (const String &v) |
bool | operator== (const TableExprGroupKey &) const |
Compare this and that key. More... | |
bool | operator< (const TableExprGroupKey &) const |
Private Attributes | |
TableExprNodeRep::NodeDataType | itsDT |
Bool | itsBool |
Int64 | itsInt64 |
Double | itsDouble |
String | itsString |
Class representing a key in the groupby clause.
Internal
The GROUPBY clause consists of one or more keys, each being a scalar TaQL expression with an arbitrary data type. This class contains the value of a key for a particular table row. It is part of a TableExprGroupKeySet object.
Definition at line 52 of file ExprGroup.h.
|
inlineexplicit |
Construct for a given data type.
Definition at line 56 of file ExprGroup.h.
|
inline |
bool casacore::TableExprGroupKey::operator< | ( | const TableExprGroupKey & | ) | const |
bool casacore::TableExprGroupKey::operator== | ( | const TableExprGroupKey & | ) | const |
Compare this and that key.
|
inline |
|
inline |
Definition at line 68 of file ExprGroup.h.
References itsInt64.
|
inline |
Definition at line 70 of file ExprGroup.h.
References itsDouble.
|
inline |
Definition at line 72 of file ExprGroup.h.
References itsString.
|
private |
Definition at line 84 of file ExprGroup.h.
Referenced by set().
|
private |
Definition at line 86 of file ExprGroup.h.
Referenced by set().
|
private |
Definition at line 83 of file ExprGroup.h.
Referenced by dataType().
|
private |
Definition at line 85 of file ExprGroup.h.
Referenced by set().
|
private |
Definition at line 87 of file ExprGroup.h.
Referenced by set().