Packages

c

org.apache.spark.sql.rapids.execution

GpuBatchSubPartitionIterator

class GpuBatchSubPartitionIterator extends Iterator[(Seq[Int], Seq[SpillableColumnarBatch])] with Logging

Iterate all the partitions in the input "batchSubPartitioner," and each call to "next()" will return one or multiple parts as a Seq of "SpillableColumnarBatch", or None for an empty partition, along with its partition id(s).

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuBatchSubPartitionIterator
  2. Logging
  3. Iterator
  4. TraversableOnce
  5. GenTraversableOnce
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GpuBatchSubPartitionIterator(batchSubPartitioner: GpuBatchSubPartitioner, targetBatchSize: Long)

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]
    Definition Classes
    Iterator

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++[B >: (Seq[Int], Seq[SpillableColumnarBatch])](that: ⇒ GenTraversableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  6. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  7. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  8. def aggregate[B](z: ⇒ B)(seqop: (B, (Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def buffered: BufferedIterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def collect[B](pf: PartialFunction[(Seq[Int], Seq[SpillableColumnarBatch]), 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.

  13. def collectFirst[B](pf: PartialFunction[(Seq[Int], Seq[SpillableColumnarBatch]), B]): Option[B]
    Definition Classes
    TraversableOnce
  14. def contains(elem: Any): Boolean
    Definition Classes
    Iterator
  15. def copyToArray[B >: (Seq[Int], Seq[SpillableColumnarBatch])](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  16. def copyToArray[B >: (Seq[Int], Seq[SpillableColumnarBatch])](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. def copyToArray[B >: (Seq[Int], Seq[SpillableColumnarBatch])](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. def copyToBuffer[B >: (Seq[Int], Seq[SpillableColumnarBatch])](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  19. def corresponds[B](that: GenTraversableOnce[B])(p: ((Seq[Int], Seq[SpillableColumnarBatch]), B) ⇒ Boolean): Boolean
    Definition Classes
    Iterator
  20. def count(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def drop(n: Int): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  22. def dropWhile(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  23. def duplicate: (Iterator[(Seq[Int], Seq[SpillableColumnarBatch])], Iterator[(Seq[Int], Seq[SpillableColumnarBatch])])
    Definition Classes
    Iterator
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  26. def exists(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  27. def filter(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  28. def filterNot(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  29. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def find(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Option[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  31. def flatMap[B](f: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ GenTraversableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
  32. def fold[A1 >: (Seq[Int], Seq[SpillableColumnarBatch])](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  33. def foldLeft[B](z: B)(op: (B, (Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  34. def foldRight[B](z: B)(op: ((Seq[Int], Seq[SpillableColumnarBatch]), B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def forall(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  36. def foreach[U](f: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ U): Unit
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def grouped[B >: (Seq[Int], Seq[SpillableColumnarBatch])](size: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  39. def hasDefiniteSize: Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  40. def hasNext: Boolean
    Definition Classes
    GpuBatchSubPartitionIterator → Iterator
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def indexOf[B >: (Seq[Int], Seq[SpillableColumnarBatch])](elem: B, from: Int): Int
    Definition Classes
    Iterator
  43. def indexOf[B >: (Seq[Int], Seq[SpillableColumnarBatch])](elem: B): Int
    Definition Classes
    Iterator
  44. def indexWhere(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean, from: Int): Int
    Definition Classes
    Iterator
  45. def indexWhere(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Int
    Definition Classes
    Iterator
  46. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  47. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def isEmpty: Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  49. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  50. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  51. def isTraversableAgain: Boolean
    Definition Classes
    Iterator → GenTraversableOnce
  52. def length: Int
    Definition Classes
    Iterator
  53. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  54. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  61. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def map[B](f: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B): Iterator[B]
    Definition Classes
    Iterator
  66. def max[B >: (Seq[Int], Seq[SpillableColumnarBatch])](implicit cmp: Ordering[B]): (Seq[Int], Seq[SpillableColumnarBatch])
    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def maxBy[B](f: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B)(implicit cmp: Ordering[B]): (Seq[Int], Seq[SpillableColumnarBatch])
    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def min[B >: (Seq[Int], Seq[SpillableColumnarBatch])](implicit cmp: Ordering[B]): (Seq[Int], Seq[SpillableColumnarBatch])
    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def minBy[B](f: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B)(implicit cmp: Ordering[B]): (Seq[Int], Seq[SpillableColumnarBatch])
    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  74. def next(): (Seq[Int], Seq[SpillableColumnarBatch])
    Definition Classes
    GpuBatchSubPartitionIterator → Iterator
  75. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  77. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  78. def padTo[A1 >: (Seq[Int], Seq[SpillableColumnarBatch])](len: Int, elem: A1): Iterator[A1]
    Definition Classes
    Iterator
  79. def partition(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): (Iterator[(Seq[Int], Seq[SpillableColumnarBatch])], Iterator[(Seq[Int], Seq[SpillableColumnarBatch])])
    Definition Classes
    Iterator
  80. def patch[B >: (Seq[Int], Seq[SpillableColumnarBatch])](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
    Definition Classes
    Iterator
  81. def product[B >: (Seq[Int], Seq[SpillableColumnarBatch])](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def reduce[A1 >: (Seq[Int], Seq[SpillableColumnarBatch])](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def reduceLeft[B >: (Seq[Int], Seq[SpillableColumnarBatch])](op: (B, (Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B): B
    Definition Classes
    TraversableOnce
  84. def reduceLeftOption[B >: (Seq[Int], Seq[SpillableColumnarBatch])](op: (B, (Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. def reduceOption[A1 >: (Seq[Int], Seq[SpillableColumnarBatch])](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def reduceRight[B >: (Seq[Int], Seq[SpillableColumnarBatch])](op: ((Seq[Int], Seq[SpillableColumnarBatch]), B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. def reduceRightOption[B >: (Seq[Int], Seq[SpillableColumnarBatch])](op: ((Seq[Int], Seq[SpillableColumnarBatch]), B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def reversed: List[(Seq[Int], Seq[SpillableColumnarBatch])]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  89. def sameElements(that: Iterator[_]): Boolean
    Definition Classes
    Iterator
  90. def scanLeft[B](z: B)(op: (B, (Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B): Iterator[B]
    Definition Classes
    Iterator
  91. def scanRight[B](z: B)(op: ((Seq[Int], Seq[SpillableColumnarBatch]), B) ⇒ B): Iterator[B]
    Definition Classes
    Iterator
  92. def seq: Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  93. def size: Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    GenTraversableOnce
  95. def slice(from: Int, until: Int): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  96. def sliceIterator(from: Int, until: Int): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Attributes
    protected
    Definition Classes
    Iterator
  97. def sliding[B >: (Seq[Int], Seq[SpillableColumnarBatch])](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  98. def span(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): (Iterator[(Seq[Int], Seq[SpillableColumnarBatch])], Iterator[(Seq[Int], Seq[SpillableColumnarBatch])])
    Definition Classes
    Iterator
  99. def sum[B >: (Seq[Int], Seq[SpillableColumnarBatch])](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  101. def take(n: Int): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  102. def takeWhile(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  103. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (Seq[Int], Seq[SpillableColumnarBatch]), Col[(Seq[Int], Seq[SpillableColumnarBatch])]]): Col[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def toArray[B >: (Seq[Int], Seq[SpillableColumnarBatch])](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def toBuffer[B >: (Seq[Int], Seq[SpillableColumnarBatch])]: Buffer[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def toIndexedSeq: IndexedSeq[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def toIterable: Iterable[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def toIterator: Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator → GenTraversableOnce
  109. def toList: List[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def toMap[T, U](implicit ev: <:<[(Seq[Int], Seq[SpillableColumnarBatch]), (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def toSeq: Seq[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def toSet[B >: (Seq[Int], Seq[SpillableColumnarBatch])]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def toStream: Stream[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator → GenTraversableOnce
  114. def toString(): String
    Definition Classes
    Iterator → AnyRef → Any
  115. def toTraversable: Traversable[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  116. def toVector: Vector[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  118. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  120. def withFilter(p: ((Seq[Int], Seq[SpillableColumnarBatch])) ⇒ Boolean): Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]
    Definition Classes
    Iterator
  121. def zip[B](that: Iterator[B]): Iterator[((Seq[Int], Seq[SpillableColumnarBatch]), B)]
    Definition Classes
    Iterator
  122. def zipAll[B, A1 >: (Seq[Int], Seq[SpillableColumnarBatch]), B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]
    Definition Classes
    Iterator
  123. def zipWithIndex: Iterator[((Seq[Int], Seq[SpillableColumnarBatch]), Int)]
    Definition Classes
    Iterator

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, (Seq[Int], Seq[SpillableColumnarBatch])) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldLeft instead of /:

  2. def :\[B](z: B)(op: ((Seq[Int], Seq[SpillableColumnarBatch]), B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldRight instead of :\

Inherited from Logging

Inherited from Iterator[(Seq[Int], Seq[SpillableColumnarBatch])]

Inherited from TraversableOnce[(Seq[Int], Seq[SpillableColumnarBatch])]

Inherited from GenTraversableOnce[(Seq[Int], Seq[SpillableColumnarBatch])]

Inherited from AnyRef

Inherited from Any

Ungrouped