private IckleParsingResult<TypeMetadata> makeFilterParsingResult(IckleParsingResult<TypeMetadata> parsingResult, BooleanExpr normalizedWhereClause,
                                                                    PropertyPath[] projection, Class<?>[] projectedTypes, Object[] projectedNullMarkers,
                                                                    SortField[] sortFields) {
      String queryString = SyntaxTreePrinter.printTree(parsingResult.getTargetEntityName(), projection, normalizedWhereClause, sortFields);
      return new IckleParsingResult<>(queryString, parsingResult.getParameterNames(),
            normalizedWhereClause, null,
            parsingResult.getTargetEntityName(), parsingResult.getTargetEntityMetadata(),
            projection, projectedTypes, projectedNullMarkers, null, sortFields);
   }
private IckleParsingResult < TypeMetadata > makeFilterParsingResult ( IckleParsingResult < TypeMetadata > parsingResult , BooleanExpr normalizedWhereClause , PropertyPath [ ] projection , Class < ? > [ ] projectedTypes , Object [ ] projectedNullMarkers , SortField [ ] sortFields ) { String queryString = SyntaxTreePrinter . printTree ( parsingResult . getTargetEntityName ( ) , projection , normalizedWhereClause , sortFields ) ; return new IckleParsingResult < > ( queryString , parsingResult . getParameterNames ( ) , normalizedWhereClause , null , parsingResult . getTargetEntityName ( ) , parsingResult . getTargetEntityMetadata ( ) , projection , projectedTypes , projectedNullMarkers , null , sortFields ) ; }
Make a new FilterParsingResult after normalizing the query. This FilterParsingResult is not supposed to have
grouping/aggregation.