swaydb
package swaydb
- Alphabetic
- Public
- All
Type Members
- class Actor[-T, S] extends ActorRef[T, S] with LazyLogging
-
sealed
trait
ActorQueue[T] extends AnyRef
- Attributes
- protected
- sealed trait ActorRef[-T, S] extends AnyRef
- final class ActorWire[I, S] extends AnyRef
-
trait
Aggregator[-A, +T] extends ForEach[A]
scala.collection.mutable.Builder requires two implementations for 2.13 and 2.12.
scala.collection.mutable.Builder requires two implementations for 2.13 and 2.12.
2.13 requires addOne and 2.12 requires +=. So this type simply wrapper around Builder which is used internally to avoid having 2 implementation of Builder.
- Attributes
- protected
-
sealed
trait
Bag[BAG[_]] extends AnyRef
Bags implement functions for managing side-effect.
- trait Bagged[A, BAG[_]] extends AnyRef
- sealed trait Compression extends AnyRef
-
sealed
trait
Error extends AnyRef
- Attributes
- protected
- case class Expiration(asScala: Deadline) extends Product with Serializable
-
trait
ForEach[-A] extends AnyRef
- Attributes
- protected
-
sealed
trait
IO[+L, +R] extends AnyRef
IO.Right and IO.Left are similar to types in scala.util.Try.
- case class KeyVal[+K, +V](key: K, value: V) extends Pair[K, V] with Product with Serializable
- sealed trait OK extends AnyRef
- class Pair[+L, +R] extends AnyRef
- sealed trait Prepare[+K, +V, +F] extends AnyRef
- class Scheduler extends AnyRef
-
abstract
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.
-
abstract
class
Stream[A, BAG[_]] extends AnyRef
A Stream performs lazy iteration.
A Stream performs lazy iteration. It does not cache data and fetches data only if it's required by the stream.
The difference between Stream and StreamFree is that Stream carries the BAG at the time of creation whereas StreamFree requires the BAG when materialised.
Stream can be converted to other bags by calling toBag
-
trait
Streamer[A, BAG[_]] extends AnyRef
An Iterator like implementation that can be used to build Streams from other streaming libraries.
An Iterator like implementation that can be used to build Streams from other streaming libraries.
This trait can be used to create async or sync streams.
- See also
Stream.streamer to create this object from a SwayDB stream which can then be converted into other stream from other Streaming libraries.
Value Members
- object Actor
-
object
ActorQueue
- Attributes
- protected
-
object
Aggregator
- Attributes
- protected
- object Bag extends LazyLogging
- object Compression
- object Error
-
object
Exception
Exception types for all known Errors that can occur.
Exception types for all known Errors that can occur. Each Error can be converted to Exception which which can then be converted back to Error.
SwayDB's code itself does not use these exception it uses Error type. These types are handy when converting an IO type to scala.util.Try by the client using toTry.
- object Expiration extends Serializable
-
object
ForEach
- Attributes
- protected
- object IO
- object KeyVal extends Serializable
- object OK
- object Pair
- object Prepare
- object Scheduler
- object Source
- object Stream