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

class TypedSparkeyReader[T] extends SparkeyMapBase[String, T]

A wrapper around SparkeyReader that includes both a decoder (to map from each byte array to a JVM type) and an optional in-memory cache.

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

Instance Constructors

  1. new TypedSparkeyReader(sparkey: SparkeyReader, decoder: (Array[Byte]) => T, cache: Cache[String, T] = Cache.noOp)

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

Value Members

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

Deprecated Value Members

  1. def +[V1 >: T](elem1: (String, V1), elem2: (String, V1), elems: (String, V1)*): Map[String, 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 >: T](that: IterableOnce[(String, V1)]): Map[String, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

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

  3. def ++:[B >: (String, T)](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: String, key2: String, keys: String*): Map[String, T]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

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

  5. final def /:[B](z: B)(op: (B, (String, T)) => 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: ((String, T), 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, (String, T)) => 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 >: (String, T)](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

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

  10. def filterKeys(p: (String) => Boolean): MapView[String, T]
    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: (T) => W): MapView[String, 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[String, T]
    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: TypedSparkeyReader.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

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

  15. final def toIterable: TypedSparkeyReader.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[(String, T)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

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

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

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

  18. final def toTraversable: Traversable[(String, T)]
    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[(String, T)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

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

Inherited from SparkeyMapBase[String, T]

Inherited from Map[String, T]

Inherited from MapOps[String, T, Map, Map[String, T]]

Inherited from Map[String, T]

Inherited from Equals

Inherited from MapFactoryDefaults[String, T, [x, y]Map[x, y], [x]Iterable[x]]

Inherited from MapOps[String, T, [_, _]Map[_, _], Map[String, T]]

Inherited from PartialFunction[String, T]

Inherited from (String) => T

Inherited from Iterable[(String, T)]

Inherited from Iterable[(String, T)]

Inherited from IterableFactoryDefaults[(String, T), [x]Iterable[x]]

Inherited from IterableOps[(String, T), [_]Iterable[_], Map[String, T]]

Inherited from IterableOnceOps[(String, T), [_]Iterable[_], Map[String, T]]

Inherited from IterableOnce[(String, T)]

Inherited from AnyRef

Inherited from Any

Ungrouped