SelectClauseExprCompiledSpec expr = (SelectClauseExprCompiledSpec) element;
if (!isTransposingFunction(expr.getSelectExpression())) {
expressions.add(expr);
}
else {
selectedStreams.add(new SelectExprStreamDesc(expr));
}
}
else if (element instanceof SelectClauseStreamCompiledSpec)
{
selectedStreams.add(new SelectExprStreamDesc((SelectClauseStreamCompiledSpec)element));
}
}
return new SelectExprBuckets(expressions, selectedStreams);
}