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
* 
	 * @param query
	 * @param rsMeta
	 */
	GroupCalculationUtil(BaseQuery query, IResultClass rsMeta,
			ResultSetPopulator resultPopoulator)
	{
		this.query = query;
		this.rsMeta = rsMeta;
		groupInformationUtil = new GroupInformationUtil( this );
		this.resultPopoulator = resultPopoulator;
	}
	/**
	 * @param inputStream
	 * @param rsMeta
	 * @param rsCache
	 * @throws DataException
	 */
	GroupCalculationUtil( InputStream inputStream, IResultClass rsMeta,
			ResultSetCache rsCache ) throws DataException
	{
		try
		{
			this.groupInformationUtil.readGroupsFromStream( inputStream );
		}
		catch ( IOException e )
		{
			throw new DataException( ResourceConstants.RD_LOAD_ERROR,
					e,
					"Group Info" );