Packages

c

org.apache.spark.sql.execution.python.streaming

TransformWithStateInPandasPythonBaseRunner

abstract class TransformWithStateInPandasPythonBaseRunner[I] extends BasePythonRunner[I, ColumnarBatch] with PythonArrowInput[I] with BasicPythonArrowOutput with TransformWithStateInPandasPythonRunnerUtils with Logging

Base Python runner implementation for TransformWithStateInPandas.

Linear Supertypes
TransformWithStateInPandasPythonRunnerUtils, BasicPythonArrowOutput, PythonArrowOutput[ColumnarBatch], PythonArrowInput[I], BasePythonRunner[I, ColumnarBatch], Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransformWithStateInPandasPythonBaseRunner
  2. TransformWithStateInPandasPythonRunnerUtils
  3. BasicPythonArrowOutput
  4. PythonArrowOutput
  5. PythonArrowInput
  6. BasePythonRunner
  7. Logging
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TransformWithStateInPandasPythonBaseRunner(funcs: Seq[(ChainedPythonFunctions, Long)], evalType: Int, argOffsets: Array[Array[Int]], _schema: StructType, processorHandle: StatefulProcessorHandleImpl, _timeZoneId: String, initialWorkerConf: Map[String, String], pythonMetrics: Map[String, SQLMetric], jobArtifactUUID: Option[String], groupingKeySchema: StructType, batchTimestampMs: Option[Long], eventTimeWatermarkForEviction: Option[Long])

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

Abstract Value Members

  1. abstract def writeNextBatchToArrowStream(root: VectorSchemaRoot, writer: ArrowStreamWriter, dataOut: DataOutputStream, inputIterator: Iterator[I]): Boolean
    Attributes
    protected
    Definition Classes
    PythonArrowInput

Concrete 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: PythonAccumulator
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  5. val argOffsets: Array[Array[Int]]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  6. val arrowMaxRecordsPerBatch: Int
    Attributes
    protected
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val authSocketTimeout: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  9. val batchSizeForPythonUDF: Int
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  10. val bufferSize: Int
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. def close(): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  13. def closeServerSocketChannelSilently(stateServerSocket: ServerSocket): Unit
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonRunnerUtils
  14. def compute(inputIterator: Iterator[I], partitionIndex: Int, context: TaskContext): Iterator[ColumnarBatch]
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → BasePythonRunner
  15. def deserializeColumnarBatch(batch: ColumnarBatch, schema: StructType): ColumnarBatch
    Attributes
    protected
    Definition Classes
    BasicPythonArrowOutput → PythonArrowOutput
  16. val envVars: Map[String, String]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. val errorOnDuplicatedFieldNames: Boolean
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowInput
  20. val evalType: Int
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  21. val faultHandlerEnabled: Boolean
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  22. val funcs: Seq[ChainedPythonFunctions]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. def handleMetadataAfterExec(stream: DataInputStream): Unit
    Attributes
    protected
    Definition Classes
    PythonArrowOutput
  25. def handleMetadataBeforeExec(stream: DataOutputStream): Unit
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowInput
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  27. val hideTraceback: Boolean
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  28. val idleTimeoutSeconds: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  29. def initStateServer(): Unit
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonRunnerUtils
  30. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  34. val jobArtifactUUID: Option[String]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  35. val largeVarTypes: Boolean
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowInput
  36. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  37. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  50. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. val metrics: Map[String, AccumulatorV2[Long, Long]]
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  59. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  60. 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
  61. def newWriter(env: SparkEnv, worker: PythonWorker, inputIterator: Iterator[I], partitionIndex: Int, context: TaskContext): Writer
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  62. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  63. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  64. val pythonExec: String
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  65. val pythonMetrics: Map[String, SQLMetric]
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowOutput → PythonArrowInput
  66. val pythonVer: String
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  67. val root: VectorSchemaRoot
    Attributes
    protected
    Definition Classes
    PythonArrowInput
  68. lazy val schema: StructType
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowInput
  69. val simplifiedTraceback: Boolean
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  70. val sqlConf: SQLConf
    Attributes
    protected
  71. val stateServerSocket: ServerSocket
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonRunnerUtils
  72. val stateServerSocketPort: Int
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonRunnerUtils
  73. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  74. lazy val timeZoneId: String
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowInput
  75. val timelyFlushEnabled: Boolean
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  76. val timelyFlushTimeoutNanos: Long
    Attributes
    protected
    Definition Classes
    BasePythonRunner
  77. def toString(): String
    Definition Classes
    AnyRef → Any
  78. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  79. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  80. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  81. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. val workerConf: Map[String, String]
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowInput
  83. def writeUDF(dataOut: DataOutputStream): Unit
    Attributes
    protected
    Definition Classes
    TransformWithStateInPandasPythonBaseRunner → PythonArrowInput
  84. 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 PythonArrowInput[I]

Inherited from BasePythonRunner[I, ColumnarBatch]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped