* INTERNAL
* Apply this node to the passed query
*/
public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext generationContext) {
if (theQuery instanceof ReportQuery) {
ReportQuery reportQuery = (ReportQuery)theQuery;
Expression expression = generateExpression(generationContext);
reportQuery.addAttribute(left.resolveAttribute() + "Index", expression, Integer.class);
}
}