Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package spotify
    Definition Classes
    com
  • package scio
    Definition Classes
    spotify
  • package extra
    Definition Classes
    scio
  • package sparkey

    Main package for Sparkey side input APIs.

    Main package for Sparkey side input APIs. Import all.

    import com.spotify.scio.extra.sparkey._

    To save an SCollection[(String, String)] to a Sparkey fileset:

    val s = sc.parallelize(Seq("a" -> "one", "b" -> "two"))
    s.saveAsSparkey("gs://<bucket>/<path>/<sparkey-prefix>")
    
    // with multiple shards, sharded by MurmurHash3 of the key
    s.saveAsSparkey("gs://<bucket>/<path>/<sparkey-dir>", numShards=2)

    A previously-saved sparkey can be loaded as a side input:

    sc.sparkeySideInput("gs://<bucket>/<path>/<sparkey-prefix>")

    A sharded collection of Sparkey files can also be used as a side input by specifying a glob path:

    sc.sparkeySideInput("gs://<bucket>/<path>/<sparkey-dir>/part-*")

    When the sparkey is needed only temporarily, the save step can be elided:

    val side: SideInput[SparkeyReader] = sc
      .parallelize(Seq("a" -> "one", "b" -> "two"))
      .asSparkeySideInput

    SparkeyReader can be used like a lookup table in a side input operation:

    val main: SCollection[String] = sc.parallelize(Seq("a", "b", "c"))
    val side: SideInput[SparkeyReader] = sc
      .parallelize(Seq("a" -> "one", "b" -> "two"))
      .asSparkeySideInput
    
    main.withSideInputs(side)
      .map { (x, s) =>
        s(side).getOrElse(x, "unknown")
      }

    A SparkeyMap can store any types of keys and values, but can only be used as a SideInput:

    val main: SCollection[String] = sc.parallelize(Seq("a", "b", "c"))
    val side: SideInput[SparkeyMap[String, Int]] = sc
      .parallelize(Seq("a" -> 1, "b" -> 2, "c" -> 3))
      .asLargeMapSideInput()
    
    val objects: SCollection[MyObject] = main
      .withSideInputs(side)
      .map { (x, s) => s(side).get(x) }
      .toSCollection

    To read a static Sparkey collection and use it as a typed SideInput, use TypedSparkeyReader. TypedSparkeyReader can also accept a Caffeine cache to reduce IO and deserialization load:

    val main: SCollection[String] = sc.parallelize(Seq("a", "b", "c"))
    val cache: Cache[String, MyObject] = ...
    val side: SideInput[TypedSparkeyReader[MyObject]] = sc
      .typedSparkeySideInput("gs://<bucket>/<path>/<sparkey-prefix>", MyObject.decode, cache)
    
    val objects: SCollection[MyObject] = main
      .withSideInputs(side)
      .map { (x, s) => s(side).get(x) }
      .toSCollection
    Definition Classes
    extra
  • package instances
    Definition Classes
    sparkey
  • CachedStringSparkeyReader
  • MockByteArrayEntry
  • MockByteArraySparkeyReader
  • MockEntry
  • MockSparkeyReader
  • MockStringEntry
  • MockStringSparkeyReader
  • ShardedSparkeyReader
  • SparkeyMap
  • SparkeyMapBase
  • SparkeyReaderInstances
  • SparkeySet
  • SparkeySetBase
  • StringSparkeyReader
  • TypedSparkeyReader

trait SparkeyMapBase[K, V] extends Map[K, V]

