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/GroupInformationUtil.java
groupBoundaryInfos[i - 1] = new ArrayList( );
			
			for ( int j = 0; j < groups[i - 1].size( ); j++ )
			{
				groupBoundaryInfos[i - 1].add( getGroupBoundaryInfo( i, j ) );
			}
		}
		return groupBoundaryInfos;
	}
	/**
	 * Generate a GroupBoundaryInfo instance from certain groupLevel and
	 * groupIndex.
	 * 
	 * @param groupLevel
	 *            1-based group level
	 * @param groupIndex
	 *            0-based group index
	 * @return
	 * @throws DataException
	 */
	private GroupBoundaryInfo getGroupBoundaryInfo( int groupLevel,
			int groupIndex ) throws DataException
	{
		
		int startIdx = GroupUtil.getGroupFirstRowIndex( groupLevel,
				groupIndex,
				groups,
				this.groupCalculationUtil.getResultSetCache( ) );
		int endIdx = this.groupCalculationUtil.getResultSetCache( ).getCount( ) - 1;
		if ( groupIndex < groups[groupLevel - 1].size( ) - 1 )