---
title: "ClikaRT::tables::Table::AggSpec"
sidebar_label: "Table::AggSpec"
description: "One aggregation of a group_by: the column, the reduction, and the output name."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/tables/table.h`

One aggregation of a [`group_by`](./Table.md#group_by): the column, the reduction, and the output name.

## Data members

### column {#column}

<div class="api-signature">

`std::string_view` **`column`**

</div>

column to aggregate

<div class="api-declared">

Declared in `ClikaRT/tables/table.h`, line 212

</div>

### agg {#agg}

<div class="api-signature">

[`Agg`](./Table.md#Agg) **`agg`** `=` [`Agg::Sum`](./Table.md#Agg)

</div>

the reduction (default `Sum`).

<div class="api-declared">

Declared in `ClikaRT/tables/table.h`, line 213

</div>

### out\_name {#out_name}

<div class="api-signature">

`std::string_view` **`out_name`** `= {}`

</div>

output name (default "\<column\>\_\<agg\>")

<div class="api-declared">

Declared in `ClikaRT/tables/table.h`, line 214

</div>
