Bug 131011 Support running query based on report document data
Data Engine should support running a query based on data set and expression data stored in a report document. This bugzilla entry serves as a repository for design docs and notes related to this feature.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupCalculationUtil.java
Arrays.sort( toBeSorted, new GroupBoundaryInfoComparator( ) );
			groupArray[i].clear( );
			for ( int j = 0; j < toBeSorted.length; j++ )
			{
				groupArray[i].add( toBeSorted[j] );
			}
		}
	}
	public BaseQuery getQuery( )
	{
		return this.query;
	}
	/**
	 * This method is used to filter out the GroupBoundaryInfo instances that
	 * are marked as "not accepted" from GroupBoundaryInfos.
	 * 
	 * @param groupArray
	 * @return
	 */
	ArrayList[] filterGroupBoundaryInfos( ArrayList[] groupArray )
	{
		ArrayList[] result = new ArrayList[groupArray.length];
		for ( int i = 0; i < result.length; i++ )
		{
			result[i] = new ArrayList( );
		}
		for ( int i = 0; i < groupArray.length; i++ )
		{
			for ( int j = 0; j < groupArray[i].size( ); j++ )
			{