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.
SetMap has limited write APIs as compared to swaydb.Map and range & update operations are not supported.
- Self Type
- SetMap[K, V, BAG]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SetMap
- Serializable
- Serializable
- Product
- Equals
- SetMapT
- Source
- Stream
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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): Source[K, (K, V), BAG]
- Definition Classes
- Source
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala: scala.collection.mutable.Map[K, V]
-
implicit
val
bag: Bag[BAG]
- Definition Classes
- Stream
-
def
before(key: K): Source[K, (K, V), BAG]
- Definition Classes
- Source
- def clearKeyValues(): BAG[OK]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def close(): BAG[Unit]
-
def
collect[B](pf: PartialFunction[(K, V), B]): Stream[B, BAG]
- Definition Classes
- Stream
-
def
collectFirst[B](pf: PartialFunction[(K, V), B]): BAG[Option[B]]
- Definition Classes
- Stream
-
def
collectFirstOrNull[B](pf: PartialFunction[(K, V), B]): BAG[B]
- Definition Classes
- Stream
- def contains(key: K): BAG[Boolean]
-
def
count: BAG[Int]
- Definition Classes
- Stream
-
def
count(f: ((K, V)) ⇒ Boolean): BAG[Int]
- Definition Classes
- Stream
- def delete(): BAG[Unit]
-
def
drop(count: Int): Stream[(K, V), BAG]
- Definition Classes
- Stream
-
def
dropWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
- Definition Classes
- Stream
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- SetMap → Equals → AnyRef → Any
- def expiration(key: K): BAG[Option[Deadline]]
- def expire(key: K, at: Deadline): BAG[OK]
- def expire(key: K, after: FiniteDuration): BAG[OK]
-
def
filter(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
- Definition Classes
- Stream
-
def
filterNot(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
- Definition Classes
- Stream
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[B](f: ((K, V)) ⇒ Stream[B, BAG]): Stream[B, BAG]
- Definition Classes
- Stream
-
def
flatten[B](implicit bag: Bag[BAG], evd: <:<[(K, V), BAG[B]]): Stream[B, BAG]
- Definition Classes
- Stream
-
def
foldLeft[B](initial: B)(f: (B, (K, V)) ⇒ B): BAG[B]
- Definition Classes
- Stream
-
def
foldLeftFlatten[B](initial: B)(f: (B, (K, V)) ⇒ BAG[B]): BAG[B]
- Definition Classes
- Stream
-
def
foreach(f: ((K, V)) ⇒ Unit): BAG[Unit]
- Definition Classes
- Stream
-
def
from(key: K): Source[K, (K, V), BAG]
- Definition Classes
- Source
-
def
fromOrAfter(key: K): Source[K, (K, V), BAG]
- Definition Classes
- Source
-
def
fromOrBefore(key: K): Source[K, (K, V), BAG]
- Definition Classes
- Source
-
def
get(key: K): BAG[Option[V]]
Returns target value for the input key.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getKey(key: K): BAG[Option[K]]
Returns target full key for the input partial key.
- def getKeyValue(key: K): BAG[Option[(K, V)]]
-
def
hashCode(): Int
- Definition Classes
- SetMap → AnyRef → Any
- def head: BAG[Option[(K, V)]]
-
def
headOption: BAG[Option[(K, V)]]
- Definition Classes
- Stream
- def isEmpty: BAG[Boolean]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
- Definition Classes
- Stream
- def keys: Stream[K, BAG]
- def last: BAG[Option[(K, V)]]
-
def
lastOption: BAG[Option[(K, V)]]
- Definition Classes
- Stream
- def levelMeter(levelNumber: Int): Option[LevelMeter]
- def levelZeroMeter: LevelZeroMeter
-
def
map[B](f: ((K, V)) ⇒ B): Stream[B, BAG]
- Definition Classes
- Stream
-
def
mapFlatten[B](f: ((K, V)) ⇒ BAG[B]): Stream[B, BAG]
- Definition Classes
- Stream
-
def
materialize: BAG[ListBuffer[(K, V)]]
- Definition Classes
- Stream
-
def
materialize[C[_]](implicit builder: Builder[(K, V), C[(K, V)]]): BAG[C[(K, V)]]
- Definition Classes
- Stream
- def mightContain(key: K): BAG[Boolean]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: BAG[Boolean]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
partition(f: ((K, V)) ⇒ Boolean): BAG[(ListBuffer[(K, V)], ListBuffer[(K, V)])]
- Definition Classes
- Stream
- def path: Path
- def put(keyValues: Iterator[(K, V)]): BAG[OK]
- def put(keyValues: Iterable[(K, V)]): BAG[OK]
- def put(keyValues: Stream[(K, V), BAG]): BAG[OK]
- def put(keyValues: (K, V)*): BAG[OK]
- def put(key: K, value: V, expireAt: Deadline): BAG[OK]
- def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
- def put(key: K, value: V): BAG[OK]
-
def
put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
- Definition Classes
- SetMapT
- def remove(keys: Iterator[K]): BAG[OK]
- def remove(keys: Iterable[K]): BAG[OK]
- def remove(keys: Stream[K, BAG]): BAG[OK]
- def remove(keys: K*): BAG[OK]
- def remove(key: K): BAG[OK]
-
def
reverse: Source[K, (K, V), BAG]
- Definition Classes
- Source
- def sizeOfBloomFilterEntries: BAG[Int]
- def sizeOfSegments: Long
-
def
stream: Source[K, (K, V), BAG]
- Definition Classes
- Source
-
def
streamer: Streamer[(K, V), BAG]
- Definition Classes
- Stream
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
take(count: Int): Stream[(K, V), BAG]
- Definition Classes
- Stream
-
def
takeWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
- Definition Classes
- Stream
- def timeLeft(key: K): BAG[Option[FiniteDuration]]
-
def
toBag[X[_]](implicit bag: Bag[X]): SetMap[K, V, X]
Returns an Async API of type O where the Bag is known.
-
def
toString(): String
- Definition Classes
- SetMap → AnyRef → Any
- def values: Stream[V, BAG]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()