什么是SAP CDS Cube view

什么是SAP CDS Cube view_第1张图片

sap help: http://help.sap.com/saphelp_nw75/helpdata/en/c2/dd92fb83784c4a87e16e66abeeacbd/content.htm

The analytic manager needs a star schema (multidimensional) and a query to consume the data. Most annotations for defining the star schema in different CDS views are specified in ObjectModel annotations.

The Analytics annotations also specify the facts (center of the star schema), extraction capabilities for replicating data into further systems and analytical query properties. A semantic distinction can be made in the Analytics annotations between annotations that are relevant for the InfoProvider (CUBE) level and annotations that are only relevant for analytic queries.

Analytics.dataCategory

By specifying the data category, the developer can give directives and hints, for example, tell the analytic manager how to interpret individual entities.
Scope: #VIEW
Evaluation Runtime (Engine): Analytic query can be defined on top of CDS views using the Analytics.dataCategory annotation.
Values:

The #CUBE value (like #FACT) also represents fact data, but #CUBE does not have to be without redundancy. This means joins with master data are possible. Queries are usually built on top of #CUBE, where data is replicated from facts.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

你可能感兴趣的:(HANA)