Package

wvlet.core

rx

Permalink

package rx

Reactive Stream interfaces:

Operation DAG

op = MapOp(SeqOp(seq), f:A=>B)

Stream:

op.flow(f1: new Flow(B => action)) : Stream

MapOp: addFlow(f1: Flow[B]) SeqOp: addFlow(f2: new MapFlow[A](MapOp(f:A=>B)) s.setSource(source:Source[A](seq, s2))

Data flow: p --onNext(a)-> s2: A=>B --onNext(b)--> s1: B=> action ^ | ---------Source.run(n)----<-- Stream.run(n)

Stream Processing Chain

Stream.run(n) // Read n data

Source(Seq[A]) -> f2.onNext(A) -> f1.onNext(f(A):B)

Switching Record/Block-wise processing:

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. rx
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ConvertFlow[A, B] extends FlowBase[A, Record]

    Permalink
  2. class FilterFlow[A] extends FlowBase[A, A]

    Permalink
  3. trait Flow[A] extends AnyRef

    Permalink

    Flow is an interface to handle streaming objects

  4. abstract class FlowBase[In, Out] extends Flow[In]

    Permalink
  5. class MapFlow[A, B] extends FlowBase[A, B]

    Permalink
  6. class RecordPrintFlow extends FlowBase[Record, String]

    Permalink
  7. class SeqSource[A] extends Source[A]

    Permalink
  8. class SimpleStream extends Stream

    Permalink

  9. trait Source[A] extends AnyRef

    Permalink

    Source provides a given number of object of type A upon a request from Stream

  10. trait Stream extends AnyRef

    Permalink

    Stream controls the data flow from Source(s).

    Stream controls the data flow from Source(s). The data objects streams through Flow operations

  11. class StreamBuilder extends AnyRef

    Permalink

Value Members

  1. object Stream

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped