Class

swaydb

Source

Related Doc: package swaydb

Permalink

class Source[K, T, BAG[_]] extends Stream[T, BAG]

Source carries the BAG information at the time of creation whereas SourceFree requires BAG at the time of execution.

Linear Supertypes
Stream[T, BAG], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Source
  2. Stream
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Source(free: SourceFree[K, T])(implicit bag: Bag[BAG])

    Permalink

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. def after(key: K): Source[K, T, BAG]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. implicit val bag: Bag[BAG]

    Permalink
    Definition Classes
    Stream
  7. def before(key: K): Source[K, T, BAG]

    Permalink
  8. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Stream
  10. def collectFirst[B](pf: PartialFunction[T, B]): BAG[Option[B]]

    Permalink
    Definition Classes
    Stream
  11. def collectFirstOrNull[B](pf: PartialFunction[T, B]): BAG[B]

    Permalink
    Definition Classes
    Stream
  12. def count(f: (T) ⇒ Boolean): BAG[Int]

    Permalink
    Definition Classes
    Stream
  13. def drop(count: Int): Stream[T, BAG]

    Permalink
    Definition Classes
    Stream
  14. def dropWhile(f: (T) ⇒ Boolean): Stream[T, BAG]

    Permalink
    Definition Classes
    Stream
  15. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def filter(f: (T) ⇒ Boolean): Stream[T, BAG]

    Permalink
    Definition Classes
    Stream
  18. def filterNot(f: (T) ⇒ Boolean): Stream[T, BAG]

    Permalink
    Definition Classes
    Stream
  19. def finalize(): Unit

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

    Permalink
    Definition Classes
    Stream
  21. def foldLeft[B](initial: B)(f: (B, T) ⇒ B): BAG[B]

    Permalink

    Materializes are executes the stream.

    Materializes are executes the stream.

    Definition Classes
    Stream
  22. def foreach(f: (T) ⇒ Unit): BAG[Unit]

    Permalink
    Definition Classes
    Stream
  23. def from(key: K): Source[K, T, BAG]

    Permalink
  24. def fromOrAfter(key: K): Source[K, T, BAG]

    Permalink
  25. def fromOrBefore(key: K): Source[K, T, BAG]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def headOption: BAG[Option[T]]

    Permalink
    Definition Classes
    Stream
  29. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Stream
  31. def lastOption: BAG[Option[T]]

    Permalink

    Reads all items from the StreamBag and returns the last.

    Reads all items from the StreamBag and returns the last.

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

    Definition Classes
    Stream
  32. def map[B](f: (T) ⇒ B): Stream[B, BAG]

    Permalink
    Definition Classes
    Stream
  33. def materialize: BAG[ListBuffer[T]]

    Permalink

    Executes this StreamBag within the provided Bag.

    Executes this StreamBag within the provided Bag.

    Definition Classes
    Stream
  34. def materialize[X[_]](implicit builder: Builder[T, X[T]]): BAG[X[T]]

    Permalink

    Materialises/closes and processes the stream to a Seq.

    Materialises/closes and processes the stream to a Seq.

    Definition Classes
    Stream
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  38. def partition(f: (T) ⇒ Boolean): BAG[(ListBuffer[T], ListBuffer[T])]

    Permalink
    Definition Classes
    Stream
  39. def reverse: Source[K, T, BAG]

    Permalink
  40. def size: BAG[Int]

    Permalink

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

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

    Definition Classes
    Stream
  41. def streamer: Streamer[T, BAG]

    Permalink

    A StreamerFree is a simple interface to a StreamFree instance which only one has function Streamer.nextOrNull that can be used to create other interop implementations with other Streaming libraries.

    A StreamerFree is a simple interface to a StreamFree instance which only one has function Streamer.nextOrNull that can be used to create other interop implementations with other Streaming libraries.

    Definition Classes
    Stream
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def take(count: Int): Stream[T, BAG]

    Permalink
    Definition Classes
    Stream
  44. def takeWhile(f: (T) ⇒ Boolean): Stream[T, BAG]

    Permalink
    Definition Classes
    Stream
  45. def toBag[BAG[_]](implicit bag: Bag[BAG]): Source[K, T, BAG]

    Permalink
    Definition Classes
    SourceStream
  46. def toString(): String

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

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

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

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

Inherited from Stream[T, BAG]

Inherited from AnyRef

Inherited from Any

Ungrouped