1 / 13

OData Extensions for Data Aggregation

OData Extensions for Data Aggregation. Ralf Handl, SAP Hubert Heijkers, IBM Gerald Krause, SAP Mike Pizzo, Microsoft 2012 November 9. Where do we want to go. GET ~/Sales. GET ~/Sales? $ aggregate=Amount. GET ~/Sales? $ aggregate=Amount $ groupby Product.

amadis
Download Presentation

OData Extensions for Data Aggregation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OData Extensions for Data Aggregation Ralf Handl, SAP Hubert Heijkers, IBM Gerald Krause, SAP Mike Pizzo, Microsoft 2012 November 9

  2. Where do we want to go

  3. GET ~/Sales

  4. GET ~/Sales?$aggregate=Amount

  5. GET ~/Sales?$aggregate=Amount $groupbyProduct

  6. GET ~/Sales?$aggregate=$groupbyProduct

  7. GET ~/Sales?$aggregate=Amount $groupbyProduct &$orderby=Amount desc

  8. GET ~/Sales?$aggregate=Amount $groupby Product &$filter=Amount ge 8

  9. GET ~/Sales?$aggregate=$filter=Amount ge 8:Amount $groupbyProduct

  10. GET ~/Sales?$aggregate=sum(Amount) ,max(Amount) as MaxAmount $groupby Product

  11. GET ~/Sales?$aggregate=count() as SalesCount $groupbyProduct

  12. $rollup=(Country,Customer),(ProductGroup,Product)

  13. Open Topics • Links for „drillinginto“ aggregatedentities • Hierarchies: parent-child, ragged, … • Hierarchyfunctions: descendants(), siblings() • Expressionsin $aggregate: sum(Revenue) - sum(Costs) asProfit • References to annotations for units, currencies, texts

More Related