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
startIndex,
				groups,
				this.groupCalculationUtil.getResultSetCache( ) );
		endIndex = GroupUtil.getGroupFirstRowIndex( groupLevel,
				endIndex,
				groups,
				this.groupCalculationUtil.getResultSetCache( ) );
		
		return new int[]{
				startIndex, endIndex
		};
	}
	void readGroupsFromStream( InputStream inputStream ) throws IOException
	{
		int size = IOUtil.readInt( inputStream );
		this.groups = new ArrayList[size];
		for ( int i = 0; i < size; i++ )
		{
			List list = new ArrayList( );
			int asize = IOUtil.readInt( inputStream );
			for ( int j = 0; j < asize; j++ )
			{
				GroupInfo groupInfo = new GroupInfo( );
				groupInfo.parent = IOUtil.readInt( inputStream );
				groupInfo.firstChild = IOUtil.readInt( inputStream );
				list.add( groupInfo );
			}
			this.groups[i] = list;
		}
	}