com.fsist.stream

Pipe

Related Docs: object Pipe | package stream

final case class Pipe[-In, +Out](sink: SinkComponent[In], source: SourceComponent[Out]) extends SinkComponentBase[In] with SourceComponentBase[Out] with Product with Serializable

A part of a stream with a single unconnected input SinkComponent and a single unconnected output SourceComponent.

It can represent a single component (a Transform), or a series of components which are already fully connected to one another.

Linear Supertypes
Serializable, Serializable, Product, Equals, SourceComponentBase[Out], SourceComponent[Out], SourceOps[Out], SinkComponentBase[In], SinkComponent[In], StreamComponentBase, StreamComponent, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Pipe
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SourceComponentBase
  7. SourceComponent
  8. SourceOps
  9. SinkComponentBase
  10. SinkComponent
  11. StreamComponentBase
  12. StreamComponent
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pipe(sink: SinkComponent[In], source: SourceComponent[Out])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def append[Super >: Out](elems: Iterable[Super]): Transform[_ <: Out, Super]

    Definition Classes
    SourceOps
  5. def appendThese[Super >: Out](elems: Super*): Transform[_ <: Out, Super]

    Definition Classes
    SourceOps
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def build()(implicit ec: ExecutionContext): RunningStream

    Materializes the stream, including all components linked (transitively) to this one, and starts running it.

    Materializes the stream, including all components linked (transitively) to this one, and starts running it.

    The same result is produced no matter which stream component is used to call build.

    This method may only be called once per stream (see README on the subject of reusing components).

    Definition Classes
    StreamComponent
  8. implicit def builder: FutureStreamBuilder

    Definition Classes
    PipeStreamComponent
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def collect[M[_]]()(implicit cbf: CanBuildFrom[Nothing, Out, M[Out]]): Transform[_ <: Out, M[Out]]

    Definition Classes
    SourceOps
  11. def collectSuper[Super >: Out, M[_]]()(implicit cbf: CanBuildFrom[Nothing, Super, M[Super]]): Transform[Super, M[Super]]

    This overload of collect lets you specify an explicit supertype bound of Out (so you cannot upcast past it) and in exchange get a precise non-existential return type.

    This overload of collect lets you specify an explicit supertype bound of Out (so you cannot upcast past it) and in exchange get a precise non-existential return type.

    Definition Classes
    SourceOps
  12. def combine[Res](next: Sink[Out, Res]): Sink[In, Res]

    Irreversibly connects to this sink.

    Irreversibly connects to this sink.

    Returns a new Sink composing this pipe with the original sink.

  13. def concat[Elem, Super >: Out]()(implicit ev: <:<[Super, TraversableOnce[Elem]], cbf: CanBuildFrom[Nothing, Elem, Super]): Transform[_ <: Out, Super]

    Definition Classes
    SourceOps
  14. def concatWith[Super >: Out](sources: SourceComponent[Super]*): SourceComponent[Super]

    Concatenate these sources after the current one.

    Concatenate these sources after the current one.

    This is named concatWith and not simply Concat because SourceOps.concat refers to the unrelated Transform.concat.

    Definition Classes
    SourceOps
    See also

    com.fsist.stream.Source.concat

  15. def connect(next: SinkComponent[Out]): next.type

    Irreversibly join this source with that sink.

    Irreversibly join this source with that sink.

    Definition Classes
    SourceComponent
  16. def discard(): StreamOutput[_ <: Out, Unit]

    Definition Classes
    SourceOps
  17. def drive[Res](consumer: StreamConsumer[Out, Res]): StreamOutput[_ <: Out, Res]

    Definition Classes
    SourceOps
  18. def drop(count: Long): SourceComponent[Out]

    Definition Classes
    SourceOps
  19. def dropElements[Elem](count: Long)(implicit ev: <:<[Out, Traversable[Elem]], cbf: CanBuildFrom[Nothing, Elem, Out]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def filter(filter: (Out) ⇒ Boolean)(implicit ec: ExecutionContext): SourceComponent[Out]

    Definition Classes
    SourceOps
  22. def filterAsync(filter: (Out) ⇒ Future[Boolean])(implicit ec: ExecutionContext): SourceComponent[Out]

    Definition Classes
    SourceOps
  23. def filterFunc(filter: Func[Out, Boolean])(implicit ec: ExecutionContext): SourceComponent[Out]

    Definition Classes
    SourceOps
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def flatMap[Next](mapper: (Out) ⇒ Iterable[Next], onComplete: ⇒ Iterable[Next]): SourceComponent[Next]

    Definition Classes
    SourceOps
  26. def flatMap[Next](mapper: (Out) ⇒ Iterable[Next]): SourceComponent[Next]

    Definition Classes
    SourceOps
  27. def flatMapAsync[Next](mapper: (Out) ⇒ Future[Iterable[Next]], onComplete: ⇒ Future[Iterable[Next]]): SourceComponent[Next]

    Definition Classes
    SourceOps
  28. def flatMapAsync[Next](mapper: (Out) ⇒ Future[Iterable[Next]]): SourceComponent[Next]

    Definition Classes
    SourceOps
  29. def flatMapFunc[Next](mapper: Func[Out, Iterable[Next]], onComplete: Func[Unit, Iterable[Next]] = Func(emptyIterable)): SourceComponent[Next]

    Definition Classes
    SourceOps
  30. def flatten[Elem]()(implicit ev: <:<[Out, Iterable[Elem]]): SourceComponent[Elem]

    Definition Classes
    SourceOps
  31. def fold[Super >: Out, Res](init: Res)(onNext: (Res, Super) ⇒ Res): SourceComponent[Res]

    Definition Classes
    SourceOps
  32. def foldAsync[Super >: Out, Res](init: Res)(onNext: ((Res, Super)) ⇒ Future[Res]): SourceComponent[Res]

    Definition Classes
    SourceOps
  33. def foldFunc[Super >: Out, Res](init: Res)(onNext: Func[(Res, Super), Res]): SourceComponent[Res]

    Definition Classes
    SourceOps
  34. def foreach[Super >: Out, Res](func: (Super) ⇒ Unit, onComplete: ⇒ Res, onError: (Throwable) ⇒ Unit): StreamOutput[Super, Res]

    Definition Classes
    SourceOps
  35. def foreach[Super >: Out, Res](func: (Super) ⇒ Unit, onComplete: ⇒ Res): StreamOutput[Super, Res]

    Definition Classes
    SourceOps
  36. def foreach[Super >: Out](func: (Super) ⇒ Unit): StreamOutput[Super, Unit]

    Definition Classes
    SourceOps
  37. def foreachAsync[Super >: Out, Res](func: (Super) ⇒ Future[Unit], onComplete: ⇒ Future[Res], onError: (Throwable) ⇒ Unit): StreamOutput[Super, Res]

    Definition Classes
    SourceOps
  38. def foreachAsync[Super >: Out, Res](func: (Super) ⇒ Future[Unit], onComplete: ⇒ Future[Res]): StreamOutput[Super, Res]

    Definition Classes
    SourceOps
  39. def foreachAsync[Super >: Out](func: (Super) ⇒ Future[Unit]): StreamOutput[Super, Unit]

    Definition Classes
    SourceOps
  40. def foreachFunc[Super >: Out, Res](func: Func[Super, Unit], onComplete: Func[Unit, Res] = Func.nop, onError: Func[Throwable, Unit] = Func.nop): StreamOutput[Super, Res]

    Definition Classes
    SourceOps
  41. def foreachTr(func: (Out) ⇒ Unit): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  42. def foreachTrAsync(func: (Out) ⇒ Future[Unit]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  43. def foreachTrFunc(func: Func[Out, Unit]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  44. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  45. def head(): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  46. def headOption(): Transform[_ <: Out, Option[Out]]

    Definition Classes
    SourceOps
  47. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  48. def map[Next](mapper: (Out) ⇒ Next, onComplete: ⇒ Unit): SourceComponent[Next]

    Definition Classes
    SourceOps
  49. def map[Next](mapper: (Out) ⇒ Next): SourceComponent[Next]

    Definition Classes
    SourceOps
  50. def mapAsync[Next](mapper: (Out) ⇒ Future[Next], onComplete: ⇒ Future[Unit]): SourceComponent[Next]

    Definition Classes
    SourceOps
  51. def mapAsync[Next](mapper: (Out) ⇒ Future[Next]): SourceComponent[Next]

    Definition Classes
    SourceOps
  52. def mapFunc[Next](mapper: Func[Out, Next], onComplete: Func[Unit, Unit] = Func.nop): SourceComponent[Next]

    Definition Classes
    SourceOps
  53. def merge[Super >: Out](sources: SourceComponent[Super]*): Merger[Super]

    Definition Classes
    SourceOps
  54. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  55. final def notify(): Unit

    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  57. def onComplete(onComplete: ⇒ Unit): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  58. def onCompleteAsync(onComplete: ⇒ Future[Unit]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  59. def onCompleteFunc(onComplete: Func[Unit, Unit]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  60. def onError(onError: (Throwable) ⇒ Unit): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  61. def onErrorAsync(onError: (Throwable) ⇒ Future[Unit]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  62. def onErrorFunc(onError: Func[Throwable, Unit]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  63. def pipe[Next](next: Transform[Out, Next]): Pipe[In, Next]

    Irreversibly connects the next transform after this pipe.

    Irreversibly connects the next transform after this pipe.

    Returns a new Pipe composing them.

  64. def pipe[Next](next: Pipe[Out, Next]): Pipe[In, Next]

    Irreversibly connects the next pipe after this one.

    Irreversibly connects the next pipe after this one.

    Returns a new Pipe composing them.

  65. def prepend[Super >: Out](elems: Iterable[Super]): Transform[_ <: Out, Super]

    Definition Classes
    SourceOps
  66. def prependThese[Super >: Out](elems: Super*): Transform[_ <: Out, Super]

    Definition Classes
    SourceOps
  67. def roundRobin(outputCount: Int): Splitter[_ <: Out]

    Definition Classes
    SourceOps
  68. def scatter(outputCount: Int): Scatterer[_ <: Out]

    Definition Classes
    SourceOps
  69. def single(): StreamOutput[_, Out]

    Definition Classes
    SourceOps
  70. def singleResult()(implicit ec: ExecutionContext): Future[Out]

    Definition Classes
    SourceOps
  71. val sink: SinkComponent[In]

  72. val source: SourceComponent[Out]

  73. def sourceComponent: SourceComponent[Out]

    Attributes
    protected
    Definition Classes
    SourceComponentSourceOps
  74. def split(outputCount: Int, outputChooser: (Out) ⇒ BitSet): Splitter[_ <: Out]

    Definition Classes
    SourceOps
  75. def splitAsync(outputCount: Int, outputChooser: (Out) ⇒ Future[BitSet]): Splitter[_ <: Out]

    Definition Classes
    SourceOps
  76. def splitFunc(outputCount: Int, outputChooser: Func[Out, BitSet]): Splitter[_ <: Out]

    Definition Classes
    SourceOps
  77. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  78. def take(count: Long): SourceComponent[Out]

    Definition Classes
    SourceOps
  79. def takeElements[Elem](count: Long)(implicit ev: <:<[Out, Traversable[Elem]], cbf: CanBuildFrom[Nothing, Elem, Out]): Transform[_ <: Out, Out]

    Definition Classes
    SourceOps
  80. def tapHead(): Transform[_ <: Out, Out] with Aside[Option[Out]]

    Definition Classes
    SourceOps
  81. def tee(outputCount: Int): Splitter[_ <: Out]

    Definition Classes
    SourceOps
  82. def to[Res](sink: Sink[Out, Res]): SourceComponent.to.sink.type

    Irreversibly join this source with that sink.

    Irreversibly join this source with that sink.

    Definition Classes
    SourceComponent
  83. def to[Next](pipe: Pipe[Out, Next]): pipe.type

    Irreversibly join this source with that pipe's sink.

    Irreversibly join this source with that pipe's sink.

    Definition Classes
    SourceComponent
  84. def to(sink: SinkComponent[Out]): SourceComponent.to.sink.type

    Irreversibly join this source with that sink.

    Irreversibly join this source with that sink.

    Definition Classes
    SourceComponent
  85. def toIndexedSeq(): Transform[_ <: Out, IndexedSeq[Out]]

    Definition Classes
    SourceOps
  86. def toList(): Transform[_ <: Out, List[Out]]

    Definition Classes
    SourceOps
  87. def toSeq(): Transform[_ <: Out, Seq[Out]]

    Definition Classes
    SourceOps
  88. def toSet[Super >: Out](): Transform[_ <: Out, Set[Super]]

    Definition Classes
    SourceOps
  89. def toVector(): Transform[_ <: Out, Vector[Out]]

    Definition Classes
    SourceOps
  90. def transform[Next](tr: Transform[Out, Next]): tr.type

    Irreversibly join this source with that transform.

    Irreversibly join this source with that transform.

    Definition Classes
    SourceComponent
  91. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SourceComponentBase[Out]

Inherited from SourceComponent[Out]

Inherited from SourceOps[Out]

Inherited from SinkComponentBase[In]

Inherited from SinkComponent[In]

Inherited from StreamComponentBase

Inherited from StreamComponent

Inherited from AnyRef

Inherited from Any

Ungrouped