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
group.firstChild = groups[level + 1].size( );
				}
				groups[level].add( group );
			}
			prevRow = currRow;
		}
		
		
		this.groupCalculationUtil.getResultSetCache( ).reset( );
		this.setLeaveGroupIndex( 0 );
	}
	/**
	 * Helper method to get the group break level between 2 rows
	 * 
	 * @param currRow
	 * @param prevRow
	 * @param currRowPos
	 * @return
	 * @throws DataException
	 */
	private int getBreakLevel( IResultObject currRow, IResultObject prevRow,
			int currRowPos ) throws DataException
	{
		assert currRow != null;
		assert prevRow != null;
		int breakLevel = 0;
		for ( ; breakLevel < this.groupCalculationUtil.getGroupDefn( ).length; breakLevel++ )