Chapter 3: Data and Stream Processing

  1. Which operator is used to select data elements from a stream?
  • filter
  • filterWhen
  • take
  • takeLast
  • last
  • distinct
  • single
  • elementAT
  1. Which operator is used to reject data elements from a stream?
  • filter
  • filterWhen
  • skip
  • skipLast
  • SkipUntil
  • ignoreElements
  1. Which operators does Reactor offer for data conversion? How are these operators different from each other?
  • map: This is used for one-to-one transformation
  • flatMap: This is used for one-to-n transformation
  1. How can we perform data aggregation by using Reactor operators?
  • collectList
  • collectMap
  • collectMultiMap
  1. Which conditional operators are offered by Reactor? 
  • all: Represents the AND operator
  • any: Represents the OR operator

Get Hands-On Reactive Programming with Reactor now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.