Packages

o

org.apache.spark.sql.catalyst.analysis

RewriteUpdateTable

object RewriteUpdateTable extends Rule[LogicalPlan] with RewriteRowLevelCommand

A rule that rewrites UPDATE operations using plans that operate on individual or groups of rows.

This rule assumes the commands have been fully resolved and all assignments have been aligned.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RewriteUpdateTable
  2. RewriteRowLevelCommand
  3. Rule
  4. Logging
  5. SQLConfHelper
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

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 addOperationColumn(operation: Int, plan: LogicalPlan): LogicalPlan
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  5. def apply(plan: LogicalPlan): LogicalPlan
    Definition Classes
    RewriteUpdateTableRule
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buildOperationTable(table: SupportsRowLevelOperations, command: Command, options: CaseInsensitiveStringMap): RowLevelOperationTable
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  8. def buildOriginalRowIdValues(rowIdAttrs: Seq[Attribute], assignments: Seq[Assignment]): Seq[Alias]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  9. def buildRelationWithAttrs(relation: DataSourceV2Relation, table: RowLevelOperationTable, metadataAttrs: Seq[AttributeReference], rowIdAttrs: Seq[AttributeReference] = Nil): DataSourceV2Relation
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  10. def buildReplaceDataProjections(plan: LogicalPlan, rowAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute]): ReplaceDataProjections
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  11. def buildWriteDeltaProjections(plan: LogicalPlan, rowAttrs: Seq[Attribute], rowIdAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute]): WriteDeltaProjections
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  13. def conf: SQLConf

    The active config object within the current scope.

    The active config object within the current scope. See SQLConf.get for more information.

    Definition Classes
    SQLConfHelper
  14. def dedupAttrs(attrs: Seq[AttributeReference]): Seq[AttributeReference]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  15. def deltaDeleteOutput(rowAttrs: Seq[Attribute], rowIdAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  16. def deltaInsertOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  17. def deltaReinsertOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  18. def deltaUpdateOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression]): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def generateExpandOutput(attrs: Seq[Attribute], outputs: Seq[Seq[Expression]]): Seq[Attribute]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  28. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  42. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  52. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  53. def nullifyMetadataOnDelete(attrs: Seq[Attribute]): Seq[NamedExpression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  54. def nullifyMetadataOnUpdate(attrs: Seq[Attribute]): Seq[NamedExpression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  55. def resolveAttrRef(name: String, plan: LogicalPlan): AttributeReference
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  56. def resolveRequiredMetadataAttrs(relation: DataSourceV2Relation, operation: RowLevelOperation): Seq[AttributeReference]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  57. def resolveRowIdAttrs(relation: DataSourceV2Relation, operation: SupportsDelta): Seq[AttributeReference]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  58. lazy val ruleId: RuleId
    Attributes
    protected
    Definition Classes
    Rule
  59. val ruleName: String

    Name for this rule, automatically inferred based on class name.

    Name for this rule, automatically inferred based on class name.

    Definition Classes
    Rule
  60. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def withSQLConf[T](pairs: (String, String)*)(f: => T): T

    Sets all SQL configurations specified in pairs, calls f, and then restores all SQL configurations.

    Sets all SQL configurations specified in pairs, calls f, and then restores all SQL configurations.

    Attributes
    protected
    Definition Classes
    SQLConfHelper

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 RewriteRowLevelCommand

Inherited from Rule[LogicalPlan]

Inherited from Logging

Inherited from SQLConfHelper

Inherited from AnyRef

Inherited from Any

Ungrouped