Trait/Object

swaydb

Stream

Related Docs: object Stream | package swaydb

Permalink

trait Stream[A] extends AnyRef

A Stream performs lazy iteration. It does not cache data and fetches data only if it's required by the stream.

Self Type
Stream[A]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Stream
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def collect[B](pf: PartialFunction[A, B]): Stream[B]

    Permalink
  7. def collectFirst[B, T[_]](pf: PartialFunction[A, B])(implicit bag: Bag[T]): T[Option[B]]

    Permalink
  8. def collectFirstOrNull[B, T[_]](pf: PartialFunction[A, B])(implicit bag: Bag[T]): T[B]

    Permalink
  9. def count[T[_]](f: (A) ⇒ Boolean)(implicit bag: Bag[T]): T[Int]

    Permalink
  10. def drop(count: Int): Stream[A]

    Permalink
  11. def dropWhile(f: (A) ⇒ Boolean): Stream[A]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def filter(f: (A) ⇒ Boolean): Stream[A]

    Permalink
  15. def filterNot(f: (A) ⇒ Boolean): Stream[A]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def flatMap[B](f: (A) ⇒ Stream[B]): Stream[B]

    Permalink
  18. def foldLeft[B, T[_]](initial: B)(f: (B, A) ⇒ B)(implicit bag: Bag[T]): T[B]

    Permalink

    Materializes are executes the stream.

    Materializes are executes the stream.

    TODO - tag.foldLeft should run point.

  19. def foreach[U](f: (A) ⇒ U): Stream[Unit]

    Permalink
  20. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def headOption[BAG[_]](implicit bag: Bag[BAG]): BAG[Option[A]]

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[A]]

    Permalink
  25. def lastOption[T[_]](implicit bag: Bag[T]): T[Option[A]]

    Permalink

    Reads all items from the Stream and returns the last.

    Reads all items from the Stream and returns the last.

    For a more efficient one use swaydb.Map.lastOption or swaydb.Set.lastOption instead.

  26. def map[B](f: (A) ⇒ B): Stream[B]

    Permalink
  27. def materialize[T[_]](implicit bag: Bag[T]): T[ListBuffer[A]]

    Permalink

    Materialises/closes and processes the stream to a Seq.

  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def size[T[_]](implicit bag: Bag[T]): T[Int]

    Permalink

    Folds over all elements in the Stream to calculate it's total size.

  32. def streamer: Streamer[A]

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

    Permalink
    Definition Classes
    AnyRef
  34. def take(count: Int): Stream[A]

    Permalink
  35. def takeWhile(f: (A) ⇒ Boolean): Stream[A]

    Permalink
  36. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped