Representation of an OData model with analytical annotations defined by OData4SAP.
Create a representation of the analytical semantics of OData service metadata
new sap.ui.model.analytics.odata4analytics.Model(oModelReference, mParameter?)
Param | Type | Default Value | Description |
---|---|---|---|
oModelReference | object | An instance of sap.ui.model.analytics.odata4analytics.Model.ReferenceByModel or sap.ui.model.analytics.odata4analytics.Model.ReferenceWithWorkaround for locating the OData service. sap.ui.model.analytics.odata4analytics.Model.ReferenceByURI is deprecated. |
|
mParameter? | object | Additional parameters for controlling the model construction. Currently supported are: |
Method | Description |
---|---|
findQueryResultByName |
Find analytic query result by name |
getAllQueryResultNames |
Get the names of all query results (entity sets) offered by the model |
getAllQueryResults |
Get all query results offered by the model |
getODataModel |
Get underlying OData model provided by SAPUI5 |