class ArrowPythonRunner extends BaseArrowPythonRunner
Similar to PythonUDFRunner
, but exchange data with Python worker via Arrow stream.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArrowPythonRunner
- BaseArrowPythonRunner
- BasicPythonArrowOutput
- PythonArrowOutput
- BasicPythonArrowInput
- PythonArrowInput
- BasePythonRunner
- Logging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ArrowPythonRunner(funcs: Seq[(ChainedPythonFunctions, Long)], evalType: Int, argOffsets: Array[Array[Int]], _schema: StructType, _timeZoneId: String, largeVarTypes: Boolean, workerConf: Map[String, String], pythonMetrics: Map[String, SQLMetric], jobArtifactUUID: Option[String], profiler: Option[String])
Type Members
- implicit class LogStringContext extends AnyRef
- Definition Classes
- Logging
- class MonitorThread extends Thread
- Definition Classes
- BasePythonRunner
- class ReaderInputStream extends InputStream
- Definition Classes
- BasePythonRunner
- abstract class ReaderIterator extends Iterator[OUT]
- Definition Classes
- BasePythonRunner
- abstract class Writer extends AnyRef
- Definition Classes
- BasePythonRunner
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accumulator: PythonAccumulator
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- val argOffsets: Array[Array[Int]]
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authSocketTimeout: Long
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- val bufferSize: Int
- Definition Classes
- BaseArrowPythonRunner → BasePythonRunner
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def close(): Unit
- Attributes
- protected
- Definition Classes
- PythonArrowInput
- def compute(inputIterator: Iterator[Iterator[InternalRow]], partitionIndex: Int, context: TaskContext): Iterator[ColumnarBatch]
- Definition Classes
- BasePythonRunner
- def deserializeColumnarBatch(batch: ColumnarBatch, schema: StructType): ColumnarBatch
- Attributes
- protected
- Definition Classes
- BasicPythonArrowOutput → PythonArrowOutput
- val envVars: Map[String, String]
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val errorOnDuplicatedFieldNames: Boolean
- Definition Classes
- BaseArrowPythonRunner → PythonArrowInput
- val evalType: Int
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- val faultHandlerEnabled: Boolean
- Definition Classes
- BaseArrowPythonRunner → BasePythonRunner
- val funcs: Seq[ChainedPythonFunctions]
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def handleMetadataAfterExec(stream: DataInputStream): Unit
- Attributes
- protected
- Definition Classes
- PythonArrowOutput
- def handleMetadataBeforeExec(stream: DataOutputStream): Unit
- Attributes
- protected
- Definition Classes
- PythonArrowInput
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- val jobArtifactUUID: Option[String]
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- val largeVarTypes: Boolean
- Attributes
- protected
- Definition Classes
- BaseArrowPythonRunner → PythonArrowInput
- def log: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logName: String
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- def newWriter(env: SparkEnv, worker: PythonWorker, inputIterator: Iterator[Iterator[InternalRow]], partitionIndex: Int, context: TaskContext): Writer
- Attributes
- protected
- Definition Classes
- PythonArrowInput
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val pythonExec: String
- Definition Classes
- BaseArrowPythonRunner → BasePythonRunner
- val pythonMetrics: Map[String, SQLMetric]
- Definition Classes
- BaseArrowPythonRunner → PythonArrowOutput → PythonArrowInput
- val pythonVer: String
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- val root: VectorSchemaRoot
- Attributes
- protected
- Definition Classes
- PythonArrowInput
- lazy val schema: StructType
- Attributes
- protected
- Definition Classes
- BaseArrowPythonRunner → PythonArrowInput
- val simplifiedTraceback: Boolean
- Definition Classes
- BaseArrowPythonRunner → BasePythonRunner
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val timeZoneId: String
- Attributes
- protected
- Definition Classes
- BaseArrowPythonRunner → PythonArrowInput
- val timelyFlushEnabled: Boolean
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- val timelyFlushTimeoutNanos: Long
- Attributes
- protected
- Definition Classes
- BasePythonRunner
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withLogContext(context: HashMap[String, String])(body: => Unit): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val workerConf: Map[String, String]
- Attributes
- protected
- Definition Classes
- BaseArrowPythonRunner → PythonArrowInput
- def writeNextInputToArrowStream(root: VectorSchemaRoot, writer: ArrowStreamWriter, dataOut: DataOutputStream, inputIterator: Iterator[Iterator[InternalRow]]): Boolean
- Attributes
- protected
- Definition Classes
- BasicPythonArrowInput → PythonArrowInput
- def writeUDF(dataOut: DataOutputStream): Unit
- Attributes
- protected
- Definition Classes
- ArrowPythonRunner → PythonArrowInput
- val writer: ArrowStreamWriter
- Attributes
- protected
- Definition Classes
- PythonArrowInput
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)