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
currentGroupIdx,
					this.groups ).firstChild;
		}
		
		int currentRowID = GroupUtil.findGroup( this.groups.length - 1,
				currentGroupIdx,
				this.groups ).firstChild - 1;
		this.groupCalculationUtil.getResultSetCache( ).moveTo( currentRowID );
		leafGroupIdx = currentGroupIdx - 1;
	}
	/**
	 * Gets the index of the current group at the specified group level. The
	 * index starts at 0
	 */
	public int getCurrentGroupIndex( int groupLevel ) throws DataException
	{
		if ( groupLevel == 0 )
			return 0;
		checkHasCurrentRow( );
		if ( groupLevel < 0 || groupLevel > this.groups.length )
			throw new DataException( ResourceConstants.INVALID_GROUP_LEVEL,
					new Integer( groupLevel ) );
		int currentGroupIdx = leafGroupIdx;
		int level;
		for ( level = this.groups.length - 1; level > groupLevel - 1; level-- )
		{
			GroupInfo currentGroup = GroupUtil.findGroup( level,
					currentGroupIdx,
					this.groups );
			currentGroupIdx = currentGroup.parent;