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.
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. |
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.
te::da::GroupByItem::GroupByItem |
( |
const std::string & |
propertyName | ) |
|
|
explicit |
Constructor.
- Parameters
-
propertyName | A property name. |
order | The sort order. |
te::da::GroupByItem::GroupByItem |
( |
const GroupByItem & |
rhs | ) |
|
|
explicit |
te::da::GroupByItem::~GroupByItem |
( |
| ) |
|
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.
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.
std::auto_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_master/terralib5/src/terralib/dataaccess/query/GroupByItem.h