Packages

c

org.apache.spark.sql.rapids.execution

GpuBatchSubPartitioner

class GpuBatchSubPartitioner extends AutoCloseable with Logging

Drain the batches in the input iterator and partition each batch into smaller parts. It assumes all the batches are on GPU. e.g. There are two batches as below (2,4,6), (6,8,8), and split them into 6 partitions. The result will be 0 -> (2) 1 -> (6), (6) (two separate not merged sub batches) 2 -> empty 3 -> (4) 4 -> empty 5 -> (8, 8) (A single batch)

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuBatchSubPartitioner
  2. Logging
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GpuBatchSubPartitioner(inputIter: Iterator[ColumnarBatch], inputBoundKeys: Seq[GpuExpression], numPartitions: Int, hashSeed: Int, name: String = "GpuBatchSubPartitioner")

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def batchesCount: Int

    Get the count of remaining batches (nonempty) in all the partitions currently.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def close(): Unit
    Definition Classes
    GpuBatchSubPartitioner → AutoCloseable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getBatchesByPartition(partId: Int): Seq[SpillableColumnarBatch]

    Get a partition data as a Seq of SpillableColumnarBatch.

    Get a partition data as a Seq of SpillableColumnarBatch. The caller should NOT close the returned batches. If the caller wants to own the returned batches, call releaseBatchByPartition instead.

    partId

    the partition id. An exception will be raised up if it is out of range.

    returns

    a Seq of SpillableColumnarBatch if the given "partId" is in range, or null if the partition has been released.

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  15. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  18. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  19. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def partitionsCount: Int

    The actual count of partitions

  34. def releaseBatchesByPartition(partId: Int): Seq[SpillableColumnarBatch]

    Release a partition data as a Seq of SpillableColumnarBatch, and the caller is responsible for closing the returned batch.

    Release a partition data as a Seq of SpillableColumnarBatch, and the caller is responsible for closing the returned batch.

    partId

    the partition id. An exception will be raised up if it is out of range.

    returns

    a Seq of SpillableColumnarBatch if the given "partId" is in range, or null if the partition has been released.

  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped