TableModelDescription a = new TableModelBuilder("A")
.add(null, "id", PropertyTypeKind.LONG, Attribute.PRIMARY_KEY)
.add(null, "value", PropertyTypeKind.INT)
.toDescription();
SummarizedModelDescription model = new SummarizedModelBuilder("S", a, "a")
.add("sumId", Aggregator.IDENT, "a.id")
.add("sumSum", Aggregator.SUM, "a.value")
.add("sumCount", Aggregator.COUNT, "a.value")
.add("sumMax", Aggregator.MAX, "a.value")
.add("sumMin", Aggregator.MIN, "a.value")