com.fsist.stream

Sink

Related Docs: class Sink | package stream

object Sink extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Sink
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class AsyncPuller[Out] extends AnyRef

    A way to pull data from a running Sink.

    A way to pull data from a running Sink. Use with Sink.asyncPuller.

    Generates backpressure using a BoundedAsyncQueue until data is pulled.

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. implicit def apply[In, Res](output: StreamOutput[In, Res]): Sink[In, Res]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def asyncPuller[In](queueSize: Int = 1)(implicit builder: FutureStreamBuilder, ec: ExecutionContext): StreamOutput[In, Unit] with AsyncPuller[In]

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def discard[In]()(implicit builder: FutureStreamBuilder): StreamOutput[In, Unit]

    A sink that discards its output and calculates nothing.

  9. def drive[In, Res](consumer: StreamConsumer[In, Res])(implicit builder: FutureStreamBuilder): StreamOutput[In, Res]

    Pass the results of the stream to this consumer.

    Pass the results of the stream to this consumer. Intended to be used together with Source.driven.

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatten[In, Res](future: Future[Sink[In, Res]])(implicit builder: FutureStreamBuilder): StreamOutput[In, Res]

    Creates a Sink that will wait for the future to complete and then feed data into the Sink it yields.

  14. def foreach[In, Res](onNext: (In) ⇒ Unit, onComplete: ⇒ Res = Func.nopLiteral, onError: (Throwable) ⇒ Unit = Func.nopLiteral)(implicit builder: FutureStreamBuilder): StreamOutput[In, Res]

  15. def foreachAsync[In, Res](onNext: (In) ⇒ Future[Unit], onComplete: ⇒ Future[Res] = futureSuccess, onError: (Throwable) ⇒ Unit = Func.nopLiteral)(implicit builder: FutureStreamBuilder): StreamOutput[In, Res]

  16. def foreachFunc[In, Res](onNext: Func[In, Unit], onComplete: Func[Unit, Res] = Func.nop, onError: Func[Throwable, Unit] = Func.nop)(implicit builder: FutureStreamBuilder): StreamOutput[In, Res]

  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. def single[In]()(implicit builder: FutureStreamBuilder): StreamOutput[In, In]

    Extracts the single element of the input stream as the result.

    Extracts the single element of the input stream as the result.

    If the stream is empty, fails with NoSuchElementException. If the stream contains more than one element, fails with IllegalArgumentException.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped