| 
    casacore
    
   | 
 
Class representing all keys in the groupby clause. More...
#include <ExprGroup.h>
Public Member Functions | |
| TableExprGroupKeySet (const vector< TableExprNode > &nodes) | |
| Form the object from the given groupby nodes.   | |
| void | addKey (TableExprNodeRep::NodeDataType dtype) | 
| Add a key to end the set.   | |
| void | fill (const vector< TableExprNode > &nodes, const TableExprId &id) | 
| Fill the keys with the values from the nodes for this rowid.   | |
| bool | operator== (const TableExprGroupKeySet &) const | 
| Compare all keys in the set.   | |
| bool | operator< (const TableExprGroupKeySet &) const | 
Private Attributes | |
| vector< TableExprGroupKey > | itsKeys | 
Class representing all keys 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 a set of TableExprGroupKey objects, each containing the value of a key for a particular table row. 
It contains comparison functions to make it possible to use them in a std::map object to map the groupby keyset to a group. 
Definition at line 103 of file ExprGroup.h.
| casacore::TableExprGroupKeySet::TableExprGroupKeySet | ( | const vector< TableExprNode > & | nodes | ) | 
Form the object from the given groupby nodes.
      
  | 
  inline | 
| void casacore::TableExprGroupKeySet::fill | ( | const vector< TableExprNode > & | nodes, | 
| const TableExprId & | id | ||
| ) | 
Fill the keys with the values from the nodes for this rowid.
| bool casacore::TableExprGroupKeySet::operator< | ( | const TableExprGroupKeySet & | ) | const | 
| bool casacore::TableExprGroupKeySet::operator== | ( | const TableExprGroupKeySet & | ) | const | 
Compare all keys in the set.
The keyset is compared in order of key, thus the first key defines the major ordering.
      
  | 
  private | 
Definition at line 123 of file ExprGroup.h.
Referenced by addKey().