Packages

p

swaydb

package swaydb

Package object contains convenience functions - syntax sugar.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. swaydb
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Apply[+V] extends AnyRef

    Output for PureFunction instances.

  2. case class Map[K, V, F, BAG[_]] extends Source[K, (K, V), BAG] with MapT[K, V, F, BAG] with Product with Serializable

    Map database API.

    Map database API.

    For documentation check - http://swaydb.io/

  3. trait MapT[K, V, F, BAG[_]] extends Source[K, (K, V), BAG] with SetMapT[K, V, BAG]

    Base trait for a basic SwayDB Map type.

  4. case class MultiMap[M, K, V, F, BAG[_]] extends Schema[M, K, V, F, BAG] with MapT[K, V, F, BAG] with Product with Serializable

    MultiMap extends swaydb.Map's API to allow storing multiple Maps withing a single Map.

    MultiMap extends swaydb.Map's API to allow storing multiple Maps withing a single Map.

    MultiMap is just a simple extension that uses custom data types (MultiKey) and KeyOrder (MultiKey.ordering) for it's API.

  5. sealed trait PureFunction[+K, +V, R <: Apply[V]] extends AnyRef
  6. case class Queue[A] extends Stream[A, Less] with LazyLogging with Product with Serializable

    Provides a Set instance the ability to be used as a queue.

  7. abstract class ScalaMapBase[K, V] extends scala.collection.mutable.Map[K, V]
    Attributes
    protected
  8. abstract class ScalaSetBase[A, F] extends scala.collection.mutable.Set[A]
    Attributes
    protected
  9. abstract class ScalaSetBaseFromMap[A] extends scala.collection.mutable.Set[A]
    Attributes
    protected
  10. case class Set[A, F, BAG[_]] extends Source[A, A, BAG] with Product with Serializable

    Set database API.

    Set database API.

    For documentation check - http://swaydb.io/

  11. case class SetMap[K, V, BAG[_]] extends Source[K, (K, V), BAG] with SetMapT[K, V, BAG] with Product with Serializable

    A SetMap is a simple wrapper around Set to provide Map like API on Set storage format.

    A SetMap is a simple wrapper around Set to provide Map like API on Set storage format.

    SetMap has limited write APIs as compared to swaydb.Map and range & update operations are not supported.

  12. trait SetMapT[K, V, BAG[_]] extends Source[K, (K, V), BAG]

    Base trait for a basic SwayDB SetMap type.

  13. implicit class StorageDoubleImplicits extends AnyRef
  14. implicit class StorageIntImplicits extends AnyRef

Value Members

  1. implicit def dirToDirs(dir: Dir*): Seq[Dir]
  2. implicit def pathSeqToDirs(paths: Seq[Path]): Seq[Dir]
  3. implicit def pathStringToDir(path: String): Dir
  4. implicit def pathToDir(path: Path): Dir
  5. implicit def pathToDirs(dir: Path): Seq[Dir]
  6. implicit def pathsToDirs(paths: Path*): Seq[Dir]
  7. implicit def stringToPath(path: String): Path
  8. implicit def tupleSeqToDirs(dir: Seq[(Path, Int)]): Seq[Dir]
  9. implicit def tupleStringSeqToDirs(dir: Seq[(String, Int)]): Seq[Dir]
  10. implicit def tupleStringToDirs(dir: (String, Int)): Seq[Dir]
  11. implicit def tupleToDir(dir: (Path, Int)): Dir
  12. implicit def tupleToDirs(dir: (Path, Int)): Seq[Dir]
  13. implicit def tuplesToDirs(dir: (Path, Int)*): Seq[Dir]
  14. object Apply
  15. object KeyOrderConverter
    Attributes
    protected
  16. object MultiMap extends Serializable
  17. object PureFunction
  18. object PureFunctionJava

    Helper function types Java so that specifying the return type is required for every function.

    Helper function types Java so that specifying the return type is required for every function.

    Uses Expiration and Optional instead of Scala's native Deadline and Option types.

    The above scala function can still be used in Java because these extend the same parent PureFunction[K, V, R] type.

  19. object PureFunctionScala

    Function types for Scala.

    Function types for Scala.

    Your registered functions implements one of the these functions that informs SwayDB of target data for the on the applied key should be read to execute the function.

  20. object Queue extends Serializable
  21. object SetMap extends Serializable
  22. object SwayDB extends LazyLogging

    Instance used for creating/initialising databases.

Inherited from AnyRef

Inherited from Any

Ungrouped