Packages

c

com.nvidia.spark.rapids

BuildSidePartitioner

class BuildSidePartitioner extends JoinPartitioner

Join partitioner for the build side of a large join where the build side of the join does not fit in a single GPU batch.

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

Instance Constructors

  1. new BuildSidePartitioner(joinType: JoinType, numPartitions: Int, buildSideIter: Iterator[ColumnarBatch], buildSideTypes: Array[DataType], boundBuildKeys: Seq[Expression], gpuBatchSizeBytes: Long, metrics: Map[String, GpuMetric])

    joinType

    type of join being performed

    numPartitions

    number of partitions being used in the join

    buildSideIter

    iterator of build side batches

    buildSideTypes

    schema of the build side batches

    boundBuildKeys

    bound join key expressions for the build side

    gpuBatchSizeBytes

    target GPU batch size

    metrics

    metrics to update

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. def addPartition(partIndex: Int, ct: ContiguousTable): Unit

    Adds a batch associated with a partition.

    Adds a batch associated with a partition.

    partIndex

    index of the partition

    ct

    contiguous table to add to the specified partition

    Attributes
    protected
    Definition Classes
    JoinPartitioner
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def close(): Unit
    Definition Classes
    BuildSidePartitionerJoinPartitioner → 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 getBuildBatch(partitionGroupIndex: Int): LazySpillableColumnarBatch

    Returns the batch of data for the specified join group index.

    Returns the batch of data for the specified join group index. All of the data across the partitions comprising the join group are concatenated together to produce the batch. The concatenated batches are lazily cached, so the cost of concatenation is only incurred by the first caller for a particular join group.

    partitionGroupIndex

    the index of the join group for which to produce the batch

    returns

    the batch of data for the join group

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getEmptyPartitions: BitSet

    Returns a BitSet where a set bit corresponds to an empty partition at that index.

  14. def getJoinGroups: Array[BitSet]

    Returns a BitSet array where each BitSet corresponds to a "join group," a group of partitions that can together be used as a single build batch for a sub-join.

    Returns a BitSet array where each BitSet corresponds to a "join group," a group of partitions that can together be used as a single build batch for a sub-join. A set bit in a join group's BitSet corresponds to a partition index that is part of the join group.

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val joinType: JoinType
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val numPartitions: Int
  22. val opTime: GpuMetric
    Attributes
    protected
    Definition Classes
    JoinPartitioner
  23. def partitionBatch(inputBatch: ColumnarBatch): Unit

    Hash partitions a batch in preparation for performing a sub-join.

    Hash partitions a batch in preparation for performing a sub-join. The input batch will be closed by this method.

    Attributes
    protected
    Definition Classes
    JoinPartitioner
  24. val partitions: Array[JoinPartition]
    Attributes
    protected
    Definition Classes
    JoinPartitioner
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from JoinPartitioner

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped