What is a programming paradigm?
A programming paradigm is a fundamental style of computer programming, serving as a way of building the structure and elements of computer programs.
In simple words, a paradigm is a programming style, following a set of rules or ideas.
What is the ‘code-to-data’ paradigm?
Code-to-data paradigm is basically a programming style in ABAP where you code to ‘push down’ data intensive computations and calculations to the HANA DB layer, instead of bringing all the data to the ABAP layer and then processing the data to do computations.
What does ‘Push down’ means?
We’ve learned that SAP HANA is not just a classical database, but it can
also perform calculations, search text, and data intensive operations.
Normally, all the intensive calculations are done in the Application Layer (AS ABAP).
You request all data from the database, and the database process your request and returns data.
With SAP HANA, you can perform intensive calculations on the data layer.
‘Push down’ means:
Coding in a way where you tell the data layer to perform the intensive calculations, or pushing down the code to the data layer.