int expreLength = expressions.length; int i = 0; while ( i < expreLength )
for( int i = 0; i < expressions.length; i ++ )
	public void test_MultiPassFilterGroup( ) throws Exception	{		String sqlStatement = "select COUNTRY,AMOUNT, SALE_DATE from " + getTestTableName( );		( ( OdaDataSetDesign )this.dataSet ).setQueryText( sqlStatement );						IBaseExpression[] expressions = new IBaseExpression[]{				new ScriptExpression( "row.COUNTRY" ),				new ScriptExpression( "row.AMOUNT" ),				new ScriptExpression( "row.SALE_DATE" )						};				QueryDefinition queryDefn = new QueryDefinition( );		queryDefn.setDataSetName( this.dataSet.getName( ) );		int expreLength = expressions.length;		int i = 0;		while ( i < expreLength )		{			queryDefn.addExpression( expressions[ i ],BaseTransform.ON_EACH_ROW );			i++;					}						FilterDefinition filterDefn = new FilterDefinition( 				new ConditionalExpression( "Total.sum(row.AMOUNT,null,1)", IConditionalExpression.OP_BOTTOM_PERCENT, "25" ) 					);		GroupDefinition groupDefn = new GroupDefinition();		groupDefn.setKeyExpression( "row.SALE_DATE" );				groupDefn.setInterval( 2 );		groupDefn.setIntervalRange( IGroupDefinition.MONTH_INTERVAL);						groupDefn.addFilter( filterDefn );				queryDefn.addGroup( groupDefn );		IPreparedQuery preparedQuery = dataEngine.prepare( queryDefn );		IQueryResults queryResults = preparedQuery.execute( null );		IResultIterator resultIt = queryResults.getResultIterator( );				outputQueryResult( resultIt, expressions );		checkOutputFile( );			}