Bug 167080 The name suffix when create report document.
In current DtE implementation, the suffix of created report document are like follows: QsXXX (XXX stands for a number) in query result of each query execution. The number will keep increased in a jvm, this is however not expected. Ideally, for each report render session(managed by Engine), the number(XXX) should be restarted. Otherwise, in real use of Data Engine, the jvm may exists for several days, which will cause the number suffix growing very big.This is not expected.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/QueryResultIDUtil.java
}
	
	/**
	 * @param _1partQueryResultID
	 * @param _2partQueryResultID
	 * @return
	 */
	public static String getRealStreamID( String _1partQueryResultID,
			String _2partQueryResultID )
	{
		if ( _1partQueryResultID == null )
			return _2partQueryResultID;
		else if ( _2partQueryResultID == null )
			return _1partQueryResultID;
		else
			return _1partQueryResultID
					+ STREAM_ID_SEPARATOR + _2partQueryResultID;
	}
	
	/**
	 * @param subQueryName
	 * @param subQueryIndex
	 * @return
	 */
	public static String buildSubQueryID( String subQueryName, int subQueryIndex )
	{
		return subQueryName + SUBQUERY_ID_SEPARATOR + subQueryIndex;
	}
}