Bug 182680 Use feature of new Aggregation framework of Data Engine.
DataEngine will implement new aggregation framework in 2.2.0RC0. After the implementation is finished Engine should go ahead to use new column bindings in definition of map/highlight.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ResultMetaData.java
{
	protected IResultMetaData parentMetaData;
	protected String[] selectedColumns;
	public ResultMetaData( IBaseQueryDefinition query, String[] selectedColumns )
	{
		initializeMetaData( query );
		this.selectedColumns = selectedColumns;
	}
	public ResultMetaData( IBaseQueryDefinition query )
	{
		initializeMetaData( query );
		this.selectedColumns = null;
	}
	
	public ResultMetaData( IResultMetaData parentMetaData, String[] selectedColumns )
	{
		this.parentMetaData = parentMetaData;
		this.selectedColumns = selectedColumns;
	}
	protected void initializeMetaData( IBaseQueryDefinition query )
	{
		appendMetaData( query );
	}
	private ArrayList metaEntries = new ArrayList( );
	private class MetaDataEntry