ColumnDescription columnDescription = new ColumnDescription("id",
ValueType.TEXT, "label");
ColumnTitle columnTitleCount = new ColumnTitle(Lists.<Value>newArrayList(),
new AggregationColumn(new SimpleColumn("id"),
AggregationType.COUNT), false);
ColumnTitle columnTitleMin = new ColumnTitle(Lists.<Value>newArrayList(),
new AggregationColumn(new SimpleColumn("id"),
AggregationType.MIN), true);
ColumnTitle columnTitleCountWithPivot =
new ColumnTitle(Lists.newArrayList(new NumberValue(3.14),
BooleanValue.TRUE), new AggregationColumn(new SimpleColumn("id"),
AggregationType.COUNT), false);
ColumnTitle columnTitleMinWithPivot =
new ColumnTitle(Lists.newArrayList(new NumberValue(3.14),
BooleanValue.TRUE), new AggregationColumn(new SimpleColumn("id"),
AggregationType.MIN), true);
ColumnDescription resultColumnDescriptionCount =
columnTitleCount.createAggregationColumnDescription(columnDescription);