Packages

class Maps[K, V] extends MapStream[K, V]

Linear Supertypes
MapStream[K, V], Serializable, Serializable, Product, Equals, Streamable[(K, V), ApiIO], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Maps
  2. MapStream
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. Streamable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Maps(map: swaydb.Map[Key[K], Option[V], ApiIO], mapKey: Seq[K])(implicit keySerializer: Serializer[K], mapKeySerializer: Serializer[Key[K]], keyOrder: KeyOrder[Slice[Byte]], valueSerializerOption: Serializer[Option[V]], valueSerializer: Serializer[V])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def after(key: K): MapStream[K, V]
    Definition Classes
    MapStream
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def before(key: K): MapStream[K, V]
    Definition Classes
    MapStream
  7. def clear(key: K): ApiIO[Done]

    Removes all key-values from the target Map.

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def contains(key: K): ApiIO[Boolean]
  10. def drop(count: Int): Stream[(K, V), ApiIO]
    Definition Classes
    MapStream → Streamable
  11. def dropWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), ApiIO]
    Definition Classes
    MapStream → Streamable
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def filter(f: ((K, V)) ⇒ Boolean): Stream[(K, V), ApiIO]
    Definition Classes
    MapStream → Streamable
  14. def filterNot(f: ((K, V)) ⇒ Boolean): Stream[(K, V), ApiIO]
    Definition Classes
    MapStream → Streamable
  15. def flatMap[B](f: ((K, V)) ⇒ Stream[B, ApiIO]): Stream[B, ApiIO]
    Definition Classes
    MapStream → Streamable
  16. def foldLeft[B](initial: B)(f: (B, (K, V)) ⇒ B): ApiIO[B]
    Definition Classes
    MapStream → Streamable
  17. def foreach[U](f: ((K, V)) ⇒ U): Stream[Unit, ApiIO]
    Definition Classes
    MapStream → Streamable
  18. def from(key: K): MapStream[K, V]
    Definition Classes
    MapStream
  19. def fromOrAfter(key: K): MapStream[K, V]
    Definition Classes
    MapStream
  20. def fromOrBefore(key: K): MapStream[K, V]
    Definition Classes
    MapStream
  21. def get(key: K): ApiIO[Option[Map[K, V]]]
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def getOrPut(key: K, value: V): ApiIO[Map[K, V]]
  24. def getValue(key: K): ApiIO[Option[V]]

    Returns None if this map does not exist or returns the value.

  25. def headOption: ApiIO[Option[(K, V)]]
    Definition Classes
    MapStream → Streamable
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isReverse: Boolean
    Definition Classes
    MapStream
  28. def keys: MapKeysStream[K]
  29. def lastOption: ApiIO[Option[(K, V)]]

    lastOption should always force formKey to be the endSubMapsKey because from is always set in swaydb.extensions.Maps and regardless from where the iteration starts the most efficient way to fetch the last is from the key endSubMapsKey.

    lastOption should always force formKey to be the endSubMapsKey because from is always set in swaydb.extensions.Maps and regardless from where the iteration starts the most efficient way to fetch the last is from the key endSubMapsKey.

    Definition Classes
    MapStream → Streamable
  30. def map[B](f: ((K, V)) ⇒ B): Stream[B, ApiIO]
    Definition Classes
    MapStream → Streamable
  31. val map: swaydb.Map[Key[K], Option[V], ApiIO]
    Definition Classes
    MapStream
  32. val mapKey: Seq[K]
    Definition Classes
    MapStream
  33. val mapsOnly: Boolean
    Definition Classes
    MapStream
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. def put(key: K, value: V): ApiIO[Map[K, V]]
  38. def remove(key: K): ApiIO[Done]
  39. def reverse: MapStream[K, V]

    Returns the start key when doing reverse iteration.

    Returns the start key when doing reverse iteration.

    If subMaps are included then it will return the starting point to be Key.SubMapsEnd which will iterate backward until Key.MapEntriesStart else returns the starting point to be Key.MapEntriesEnd to fetch entries only.

    Definition Classes
    MapStream
  40. def size: ApiIO[Int]
    Definition Classes
    MapsMapStream → Streamable
  41. def stream: Stream[(K, V), ApiIO]
    Definition Classes
    MapStream
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def take(count: Int): Stream[(K, V), ApiIO]
    Definition Classes
    MapStream → Streamable
  44. def takeWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), ApiIO]
    Definition Classes
    MapStream → Streamable
  45. def toString(): String
    Definition Classes
    MapStream → AnyRef → Any
  46. def updateValue(key: K, value: V): ApiIO[Map[K, V]]
  47. val userDefinedFrom: Boolean
    Definition Classes
    MapStream
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. 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.

Inherited from MapStream[K, V]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Streamable[(K, V), ApiIO]

Inherited from AnyRef

Inherited from Any

Ungrouped