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
if ( groupLevel == 0 )
		{
			
			leafGroupIdx = 0;
			this.groupCalculationUtil.getResultSetCache( ).reset( );
			this.groupCalculationUtil.getResultSetCache( ).next( );
			return;
		}
		groupLevel--; 
		
		int currentGroupIdx = findCurrentGroup( groupLevel );
		
		for ( int i = groupLevel + 1; i < this.groups.length; i++ )
		{
			currentGroupIdx = GroupUtil.findGroup( i - 1,
					currentGroupIdx,
					this.groups ).firstChild;
		}
		leafGroupIdx = currentGroupIdx;
		int currentRowID = GroupUtil.findGroup( this.groups.length - 1,
				leafGroupIdx,
				this.groups ).firstChild;
		this.groupCalculationUtil.getResultSetCache( ).moveTo( currentRowID );
	}
	/**
	 * Advances row cursor to the last row at the specified group level
	 * 
	 * @param groupLevel
	 *            the specified group level that will be skipped, 1 indicate the
	 *            highest level. 0 indicates whole list.