Source
SparkeyMapBase.scala
Linear Supertypes
Map[K, V], MapOps[K, V, Map, Map[K, V]], Map[K, V], Equals, MapFactoryDefaults[K, V, [x, y]Map[x, y], [x]Iterable[x]], MapOps[K, V, [_, _]Map[_, _], Map[K, V]], PartialFunction[K, V], (K) => V, Iterable[(K, V)], Iterable[(K, V)], IterableFactoryDefaults[(K, V), [x]Iterable[x]], IterableOps[(K, V), [_]Iterable[_], Map[K, V]], IterableOnceOps[(K, V), [_]Iterable[_], Map[K, V]], IterableOnce[(K, V)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkeyMapBase
  2. Map
  3. MapOps
  4. Map
  5. Equals
  6. MapFactoryDefaults
  7. MapOps
  8. PartialFunction
  9. Function1
  10. Iterable
  11. Iterable
  12. IterableFactoryDefaults
  13. IterableOps
  14. IterableOnceOps
  15. IterableOnce
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait GenKeySet extends AnyRef
    Attributes
    protected
    Definition Classes
    MapOps
  2. class ImmutableKeySet extends AbstractSet[K] with scala.collection.immutable.MapOps.GenKeySet with DefaultSerializable
    Attributes
    protected[immutable]
    Definition Classes
    MapOps
  3. class KeySet extends AbstractSet[K] with GenKeySet with DefaultSerializable
    Attributes
    protected
    Definition Classes
    MapOps

Abstract Value Members

  1. abstract def get(key: K): Option[V]
    Definition Classes
    MapOps
  2. abstract def iterator: Iterator[(K, V)]
    Definition Classes
    IterableOnce

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +[V1 >: V](kv: (K, V1)): Map[K, V1]
    Definition Classes
    MapOps → MapOps
  4. def ++[V2 >: V](xs: IterableOnce[(K, V2)]): Map[K, V2]
    Definition Classes
    MapOps
  5. final def ++[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  6. final def -(key: K): Map[K, V]
    Definition Classes
    MapOps
    Annotations
    @inline()
  7. final def --(keys: IterableOnce[K]): Map[K, V]
    Definition Classes
    MapOps → MapOps
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def addString(sb: StringBuilder, start: String, sep: String, end: String): sb.type
    Definition Classes
    MapOps → IterableOnceOps
  10. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  11. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  12. def andThen[C](k: PartialFunction[V, C]): PartialFunction[K, C]
    Definition Classes
    PartialFunction
  13. def andThen[C](k: (V) => C): PartialFunction[K, C]
    Definition Classes
    PartialFunction → Function1
  14. def apply(key: K): V
    Definition Classes
    MapOps → Function1
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  15. def applyOrElse[K1 <: K, V1 >: V](x: K1, default: (K1) => V1): V1
    Definition Classes
    MapOps → PartialFunction
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def canEqual(that: Any): Boolean
    Definition Classes
    Map → Equals
  18. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  20. final def coll: SparkeyMapBase.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  21. def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): Map[K2, V2]
    Definition Classes
    MapOps
  22. def collect[B](pf: PartialFunction[(K, V), B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  23. def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]
    Definition Classes
    IterableOnceOps
  24. def compose[R](k: PartialFunction[R, K]): PartialFunction[R, V]
    Definition Classes
    PartialFunction
  25. def compose[A](g: (A) => K): (A) => V
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  26. def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): Map[K, V2]
    Definition Classes
    MapOps
  27. def concat[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  28. def contains(key: K): Boolean
    Definition Classes
    MapOps
  29. def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  30. def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  31. def copyToArray[B >: (K, V)](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  32. def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  33. def count(p: ((K, V)) => Boolean): Int
    Definition Classes
    IterableOnceOps
  34. def default(key: K): V
    Definition Classes
    MapOps
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  35. def drop(n: Int): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  36. def dropRight(n: Int): Map[K, V]
    Definition Classes
    IterableOps
  37. def dropWhile(p: ((K, V)) => Boolean): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  38. def elementWise: ElementWiseExtractor[K, V]
    Definition Classes
    PartialFunction
  39. def empty: Map[K, V]
    Definition Classes
    MapFactoryDefaults → IterableOps
  40. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def equals(o: Any): Boolean
    Definition Classes
    Map → Equals → AnyRef → Any
  42. def exists(p: ((K, V)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  43. def filter(pred: ((K, V)) => Boolean): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  44. def filterNot(pred: ((K, V)) => Boolean): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  45. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  46. def find(p: ((K, V)) => Boolean): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  47. def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): Map[K2, V2]
    Definition Classes
    MapOps
  48. def flatMap[B](f: ((K, V)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  49. def flatten[B](implicit asIterable: ((K, V)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  50. def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  51. def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
  52. def foldRight[B](z: B)(op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
  53. def forall(p: ((K, V)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  54. def foreach[U](f: ((K, V)) => U): Unit
    Definition Classes
    IterableOnceOps
  55. def foreachEntry[U](f: (K, V) => U): Unit
    Definition Classes
    MapOps
  56. def fromSpecific(coll: IterableOnce[(K, V)]): Map[K, V]
    Attributes
    protected
    Definition Classes
    MapFactoryDefaults → IterableOps
  57. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  58. def getOrElse[V1 >: V](key: K, default: => V1): V1
    Definition Classes
    MapOps
  59. def groupBy[K](f: ((K, V)) => K): Map[K, Map[K, V]]
    Definition Classes
    IterableOps
  60. def groupMap[K, B](key: ((K, V)) => K)(f: ((K, V)) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  61. def groupMapReduce[K, B](key: ((K, V)) => K)(f: ((K, V)) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  62. def grouped(size: Int): Iterator[Map[K, V]]
    Definition Classes
    IterableOps
  63. def hashCode(): Int
    Definition Classes
    Map → AnyRef → Any
  64. def head: (K, V)
    Definition Classes
    IterableOps
  65. def headOption: Option[(K, V)]
    Definition Classes
    IterableOps
  66. def init: Map[K, V]
    Definition Classes
    IterableOps
  67. def inits: Iterator[Map[K, V]]
    Definition Classes
    IterableOps
  68. def isDefinedAt(key: K): Boolean
    Definition Classes
    MapOps → PartialFunction
  69. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  70. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  71. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  72. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → Iterable → IterableOps
  73. def keySet: Set[K]
    Definition Classes
    MapOps → MapOps
  74. def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[K, S]): S
    Definition Classes
    MapOps
  75. def keys: Iterable[K]
    Definition Classes
    MapOps
    Annotations
    @deprecatedOverriding()
  76. def keysIterator: Iterator[K]
    Definition Classes
    MapOps
  77. def knownSize: Int
    Definition Classes
    IterableOnce
  78. def last: (K, V)
    Definition Classes
    IterableOps
  79. def lastOption: Option[(K, V)]
    Definition Classes
    IterableOps
  80. def lazyZip[B](that: Iterable[B]): LazyZip2[(K, V), B, SparkeyMapBase.this.type]
    Definition Classes
    Iterable
  81. def lift: (K) => Option[V]
    Definition Classes
    PartialFunction
  82. def map[K2, V2](f: ((K, V)) => (K2, V2)): Map[K2, V2]
    Definition Classes
    MapOps
  83. def map[B](f: ((K, V)) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  84. def mapFactory: MapFactory[Map]
    Definition Classes
    Map → Map → MapOps
  85. final def mapFromIterable[K2, V2](it: Iterable[(K2, V2)]): Map[K2, V2]
    Attributes
    protected
    Definition Classes
    MapOps
    Annotations
    @inline()
  86. def max[B >: (K, V)](implicit ord: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  87. def maxBy[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  88. def maxByOption[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  89. def maxOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  90. def min[B >: (K, V)](implicit ord: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  91. def minBy[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  92. def minByOption[B](f: ((K, V)) => B)(implicit ord: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  93. def minOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  94. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  95. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  96. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  97. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  98. def newSpecificBuilder: Builder[(K, V), Map[K, V]]
    Attributes
    protected
    Definition Classes
    MapFactoryDefaults → IterableOps
  99. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  100. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  101. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  102. def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  103. def partition(p: ((K, V)) => Boolean): (Map[K, V], Map[K, V])
    Definition Classes
    IterableOps
  104. def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  105. def product[B >: (K, V)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  106. def reduce[B >: (K, V)](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  107. def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
  108. def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
    Definition Classes
    IterableOnceOps
  109. def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  110. def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
  111. def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  112. def removed(key: K): Map[K, V]
    Definition Classes
    SparkeyMapBase → MapOps
  113. def removedAll(keys: IterableOnce[K]): Map[K, V]
    Definition Classes
    MapOps
  114. def reversed: Iterable[(K, V)]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  115. def runWith[U](action: (V) => U): (K) => Boolean
    Definition Classes
    PartialFunction
  116. def scan[B >: (K, V)](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  117. def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  118. def scanRight[B](z: B)(op: ((K, V), B) => B): Iterable[B]
    Definition Classes
    IterableOps
  119. def size: Int
    Definition Classes
    IterableOnceOps
  120. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  121. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  122. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  123. def slice(from: Int, until: Int): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  124. def sliding(size: Int, step: Int): Iterator[Map[K, V]]
    Definition Classes
    IterableOps
  125. def sliding(size: Int): Iterator[Map[K, V]]
    Definition Classes
    IterableOps
  126. def span(p: ((K, V)) => Boolean): (Map[K, V], Map[K, V])
    Definition Classes
    IterableOps → IterableOnceOps
  127. def splitAt(n: Int): (Map[K, V], Map[K, V])
    Definition Classes
    IterableOps → IterableOnceOps
  128. def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S
    Definition Classes
    IterableOnce
  129. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Map → Iterable
  130. def sum[B >: (K, V)](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  131. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  132. def tail: Map[K, V]
    Definition Classes
    IterableOps
  133. def tails: Iterator[Map[K, V]]
    Definition Classes
    IterableOps
  134. def take(n: Int): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  135. def takeRight(n: Int): Map[K, V]
    Definition Classes
    IterableOps
  136. def takeWhile(p: ((K, V)) => Boolean): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  137. def tapEach[U](f: ((K, V)) => U): Map[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  138. def to[C1](factory: Factory[(K, V), C1]): C1
    Definition Classes
    IterableOnceOps
  139. def toArray[B >: (K, V)](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  140. final def toBuffer[B >: (K, V)]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  141. def toIndexedSeq: IndexedSeq[(K, V)]
    Definition Classes
    IterableOnceOps
  142. def toList: List[(K, V)]
    Definition Classes
    IterableOnceOps
  143. final def toMap[K2, V2](implicit ev: <:<[(K, V), (K2, V2)]): Map[K2, V2]
    Definition Classes
    Map → IterableOnceOps
  144. def toSeq: Seq[(K, V)]
    Definition Classes
    IterableOnceOps
  145. def toSet[B >: (K, V)]: Set[B]
    Definition Classes
    IterableOnceOps
  146. def toString(): String
    Definition Classes
    Map → Function1 → Iterable → AnyRef → Any
  147. def toVector: Vector[(K, V)]
    Definition Classes
    IterableOnceOps
  148. def transform[W](f: (K, V) => W): Map[K, W]
    Definition Classes
    MapOps
  149. def transpose[B](implicit asIterable: ((K, V)) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  150. def unapply(a: K): Option[V]
    Definition Classes
    PartialFunction
  151. def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  152. def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  153. def updated[V1 >: V](k: K, v: V1): Map[K, V1]
    Definition Classes
    SparkeyMapBase → MapOps
  154. def updatedWith[V1 >: V](key: K)(remappingFunction: (Option[V]) => Option[V1]): Map[K, V1]
    Definition Classes
    MapOps
  155. def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
    Definition Classes
    MapOps
  156. def values: Iterable[V]
    Definition Classes
    MapOps
  157. def valuesIterator: Iterator[V]
    Definition Classes
    MapOps
  158. def view: MapView[K, V]
    Definition Classes
    MapOps → IterableOps
  159. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  160. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  161. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  162. def withDefault[V1 >: V](d: (K) => V1): Map[K, V1]
    Definition Classes
    Map
  163. def withDefaultValue[V1 >: V](d: V1): Map[K, V1]
    Definition Classes
    Map
  164. def withFilter(p: ((K, V)) => Boolean): WithFilter[K, V, [x]Iterable[x], [x, y]Map[x, y]]
    Definition Classes
    MapFactoryDefaults → IterableOps
  165. def zip[B](that: IterableOnce[B]): Iterable[((K, V), B)]
    Definition Classes
    IterableOps
  166. def zipAll[A1 >: (K, V), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  167. def zipWithIndex: Iterable[((K, V), Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def +[V1 >: V](elem1: (K, V1), elem2: (K, V1), elems: (K, V1)*): Map[K, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs

  2. def ++:[V1 >: V](that: IterableOnce[(K, V1)]): Map[K, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  3. def ++:[B >: (K, V)](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  4. def -(key1: K, key2: K, keys: K*): Map[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -- with an explicit collection

  5. final def /:[B](z: B)(op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  6. final def :\[B](z: B)(op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  7. def aggregate[B](z: => B)(seqop: (B, (K, V)) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) For sequential collections, prefer foldLeft(z)(seqop). For parallel collections, use ParIterableLike#aggregate.

  8. def companion: IterableFactory[[_]Iterable[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  9. final def copyToBuffer[B >: (K, V)](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  10. def filterKeys(p: (K) => Boolean): MapView[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).

  11. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  12. def mapValues[W](f: (V) => W): MapView[K, W]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).

  13. final def repr: Map[K, V]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  14. def seq: SparkeyMapBase.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  15. final def toIterable: SparkeyMapBase.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  16. final def toIterator: Iterator[(K, V)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  17. final def toStream: Stream[(K, V)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  18. final def toTraversable: Traversable[(K, V)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  19. def view(from: Int, until: Int): View[(K, V)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

Inherited from Map[K, V]

Inherited from MapOps[K, V, Map, Map[K, V]]

Inherited from Map[K, V]

Inherited from Equals

Inherited from MapFactoryDefaults[K, V, [x, y]Map[x, y], [x]Iterable[x]]

Inherited from MapOps[K, V, [_, _]Map[_, _], Map[K, V]]

Inherited from PartialFunction[K, V]

Inherited from (K) => V

Inherited from Iterable[(K, V)]

Inherited from Iterable[(K, V)]

Inherited from IterableFactoryDefaults[(K, V), [x]Iterable[x]]

Inherited from IterableOps[(K, V), [_]Iterable[_], Map[K, V]]

Inherited from IterableOnceOps[(K, V), [_]Iterable[_], Map[K, V]]

Inherited from IterableOnce[(K, V)]

Inherited from AnyRef

Inherited from Any

Ungrouped