Packages

c

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

TransformWithStateInPySparkPythonBaseRunner

abstract class TransformWithStateInPySparkPythonBaseRunner[I] extends BasePythonRunner[I, ColumnarBatch] with PythonArrowInput[I] with BasicPythonArrowOutput with TransformWithStateInPySparkPythonRunnerUtils with Logging

Base Python runner implementation for TransformWithStateInPySpark.

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