private void doFilterGroup ( Group group , ResultSetInternal results ) { /* The group was n or group so handle it that way. */ if ( group . getGrouping ( ) == Grouping . OR ) { /* nice short method name, or. */ or ( group . getExpressions ( ) , fields , results ) ; } else { /* create a result internal (why?), wrap the fields in the result set internal, and pass that to the and method. */ ResultSetInternal resultsForAnd = new ResultSetImpl ( fields ) ; and ( group . getExpressions ( ) , fields , resultsForAnd ) ; results . addResults ( resultsForAnd . asList ( ) ) ; } }
Run the filter on the group .