case class Map[K, V, T[_]](core: Core[T], from: Option[From[K]] = None, reverseIteration: Boolean = false)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V], tag: Tag[T]) extends Streamable[(K, V), T] with Product with Serializable
Map database API.
For documentation check - http://swaydb.io/tag/
- Self Type
- Map[K, V, T]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Map
- Serializable
- Serializable
- Product
- Equals
- Streamable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def after(key: K): Map[K, V, T]
- def applyFunction(from: K, to: K, functionID: K): T[Done]
- def applyFunction(key: K, functionID: K): T[Done]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala: scala.collection.mutable.Map[K, V]
- def before(key: K): Map[K, V, T]
- def clear(): T[Done]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def close(): T[Unit]
- def commit(prepare: Iterable[Prepare[K, V]]): T[Done]
- def commit(prepare: Stream[Prepare[K, V], T]): T[Done]
- def commit(prepare: Prepare[K, V]*): T[Done]
- def contains(key: K): T[Boolean]
- def delete(): T[Unit]
-
def
drop(count: Int): Stream[(K, V), T]
- Definition Classes
- Map → Streamable
-
def
dropWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]
- Definition Classes
- Map → Streamable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def expiration(key: K): T[Option[Deadline]]
- def expire(keys: Iterable[(K, Deadline)]): T[Done]
- def expire(keys: Stream[(K, Deadline), T]): T[Done]
- def expire(keys: (K, Deadline)*): T[Done]
- def expire(from: K, to: K, at: Deadline): T[Done]
- def expire(from: K, to: K, after: FiniteDuration): T[Done]
- def expire(key: K, at: Deadline): T[Done]
- def expire(key: K, after: FiniteDuration): T[Done]
-
def
filter(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]
- Definition Classes
- Map → Streamable
-
def
filterNot(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]
- Definition Classes
- Map → Streamable
-
def
flatMap[B](f: ((K, V)) ⇒ Stream[B, T]): Stream[B, T]
- Definition Classes
- Map → Streamable
-
def
foldLeft[B](initial: B)(f: (B, (K, V)) ⇒ B): T[B]
- Definition Classes
- Map → Streamable
-
def
foreach[U](f: ((K, V)) ⇒ U): Stream[Unit, T]
- Definition Classes
- Map → Streamable
- def from(key: K): Map[K, V, T]
- def fromOrAfter(key: K): Map[K, V, T]
- def fromOrBefore(key: K): Map[K, V, T]
-
def
get(key: K): T[Option[V]]
Returns target value for the input key.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getKey(key: K): T[Option[K]]
Returns target full key for the input partial key.
Returns target full key for the input partial key.
This function is mostly used for Set databases where partial ordering on the Key is provided.
- def getKeyValue(key: K): T[Option[(K, V)]]
-
def
headOption: T[Option[(K, V)]]
- Definition Classes
- Map → Streamable
- def isEmpty: T[Boolean]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keySize(key: K): Int
- def keys: Set[K, T]
-
def
lastOption: T[Option[(K, V)]]
- Definition Classes
- Map → Streamable
- def level0Meter: LevelZeroMeter
- def levelMeter(levelNumber: Int): Option[LevelMeter]
-
def
map[B](f: ((K, V)) ⇒ B): Stream[B, T]
- Definition Classes
- Map → Streamable
- def mightContain(key: K): T[Boolean]
- def mightContainFunction(functionId: K): T[Boolean]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: T[Boolean]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def put(keyValues: Iterable[(K, V)]): T[Done]
- def put(keyValues: Stream[(K, V), T]): T[Done]
- def put(keyValues: (K, V)*): T[Done]
- def put(key: K, value: V, expireAt: Deadline): T[Done]
- def put(key: K, value: V, expireAfter: FiniteDuration): T[Done]
- def put(key: K, value: V): T[Done]
- def registerFunction(functionID: K, function: (K, V, Option[Deadline]) ⇒ Apply.Map[V]): K
- def registerFunction(functionID: K, function: (K, Option[Deadline]) ⇒ Apply.Map[V]): K
- def registerFunction(functionID: K, function: (V) ⇒ Apply.Map[V]): K
- def remove(keys: Iterable[K]): T[Done]
- def remove(keys: Stream[K, T]): T[Done]
- def remove(keys: K*): T[Done]
- def remove(from: K, to: K): T[Done]
- def remove(key: K): T[Done]
- def reverse: Map[K, V, T]
-
def
size: T[Int]
- Definition Classes
- Map → Streamable
- def sizeOfBloomFilterEntries: T[Int]
- def sizeOfSegments: Long
- def stream: Stream[(K, V), T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
take(count: Int): Stream[(K, V), T]
- Definition Classes
- Map → Streamable
-
def
takeWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]
- Definition Classes
- Map → Streamable
- def timeLeft(key: K): T[Option[FiniteDuration]]
-
def
toString(): String
- Definition Classes
- Map → AnyRef → Any
-
def
toTag[X[_]](implicit tag: Tag[X]): Map[K, V, X]
Returns an Async API of type O where the Tag is known.
- def update(keyValues: Iterable[(K, V)]): T[Done]
- def update(keyValues: Stream[(K, V), T]): T[Done]
- def update(keyValues: (K, V)*): T[Done]
- def update(from: K, to: K, value: V): T[Done]
- def update(key: K, value: V): T[Done]
- def valueSize(value: V): Int
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.