Collection exprCol = new ArrayList( ); Map map = trans.getResultSetExpressions( ); if ( map != null ) { Iterator it = map.keySet( ).iterator( ); while ( it.hasNext( ) ) { exprCol.add( map.get( it.next( ) ) ); if ( ModeManager.isModeSet( ) == false ) ModeManager.setNewMode( ); } prepareExpressions( exprCol, groupLevel, false, true, cx ); } this.exprManager.addExpr( trans.getResultSetExpressions( ), groupLevel );
	private void prepareGroup( IBaseTransform trans, int groupLevel, Context cx )			throws DataException	{		// prepare expressions appearing in this group		prepareExpressions( trans.getAfterExpressions(), groupLevel, true, false,cx );		prepareExpressions( trans.getBeforeExpressions(), groupLevel, false, false, cx );		prepareExpressions( trans.getRowExpressions(),groupLevel, false, true, cx );				// Prepare subqueries appearing in this group		Collection subQueries = trans.getSubqueries( );		Iterator subIt = subQueries.iterator( );		while ( subIt.hasNext( ) )		{			ISubqueryDefinition subquery = (ISubqueryDefinition) subIt.next( );			PreparedSubquery pq = new PreparedSubquery( this.dataEngineContext,					this.expressionCompiler,					this.sharedScope,					subquery,					queryService,					groupLevel );			subQueryMap.put( subquery.getName(), pq);		}	}