spark.util

CompletionIterator

abstract class CompletionIterator[+A, +I <: Iterator[A]] extends Iterator[A]

Wrapper around an iterator which calls a completion method after it successfully iterates through all the elements

Linear Supertypes
Iterator[A], TraversableOnce[A], GenTraversableOnce[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. CompletionIterator
  2. Iterator
  3. TraversableOnce
  4. GenTraversableOnce
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompletionIterator(sub: I)

Abstract Value Members

  1. abstract def completion(): Unit

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++[B >: A](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  5. def /:[B](z: B)(op: (B, A) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. def /:\[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
  7. def :\[B](z: B)(op: (A, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  11. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  12. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  13. def aggregate[B](z: B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def buffered: BufferedIterator[A]

    Definition Classes
    Iterator
  16. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def collect[B](pf: PartialFunction[A, B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  18. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]

    Definition Classes
    TraversableOnce
  19. def contains(elem: Any): Boolean

    Definition Classes
    Iterator
  20. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: A](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToArray[B >: A](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def copyToBuffer[B >: A](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  24. def count(p: (A) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def drop(n: Int): Iterator[A]

    Definition Classes
    Iterator
  26. def dropWhile(p: (A) ⇒ Boolean): Iterator[A]

    Definition Classes
    Iterator
  27. def duplicate: (Iterator[A], Iterator[A])

    Definition Classes
    Iterator
  28. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  30. def exists(p: (A) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  31. def filter(p: (A) ⇒ Boolean): Iterator[A]

    Definition Classes
    Iterator
  32. def filterNot(p: (A) ⇒ Boolean): Iterator[A]

    Definition Classes
    Iterator
  33. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def find(p: (A) ⇒ Boolean): Option[A]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  35. def flatMap[B](f: (A) ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  36. def fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def foldRight[B](z: B)(op: (A, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def forall(p: (A) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  40. def foreach[U](f: (A) ⇒ U): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  41. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  42. def grouped[B >: A](size: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  43. def hasDefiniteSize: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  44. def hasNext: Boolean

    Definition Classes
    CompletionIterator → Iterator
  45. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  46. def indexOf[B >: A](elem: B): Int

    Definition Classes
    Iterator
  47. def indexWhere(p: (A) ⇒ Boolean): Int

    Definition Classes
    Iterator
  48. def isEmpty: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  49. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  50. def isTraversableAgain: Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  51. def length: Int

    Definition Classes
    Iterator
  52. def map[B](f: (A) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  53. def max[B >: A](implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  54. def maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  55. def min[B >: A](implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A

    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  61. def next(): A

    Definition Classes
    CompletionIterator → Iterator
  62. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. final def notify(): Unit

    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  65. def padTo[A1 >: A](len: Int, elem: A1): Iterator[A1]

    Definition Classes
    Iterator
  66. def partition(p: (A) ⇒ Boolean): (Iterator[A], Iterator[A])

    Definition Classes
    Iterator
  67. def patch[B >: A](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Definition Classes
    Iterator
  68. def product[B >: A](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. def reduceLeft[B >: A](op: (B, A) ⇒ B): B

    Definition Classes
    TraversableOnce
  71. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def reduceRight[B >: A](op: (A, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def reversed: List[A]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  76. def sameElements(that: Iterator[_]): Boolean

    Definition Classes
    Iterator
  77. def scanLeft[B](z: B)(op: (B, A) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  78. def scanRight[B](z: B)(op: (A, B) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  79. def seq: Iterator[A]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  80. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def slice(from: Int, until: Int): Iterator[A]

    Definition Classes
    Iterator
  82. def sliding[B >: A](size: Int, step: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  83. def span(p: (A) ⇒ Boolean): (Iterator[A], Iterator[A])

    Definition Classes
    Iterator
  84. def sum[B >: A](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  86. def take(n: Int): Iterator[A]

    Definition Classes
    Iterator
  87. def takeWhile(p: (A) ⇒ Boolean): Iterator[A]

    Definition Classes
    Iterator
  88. def toArray[B >: A](implicit arg0: ClassManifest[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def toBuffer[B >: A]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def toIndexedSeq[B >: A]: IndexedSeq[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def toIterable: Iterable[A]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def toIterator: Iterator[A]

    Definition Classes
    Iterator → GenTraversableOnce
  93. def toList: List[A]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def toMap[T, U](implicit ev: <:<[A, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def toSeq: Seq[A]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def toSet[B >: A]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def toStream: Stream[A]

    Definition Classes
    Iterator → GenTraversableOnce
  98. def toString(): String

    Definition Classes
    Iterator → AnyRef → Any
  99. def toTraversable: Traversable[A]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  100. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  101. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  102. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  103. def withFilter(p: (A) ⇒ Boolean): Iterator[A]

    Definition Classes
    Iterator
  104. def zip[B](that: Iterator[B]): Iterator[(A, B)]

    Definition Classes
    Iterator
  105. def zipAll[B, A1 >: A, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Definition Classes
    Iterator
  106. def zipWithIndex: Iterator[(A, Int)] { ... /* 2 definitions in type refinement */ }

    Definition Classes
    Iterator

Deprecated Value Members

  1. def append[B >: A](that: Iterator[B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.2) use ++

  2. def counted: CountedIterator[A]

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use zipWithIndex in Iterator

  3. def findIndexOf(p: (A) ⇒ Boolean): Int

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use indexWhere instead

  4. def readInto[B >: A](xs: Array[B]): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use copyToArray instead

  5. def readInto[B >: A](xs: Array[B], start: Int): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use copyToArray instead

  6. def readInto[B >: A](xs: Array[B], start: Int, sz: Int): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use copyToArray instead

Inherited from Iterator[A]

Inherited from TraversableOnce[A]

Inherited from GenTraversableOnce[A]

Inherited from AnyRef

Inherited from Any