object SQLExecution
- Alphabetic
- By Inheritance
- SQLExecution
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 EXECUTION_ID_KEY: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getQueryExecution(executionId: Long): QueryExecution
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withExecutionId[T](sparkSession: SparkSession, executionId: String)(body: => T): T
Wrap an action with a known executionId.
Wrap an action with a known executionId. When running a different action in a different thread from the original one, this method can be used to connect the Spark jobs in this action with the known executionId, e.g.,
BroadcastExchangeExec.relationFuture
. - def withNewExecutionId[T](queryExecution: QueryExecution, name: Option[String] = None)(body: => T): T
Wrap an action that will execute "queryExecution" to track all Spark jobs in the body so that we can connect them with an execution.
- def withSQLConfPropagated[T](sparkSession: SparkSession)(body: => T): T
Wrap an action with specified SQL configs.
Wrap an action with specified SQL configs. These configs will be propagated to the executor side via job local properties.
- def withThreadLocalCaptured[T](sparkSession: SparkSession, exec: ExecutorService)(body: => T): Future[T]
Wrap passed function to ensure necessary thread-local variables like SparkContext local properties are forwarded to execution thread