50% OFF: In-Depth AI & Machine Learning Course
Power BI Fundamentals - Create visualizations and dashboards from scratch
Overview
Syllabus
00:00 Intro
01:22 Modeling intermediate operations with Gatherers
04:36 Gatherer interface, gather method and Gatherers factor class
05:43 Writing a mapping Gatherer
10:14 Writing a filtering Gatherer
11:50 Writing a first, simple, but buggy flat-mapper
13:12 Exploring the Downstream object
16:28 Checking the rejecting state of a Downstream
18:45 Warning about the non-thread safety of Downstream
20:07 Checking the rejecting state for each push in the flat-mapping Gatherer
22:38 Closing properly your stream in the flat-mapping Gatherer
24:00 Fixing the race condition in the flat-mapping Gatherer
25:16 Protecing the flat-mapping Gatherer against NullPointerException
26:05 Writing a skipping Gatherer with an internal mutable state
29:21 Writing a limiting Gatherer
29:40 Writing a distinct Gatherer with an internal HashSet
30:30 Declaring the distinct Gatherer a Greedy Gatherer
32:26 Writing a sorting Gatherer with an internal TreeSet and a Finisher
35:06 Checking the rejecting state of a Downstream in a Finisher
36:53 Using a sequential Gatherer in a parallel stream
40:59 Creating parallel Gatherers with an internal state and a Combiner
44:24 Chaining Gatherer with the andThen method
45:45 Using mapConcurrent from the Gatherers factory class
49:12 That's it for today, talk to you soon!
Taught by
Java