function (sHierarchyDimensionName, bIncludeExternalKey,
				bIncludeText) {
			var oDimension;

			if (!sHierarchyDimensionName) {
				return;
			}
			// sHierarchyDimensionName is the name of a dimension property (and not e.g. of a
			// dimension's text property), findDimensionByName can be used instead of
			// findDimensionByPropertyName
			oDimension = this._oQueryResult.findDimensionByName(sHierarchyDimensionName);
			if (!oDimension) {
				throw new Error("'" + sHierarchyDimensionName + "' is not a dimension property");
			}
			if (!oDimension.getHierarchy()) {
				throw new Error("Dimension '" + sHierarchyDimensionName
					+ "' does not have a hierarchy");
			}

			// reset previously compiled list of selected properties
			this._oSelectedPropertyNames = null;
			this._oDimensionHierarchies[sHierarchyDimensionName] = {
				externalKey : bIncludeExternalKey,
				id: true,
				text : bIncludeText
			};
		}
function (sHierarchyDimensionName, bIncludeExternalKey,
				bIncludeText) {
			var oDimension;

			if (!sHierarchyDimensionName) {
				return;
			}
			// sHierarchyDimensionName is the name of a dimension property (and not e.g. of a
			// dimension's text property), findDimensionByName can be used instead of
			// findDimensionByPropertyName
			oDimension = this._oQueryResult.findDimensionByName(sHierarchyDimensionName);
			if (!oDimension) {
				throw new Error("'" + sHierarchyDimensionName + "' is not a dimension property");
			}
			if (!oDimension.getHierarchy()) {
				throw new Error("Dimension '" + sHierarchyDimensionName
					+ "' does not have a hierarchy");
			}

			// reset previously compiled list of selected properties
			this._oSelectedPropertyNames = null;
			this._oDimensionHierarchies[sHierarchyDimensionName] = {
				externalKey : bIncludeExternalKey,
				id: true,
				text : bIncludeText
			};
		}
function ( sHierarchyDimensionName , bIncludeExternalKey , bIncludeText ) { var oDimension ; if ( ! sHierarchyDimensionName ) { return ; } // sHierarchyDimensionName is the name of a dimension property (and not e.g. of a // dimension's text property), findDimensionByName can be used instead of // findDimensionByPropertyName oDimension = this . _oQueryResult . findDimensionByName ( sHierarchyDimensionName ) ; if ( ! oDimension ) { throw new Error ( "'" + sHierarchyDimensionName + "' is not a dimension property" ) ; } if ( ! oDimension . getHierarchy ( ) ) { throw new Error ( "Dimension '" + sHierarchyDimensionName + "' does not have a hierarchy" ) ; } // reset previously compiled list of selected properties this . _oSelectedPropertyNames = null ; this . _oDimensionHierarchies [ sHierarchyDimensionName ] = { externalKey : bIncludeExternalKey , id : true , text : bIncludeText } ; }
Adds a recursive hierarchy to the aggregation level.

@param {string} sHierarchyDimensionName
Name of dimension whose hierarchy shall be part of the aggregation level
@param {boolean} bIncludeExternalKey
Indicator whether or not to include the external node key (if available) in the query
result
@param {boolean} bIncludeText
Indicator whether or not to include the node text (if available) in the query result
@throws {Error}
If the given name is not a name of a dimension or the corresponding dimension does not
have a hierarchy.

@public
@function
@name sap.ui.model.analytics.odata4analytics.QueryResultRequest#addRecursiveHierarchy
Adds a recursive hierarchy to the aggregation level .
Sets the hierarchy of the given dimension