swaydb
package swaydb
Package object contains convenience functions - syntax sugar.
- Alphabetic
- By Inheritance
- swaydb
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
- package eventually
- package memory
- package multimap
- package persistent
Type Members
- sealed trait Apply[+V] extends AnyRef
Output for PureFunction instances.
- case class From[K](key: K, orAfter: Boolean, orBefore: Boolean, before: Boolean, after: Boolean) extends Product with Serializable
- case class Map[K, V, F, BAG[_]] extends MapT[K, V, F, BAG] with Product with Serializable
Map database API.
Map database API.
For documentation check - http://swaydb.io/
- trait MapT[K, V, F, BAG[_]] extends SetMapT[K, V, F, BAG]
Base trait for a basic SwayDB Map type.
- case class MultiMap[M, K, V, F, BAG[_]] extends 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 (MultiMapKey) and KeyOrder (MultiMapKey.ordering) for it's API.
- sealed trait MultiMapKey[+T, +K] extends AnyRef
- Attributes
- protected
- sealed trait PureFunction[+K, +V, R <: Apply[V]] extends AnyRef
- case class Queue[A] extends LazyLogging with Product with Serializable
Provides a Set instance the ability to be used as a queue.
- abstract class ScalaMapBase[K, V, F] extends scala.collection.mutable.Map[K, V]
- Attributes
- protected
- abstract class ScalaSetBase[A, F] extends scala.collection.mutable.Set[A]
- Attributes
- protected
- abstract class ScalaSetBaseFromMap[A, F] extends scala.collection.mutable.Set[A]
- Attributes
- protected
- case class Set[A, F, BAG[_]] extends Product with Serializable
Set database API.
Set database API.
For documentation check - http://swaydb.io/
- case class SetMap[K, V, F, BAG[_]] extends SetMapT[K, V, F, BAG] with Product with Serializable
A SetMap is a simple wrapper around Set to provide Map like API on Set storage format.
- trait SetMapT[K, V, F, BAG[_]] extends AnyRef
Base trait for a basic SwayDB SetMap type.
- implicit class StorageDoubleImplicits extends AnyRef
- implicit class StorageIntImplicits extends AnyRef
Value Members
- implicit def dirToDirs(dir: Dir*): Seq[Dir]
- implicit def pathSeqToDirs(paths: Seq[Path]): Seq[Dir]
- implicit def pathStringToDir(path: String): Dir
- implicit def pathToDir(path: Path): Dir
- implicit def pathToDirs(dir: Path): Seq[Dir]
- implicit def pathsToDirs(paths: Path*): Seq[Dir]
- implicit def stringToPath(path: String): Path
- implicit def tupleSeqToDirs(dir: Seq[(Path, Int)]): Seq[Dir]
- implicit def tupleStringSeqToDirs(dir: Seq[(String, Int)]): Seq[Dir]
- implicit def tupleStringToDirs(dir: (String, Int)): Seq[Dir]
- implicit def tupleToDir(dir: (Path, Int)): Dir
- implicit def tupleToDirs(dir: (Path, Int)): Seq[Dir]
- implicit def tuplesToDirs(dir: (Path, Int)*): Seq[Dir]
- object Apply
- object KeyOrderConverter
- Attributes
- protected
- object Map extends Serializable
- object MultiMap extends Serializable
- object MultiMapKey
- Attributes
- protected
- object PureFunction
Function types for SwayDB.
Function types for SwayDB.
Your registered functions should implement one of the these functions that informs SwayDB of target data for the on the applied key should be read to execute the function.
- object Queue extends Serializable
- object Set extends Serializable
- object SetMap extends Serializable
- object SwayDB extends LazyLogging
Instance used for creating/initialising databases.