bindingSets = new HashSet<BindingSet>();
entries = buildUnorderedEntries(strategy, group, parentBindings);
}
for (Entry entry : entries) {
QueryBindingSet sol = new QueryBindingSet(parentBindings);
for (String name : group.getGroupBindingNames()) {
Value value = entry.getPrototype().getValue(name);
if (value != null) {
// Potentially overwrites bindings from super
sol.setBinding(name, value);
}
}
for (GroupElem ge : group.getGroupElements()) {
Value value = processAggregate(strategy, entry.getSolutions(), ge.getOperator());
if (value != null) {
// Potentially overwrites bindings from super
sol.setBinding(ge.getName(), value);
}
}
bindingSets.add(sol);
}