Packages

c

org.apache.spark.sql.execution.streaming

StreamingQueryWrapper

class StreamingQueryWrapper extends StreamingQuery with Serializable

Wrap non-serializable StreamExecution to make the query serializable as it's easy for it to get captured with normal usage. It's safe to capture the query but not use it in executors. However, if the user tries to call its methods, it will throw IllegalStateException.

Linear Supertypes
Serializable, StreamingQuery, StreamingQuery, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamingQueryWrapper
  2. Serializable
  3. StreamingQuery
  4. StreamingQuery
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StreamingQueryWrapper(_streamingQuery: StreamExecution)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def awaitTermination(timeoutMs: Long): Boolean
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  6. def awaitTermination(): Unit
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def exception: Option[StreamingQueryException]
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  11. def explain(extended: Boolean): Unit
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  12. def explain(): Unit
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  13. def explainInternal(extended: Boolean): String

    This method is called in Python.

    This method is called in Python. Python cannot call "explain" directly as it outputs in the JVM process, which may not be visible in Python process.

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def id: UUID
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  17. def isActive: Boolean
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def lastProgress: StreamingQueryProgress
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  20. def name: String
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. def processAllAvailable(): Unit
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  25. def recentProgress: Array[StreamingQueryProgress]
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  26. def runId: UUID
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  27. def sparkSession: classic.SparkSession

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    StreamingQueryWrapperStreamingQuery → StreamingQuery
  28. def status: StreamingQueryStatus
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  29. def stop(): Unit
    Definition Classes
    StreamingQueryWrapper → StreamingQuery
  30. def streamingQuery: StreamExecution
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 Serializable

Inherited from StreamingQuery

Inherited from StreamingQuery

Inherited from AnyRef

Inherited from Any

Ungrouped