public class SingleAggResultRewriter extends Object
| Constructor and Description |
|---|
SingleAggResultRewriter(AggregateFrame rawResultSet) |
| Modifier and Type | Method and Description |
|---|---|
AggregateFrame |
rewrite(List<String> nonaggColumns,
List<AggNameAndType> aggColumns)
Rewrites the raw result set into the result set with (intuitive) error bounds.
|
public SingleAggResultRewriter(AggregateFrame rawResultSet)
public AggregateFrame rewrite(List<String> nonaggColumns, List<AggNameAndType> aggColumns) throws VerdictDBException
Rewritten (or converted) result set should have the following columns: 1. groups (that appear in the group by clause) 2. aggregate columns
rawResultSet - aggColumns - Each pair is (original agg alias, type of agg)VerdictDBExceptionCopyright © 2018 University of Michigan. All rights reserved.