A class that can be used in a GROUP BY clause.  
 More...
#include <GroupByItem.h>
A class that can be used in a GROUP BY clause. 
- See also
 - GroupBy 
 
Definition at line 50 of file GroupByItem.h.
 
◆ GroupByItem() [1/4]
  
  
      
        
          | te::da::GroupByItem::GroupByItem  | 
          ( | 
          const Expression &  | 
          e | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Constructor. 
- Parameters
 - 
  
    | e | An expression to be used in an GROUP BY clause.  | 
    | order | The sort order.  | 
  
   
 
 
◆ GroupByItem() [2/4]
  
  
      
        
          | te::da::GroupByItem::GroupByItem  | 
          ( | 
          Expression *  | 
          e | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Constructor. 
- Parameters
 - 
  
    | e | An expression to be used in an GROUP BY clause.  | 
    | order | The sort order. | 
  
   
- Note
 - The GroupByItem will take the ownership of Expression. 
 
 
 
◆ GroupByItem() [3/4]
  
  
      
        
          | te::da::GroupByItem::GroupByItem  | 
          ( | 
          const std::string &  | 
          propertyName | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Constructor. 
- Parameters
 - 
  
    | propertyName | A property name.  | 
    | order | The sort order.  | 
  
   
 
 
◆ GroupByItem() [4/4]
  
  
      
        
          | te::da::GroupByItem::GroupByItem  | 
          ( | 
          const GroupByItem &  | 
          rhs | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ ~GroupByItem()
      
        
          | te::da::GroupByItem::~GroupByItem  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getExpression()
      
        
          | Expression * te::da::GroupByItem::getExpression  | 
          ( | 
           | ) | 
           const | 
        
      
 
It returns the exprsssion to be used to sort the result of a query. 
- Returns
 - The exprsssion to be used to sort the result of a query. 
 
 
 
◆ operator=()
◆ setExpression()
      
        
          | void te::da::GroupByItem::setExpression  | 
          ( | 
          Expression *  | 
          e | ) | 
           | 
        
      
 
It sets the expression to sort the result of a query. 
- Parameters
 - 
  
    | e | The expression to be used to sort the result of a query. | 
  
   
- Note
 - The GroupByItem will take the expression ownership. 
 
 
 
◆ m_field
  
  
      
        
          | std::unique_ptr<Expression> te::da::GroupByItem::m_field | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/dataaccess/query/GroupByItem.h