Packages

c

org.apache.spark.sql.execution.python

ArrowPythonUDTFRunner

class ArrowPythonUDTFRunner extends BasePythonRunner[Iterator[InternalRow], ColumnarBatch] with BatchedPythonArrowInput with BasicPythonArrowOutput

Similar to ArrowPythonRunner, but for PythonUDTFs.

Linear Supertypes
BasicPythonArrowOutput, PythonArrowOutput[ColumnarBatch], BatchedPythonArrowInput, BasicPythonArrowInput, PythonArrowInput[Iterator[InternalRow]], BasePythonRunner[Iterator[InternalRow], ColumnarBatch], Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrowPythonUDTFRunner
  2. BasicPythonArrowOutput
  3. PythonArrowOutput
  4. BatchedPythonArrowInput
  5. BasicPythonArrowInput
  6. PythonArrowInput
  7. BasePythonRunner
  8. Logging
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ArrowPythonUDTFRunner(udtf: PythonUDTF, evalType: Int, argMetas: Array[ArgumentMetadata], schema: StructType, timeZoneId: String, largeVarTypes: Boolean, workerConf: Map[String, String], pythonMetrics: Map[String, SQLMetric], jobArtifactUUID: Option[String], sessionUUID: Option[String])

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging
  2. class MonitorThread extends Thread
    Definition Classes
    BasePythonRunner
  3. class ReaderInputStream extends InputStream
    Definition Classes
    BasePythonRunner
  4. abstract class ReaderIterator extends Iterator[OUT]
    Definition Classes
    BasePythonRunner
  5. abstract class Writer extends AnyRef
    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. def MDC(key: LogKey, value: Any): MDC
    Attributes
    protected
    Definition Classes
    Logging
  5. val accumulator: PythonAccumulator
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  6. val allocator: BufferAllocator
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  7. val argOffsets: Array[Array[Int]]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  8. def arrowMaxBytesPerOutputBatch: Int
    Attributes
    protected
    Definition Classes
    PythonArrowOutput
  9. def arrowMaxRecordsPerOutputBatch: Int
    Attributes
    protected
    Definition Classes
    PythonArrowOutput
  10. val arrowWriter: ArrowWriter
    Attributes
    protected
    Definition Classes
    BasicPythonArrowInput
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. val authSocketTimeout: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  13. val batchSizeForPythonUDF: Int
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  14. val bufferSize: Int
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  16. def close(): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  17. def compute(inputIterator: Iterator[Iterator[InternalRow]], partitionIndex: Int, context: TaskContext): Iterator[ColumnarBatch]
    Definition Classes
    BasePythonRunner
  18. def deserializeColumnarBatch(batch: ColumnarBatch, schema: StructType): ColumnarBatch
    Attributes
    protected
    Definition Classes
    BasicPythonArrowOutput → PythonArrowOutput
  19. val envVars: Map[String, String]
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. val errorOnDuplicatedFieldNames: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  23. val evalType: Int
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  24. val faultHandlerEnabled: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  25. val funcs: Seq[ChainedPythonFunctions]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  27. def handleMetadataAfterExec(stream: DataInputStream): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowOutput
  28. def handleMetadataBeforeExec(stream: DataOutputStream): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  30. val hideTraceback: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  31. val idleTimeoutSeconds: Long
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  32. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  33. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. val jobArtifactUUID: Option[String]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  37. val killOnIdleTimeout: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  38. val killWorkerOnFlushFailure: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  39. val largeVarTypes: Boolean
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  40. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  41. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  55. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. val maxBytesPerBatch: Long
    Attributes
    protected
    Definition Classes
    BasicPythonArrowInput
  64. val maxRecordsPerBatch: Int
    Attributes
    protected
    Definition Classes
    BasicPythonArrowInput
  65. val metrics: Map[String, AccumulatorV2[Long, Long]]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  66. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  67. def newReaderIterator(stream: DataInputStream, writer: Writer, startTime: Long, env: SparkEnv, worker: PythonWorker, pid: Option[Int], releasedOrClosed: AtomicBoolean, context: TaskContext): Iterator[ColumnarBatch]
    Attributes
    protected
    Definition Classes
    PythonArrowOutput
  68. def newWriter(env: SparkEnv, worker: PythonWorker, inputIterator: Iterator[Iterator[InternalRow]], partitionIndex: Int, context: TaskContext): Writer
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  69. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  70. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  71. val pythonExec: String
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  72. val pythonMetrics: Map[String, SQLMetric]
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowOutput → PythonArrowInput
  73. val pythonVer: String
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  74. val root: VectorSchemaRoot
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  75. val schema: StructType
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  76. val simplifiedTraceback: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  77. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  78. val timeZoneId: String
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  79. val timelyFlushEnabled: Boolean
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  80. val timelyFlushTimeoutNanos: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  81. def toString(): String
    Definition Classes
    AnyRef → Any
  82. val tracebackDumpIntervalSeconds: Long
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  83. val unloader: VectorUnloader
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  84. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  86. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  88. val workerConf: Map[String, String]
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  89. def writeNextBatchToArrowStream(root: VectorSchemaRoot, writer: ArrowStreamWriter, dataOut: DataOutputStream, inputIterator: Iterator[Iterator[InternalRow]]): Boolean
    Attributes
    protected
    Definition Classes
    BatchedPythonArrowInput → BasicPythonArrowInput → PythonArrowInput
  90. def writeUDF(dataOut: DataOutputStream): Unit
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  91. val writer: ArrowStreamWriter
    Attributes
    protected
    Definition Classes
    PythonArrowInput

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from BasicPythonArrowOutput

Inherited from PythonArrowOutput[ColumnarBatch]

Inherited from BatchedPythonArrowInput

Inherited from BasicPythonArrowInput

Inherited from PythonArrowInput[Iterator[InternalRow]]

Inherited from BasePythonRunner[Iterator[InternalRow], ColumnarBatch]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped