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/GroupUtil.java
groupInfo = findGroup( i, groupIndex, groups );
				groupIndex = groupInfo.firstChild;
			}
			rowIndex = groupIndex;
		}
		else
		{
			rowIndex = smartCache.getCount( );
		}
		return rowIndex;
	}
	/**
	 * Helper function to find information about a group, given the group level
	 * and the group index at that level. Returns null if groupIndex exceeds max
	 * group index
	 * 
	 * @param groupLevel
	 * @param groupIndex
	 * @param groups
	 * @return
	 */
	static GroupInfo findGroup( int groupLevel, int groupIndex, List[] groups )
	{
		if ( groupIndex >= groups[groupLevel].size( ) )
			return null;
		else
			return (GroupInfo) groups[groupLevel].get( groupIndex );
	}
}