object CommandExecutionMode extends Enumeration
SPARK-35378: Commands should be executed eagerly so that something like sql("INSERT ...")
can trigger the table insertion immediately without a .collect()
. To avoid end-less recursion
we should use NON_ROOT
when recursively executing commands. Note that we can't execute
a query plan with leaf command nodes, because many commands return GenericInternalRow
and can't be put in a query plan directly, otherwise the query engine may cast
GenericInternalRow
to UnsafeRow
and fail. When running EXPLAIN, or commands inside other
command, we should use SKIP
to not eagerly trigger the command execution.
- Alphabetic
- By Inheritance
- CommandExecutionMode
- Enumeration
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Val extends Value with Serializable
- Attributes
- protected
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- abstract class Value extends Ordered[Value] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetOps[Value, SortedSet, ValueSet] with StrictOptimizedIterableOps[Value, Set, ValueSet] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
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 ALL: Value
- val NON_ROOT: Value
- val SKIP: Value
- final def Value(i: Int, name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(i: Int): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value: Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def apply(x: Int): Value
- Definition Classes
- Enumeration
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def maxId: Int
- Definition Classes
- Enumeration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var nextId: Int
- Attributes
- protected
- Definition Classes
- Enumeration
- var nextName: Iterator[String]
- Attributes
- protected
- Definition Classes
- Enumeration
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def readResolve(): AnyRef
- Attributes
- protected
- Definition Classes
- Enumeration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Enumeration → AnyRef → Any
- def values: ValueSet
- Definition Classes
- Enumeration
- 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()
- final def withName(s: String): Value
- Definition Classes
- Enumeration
- implicit object ValueOrdering extends Ordering[Value]
- Definition Classes
- Enumeration