Packages

c

org.apache.spark.sql.rapids.execution.python.shims

GpuCoGroupedArrowPythonRunner

class GpuCoGroupedArrowPythonRunner extends GpuBasePythonRunner[(ColumnarBatch, ColumnarBatch)] with GpuArrowPythonOutput with GpuPythonRunnerCommon

Python UDF Runner for cogrouped UDFs, designed for GpuFlatMapCoGroupsInPandasExec only.

It sends Arrow batches from two different DataFrames, groups them in Python, and receive it back in JVM as batches of single DataFrame.

Linear Supertypes
GpuPythonRunnerCommon, GpuArrowPythonOutput, GpuArrowOutput, GpuBasePythonRunner[(ColumnarBatch, ColumnarBatch)], BasePythonRunner[(ColumnarBatch, ColumnarBatch), ColumnarBatch], Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GpuCoGroupedArrowPythonRunner
  2. GpuPythonRunnerCommon
  3. GpuArrowPythonOutput
  4. GpuArrowOutput
  5. GpuBasePythonRunner
  6. BasePythonRunner
  7. Logging
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GpuCoGroupedArrowPythonRunner(funcs: Seq[(ChainedPythonFunctions, Long)], evalType: Int, argOffsets: Array[Array[Int]], leftSchema: StructType, rightSchema: StructType, timeZoneId: String, conf: Map[String, String], batchSize: Int, pythonOutSchema: StructType, jobArtifactUUID: Option[String] = None)

Type Members

  1. class GpuArrowReader extends AutoCloseable
    Definition Classes
    GpuArrowOutput
  2. class MonitorThread extends Thread
    Definition Classes
    BasePythonRunner
  3. abstract class ReaderIterator extends Iterator[OUT]
    Definition Classes
    BasePythonRunner
  4. abstract class WriterThread extends Thread
    Definition Classes
    BasePythonRunner

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. val accumulator: PythonAccumulatorV2
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val authSocketTimeout: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  7. val bufferSize: Int
    Definition Classes
    GpuPythonRunnerCommon
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def compute(inputIterator: Iterator[(ColumnarBatch, ColumnarBatch)], partitionIndex: Int, context: TaskContext): Iterator[ColumnarBatch]
    Definition Classes
    BasePythonRunner
  10. val envVars: Map[String, String]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  17. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  20. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def newGpuArrowReader: GpuArrowReader
    Definition Classes
    GpuArrowOutput
  34. def newReaderIterator(stream: DataInputStream, writerThread: WriterThread, startTime: Long, env: SparkEnv, worker: Socket, pid: Option[Int], releasedOrClosed: AtomicBoolean, context: TaskContext): Iterator[ColumnarBatch]
    Attributes
    protected
    Definition Classes
    GpuArrowPythonOutput
  35. def newWriterThread(env: SparkEnv, worker: Socket, inputIterator: Iterator[(ColumnarBatch, ColumnarBatch)], partitionIndex: Int, context: TaskContext): WriterThread
    Attributes
    protected
    Definition Classes
    GpuCoGroupedArrowPythonRunner → BasePythonRunner
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. val pythonExec: String
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  39. val pythonOutSchema: StructType
  40. val pythonVer: String
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  41. val simplifiedTraceback: Boolean
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def toBatch(table: Table): ColumnarBatch
    Attributes
    protected
    Definition Classes
    GpuPythonRunnerCommon
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from GpuPythonRunnerCommon

Inherited from GpuArrowPythonOutput

Inherited from GpuArrowOutput

Inherited from GpuBasePythonRunner[(ColumnarBatch, ColumnarBatch)]

Inherited from BasePythonRunner[(ColumnarBatch, ColumnarBatch), ColumnarBatch]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped