public class TimeAggregationColumnAction extends Object implements TabularDataAction, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
TIME_AGGREGATION |
| Constructor and Description |
|---|
TimeAggregationColumnAction()
Instantiates a new aggregation column session.
|
TimeAggregationColumnAction(List<TdColumnData> groupColumns,
List<AggregatePair> aggregateFunctionPairs,
ServerObjectId serverObjectId,
List<TdColumnData> timeColumns,
TdPeriodType periodType) |
TimeAggregationColumnAction(List<TdColumnData> timeColumns,
TdPeriodType periodType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFunctionOnColumn(AggregatePair aggregate)
Adds the function on column.
|
boolean |
addGroupColumn(TdColumnData cd)
Adds the group column.
|
List<AggregatePair> |
getAggregateFunctionPairs()
Gets the aggregate function pairs.
|
String |
getDescription() |
List<TdColumnData> |
getGroupColumns()
Gets the group columns.
|
String |
getId()
Gets the id.
|
TdPeriodType |
getPeriodType() |
ServerObjectId |
getServerObjectId() |
List<TdColumnData> |
getTimeColumns() |
void |
setAggregateFunctionPairs(List<AggregatePair> aggregateFunctionPairs)
Sets the aggregate function pairs.
|
void |
setGroupColumns(List<TdColumnData> groupColumns)
Sets the group columns.
|
void |
setPeriodType(TdPeriodType periodType) |
void |
setServerObjectId(ServerObjectId serverObjectId) |
void |
setTimeColumns(List<TdColumnData> timeColumns) |
String |
toString() |
public static final String TIME_AGGREGATION
public TimeAggregationColumnAction(List<TdColumnData> timeColumns, TdPeriodType periodType)
timeColumns - periodType - public TimeAggregationColumnAction(List<TdColumnData> groupColumns, List<AggregatePair> aggregateFunctionPairs, ServerObjectId serverObjectId, List<TdColumnData> timeColumns, TdPeriodType periodType)
groupColumns - aggregateFunctionPairs - serverObjectId - timeColumns - periodType - public TimeAggregationColumnAction()
public TdPeriodType getPeriodType()
public void setPeriodType(TdPeriodType periodType)
periodType - the periodType to setpublic List<TdColumnData> getTimeColumns()
public void setTimeColumns(List<TdColumnData> timeColumns)
timeColumns - the timeColumns to setpublic boolean addGroupColumn(TdColumnData cd)
cd - the cdpublic boolean addFunctionOnColumn(AggregatePair aggregate)
aggregate - the aggregatepublic List<TdColumnData> getGroupColumns()
public List<AggregatePair> getAggregateFunctionPairs()
public void setGroupColumns(List<TdColumnData> groupColumns)
groupColumns - the new group columnspublic void setAggregateFunctionPairs(List<AggregatePair> aggregateFunctionPairs)
aggregateFunctionPairs - the new aggregate function pairspublic ServerObjectId getServerObjectId()
public void setServerObjectId(ServerObjectId serverObjectId)
serverObjectId - the serverObjectId to setpublic String getId()
TabularDataActiongetId in interface TabularDataActionpublic String getDescription()
getDescription in interface TabularDataActionCopyright © 2016. All Rights Reserved.