~/talk

From SQL to Migratable Functional Code

TalkinSpanishat WeCodeFest 2018 · 2018-03-02..03-03· [functional-programming, databases]
slides:none on file

A practical case study showing how to convert existing SQL code into functional-style code and make that code run against different data sources. It covers the migration approach and implementation details for producing portable, functional queries rather than SQL-specific ones.

AI-written summary · about

  1. 0:00Problem introduction
  2. 1:03Java and JPA solution
  3. 3:29Scala migration with Slick
  4. 6:42Code reuse
  5. 11:33Function composition
  6. 19:48New service with composition
  7. 23:09Scala function to class
  8. 32:55JPA entity adaptation
  9. 39:31Library setup
  10. 41:56SQL dependency removal
  11. 45:25SQL literals vs literals
  12. 47:07Iterator advantages
  13. 49:03Spark application
  14. 50:34Batch processing
  15. 51:45Streaming integration
  16. 53:54Summary and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.