Creation of URIs for query parameterizations.
Create a request object for interaction with a query parameterization.
new sap.ui.model.analytics.odata4analytics.ParameterizationRequest(oParameterization)
Param | Type | Default Value | Description |
---|---|---|---|
oParameterization | sap.ui.model.analytics.odata4analytics.Parameterization | Description of a query parameterization |
Method | Description |
---|---|
getParameterization |
Get the description of the parameterization on which this request operates on |
getURIToParameterizationEntitySet |
Get the URI to locate the entity set for the query parameterization. |
getURIToParameterizationEntry |
Get the URI to locate the parameterization entity for the values assigned to all parameters beforehand. Notice that a value must be supplied for every parameter including those marked as optional. For optional parameters, assign the special value that the service provider uses as an "omitted" value. For example, for services based on BW Easy Queries, this would be an empty string. |
setParameterValue |
Assign a value to a parameter |
Get the URI to locate the entity set for the query parameterization.
Param | Type | DefaultValue | Description |
---|---|---|---|
sServiceRootURI | string |
(optional) Identifies the root of the OData service |
Get the URI to locate the parameterization entity for the values assigned to all parameters beforehand. Notice that a value must be supplied for every parameter including those marked as optional. For optional parameters, assign the special value that the service provider uses as an "omitted" value. For example, for services based on BW Easy Queries, this would be an empty string.
Param | Type | DefaultValue | Description |
---|---|---|---|
sServiceRootURI | string |
(optional) Identifies the root of the OData service |
Assign a value to a parameter
Param | Type | DefaultValue | Description |
---|---|---|---|
sParameterName | string |
Name of the parameter. In case of a range value, provide the name of the lower boundary parameter. |
|
sValue | string |
Assigned value. Pass null to remove a value assignment. |
|
sToValue | string |
Omit it or set it to null for single values. If set, it will be assigned to the upper boundary parameter |