Packages

c

org.apache.spark.sql.execution.python

ArrowPythonUDTFRunner

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

Similar to ArrowPythonRunner, but for PythonUDTFs.

Linear Supertypes
BasicPythonArrowOutput, PythonArrowOutput[ColumnarBatch], 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. BasicPythonArrowInput
  5. PythonArrowInput
  6. BasePythonRunner
  7. Logging
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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])

Type Members

  1. class MonitorThread extends Thread
    Definition Classes
    BasePythonRunner
  2. class ReaderInputStream extends InputStream
    Definition Classes
    BasePythonRunner
  3. abstract class ReaderIterator extends Iterator[OUT]
    Definition Classes
    BasePythonRunner
  4. 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. val accumulator: PythonAccumulatorV2
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  5. val argOffsets: Array[Array[Int]]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val authSocketTimeout: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  8. val bufferSize: Int
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def close(): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  11. def compute(inputIterator: Iterator[Iterator[InternalRow]], partitionIndex: Int, context: TaskContext): Iterator[ColumnarBatch]
    Definition Classes
    BasePythonRunner
  12. def deserializeColumnarBatch(batch: ColumnarBatch, schema: StructType): ColumnarBatch
    Attributes
    protected
    Definition Classes
    BasicPythonArrowOutput → PythonArrowOutput
  13. val envVars: Map[String, String]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. val errorOnDuplicatedFieldNames: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  17. val evalType: Int
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. val funcs: Seq[ChainedPythonFunctions]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def handleMetadataAfterExec(stream: DataInputStream): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowOutput
  22. def handleMetadataBeforeExec(stream: DataOutputStream): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  28. val jobArtifactUUID: Option[String]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  29. val largeVarTypes: Boolean
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  30. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  38. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. 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
  44. def newWriter(env: SparkEnv, worker: PythonWorker, inputIterator: Iterator[Iterator[InternalRow]], partitionIndex: Int, context: TaskContext): Writer
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  45. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. val pythonExec: String
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  48. val pythonMetrics: Map[String, SQLMetric]
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowOutput → PythonArrowInput
  49. val pythonVer: String
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  50. val root: VectorSchemaRoot
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  51. val schema: StructType
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  52. val simplifiedTraceback: Boolean
    Definition Classes
    ArrowPythonUDTFRunner → BasePythonRunner
  53. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  54. val timeZoneId: String
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  55. val timelyFlushEnabled: Boolean
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  56. val timelyFlushTimeoutNanos: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  61. val workerConf: Map[String, String]
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  62. def writeNextInputToArrowStream(root: VectorSchemaRoot, writer: ArrowStreamWriter, dataOut: DataOutputStream, inputIterator: Iterator[Iterator[InternalRow]]): Boolean
    Attributes
    protected
    Definition Classes
    BasicPythonArrowInput → PythonArrowInput
  63. def writeUDF(dataOut: DataOutputStream): Unit
    Attributes
    protected
    Definition Classes
    ArrowPythonUDTFRunner → PythonArrowInput
  64. val writer: ArrowStreamWriter
    Attributes
    protected
    Definition Classes
    PythonArrowInput

Inherited from BasicPythonArrowOutput

Inherited from PythonArrowOutput[ColumnarBatch]

Inherited from BasicPythonArrowInput

Inherited from PythonArrowInput[Iterator[InternalRow]]

Inherited from BasePythonRunner[Iterator[InternalRow], ColumnarBatch]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped