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 MDC(key: LogKey, value: Any): MDC
    Attributes
    protected
    Definition Classes
    Logging
  5. def addOperationColumn(operation: Int, plan: LogicalPlan): LogicalPlan
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  6. def apply(plan: LogicalPlan): LogicalPlan
    Definition Classes
    RewriteUpdateTable → Rule
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def buildOperationTable(table: SupportsRowLevelOperations, command: Command, options: CaseInsensitiveStringMap): RowLevelOperationTable
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  9. def buildOriginalRowIdValues(rowIdAttrs: Seq[Attribute], assignments: Seq[Assignment]): Seq[Alias]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  10. def buildRelationWithAttrs(relation: DataSourceV2Relation, table: RowLevelOperationTable, metadataAttrs: Seq[AttributeReference], rowIdAttrs: Seq[AttributeReference] = Nil): DataSourceV2Relation
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  11. def buildReplaceDataProjections(plan: LogicalPlan, rowAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute]): ReplaceDataProjections
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  12. def buildWriteDeltaProjections(plan: LogicalPlan, rowAttrs: Seq[Attribute], rowIdAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute]): WriteDeltaProjections
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. 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
  15. def dedupAttrs(attrs: Seq[AttributeReference]): Seq[AttributeReference]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  16. def deltaDeleteOutput(rowAttrs: Seq[Attribute], rowIdAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  17. def deltaInsertOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  18. def deltaReinsertOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  19. def deltaUpdateOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression]): Seq[Expression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def generateExpandOutput(attrs: Seq[Attribute], outputs: Seq[Seq[Expression]]): Seq[Attribute]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  25. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  26. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  29. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  30. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  44. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  55. def nullifyMetadataOnDelete(attrs: Seq[Attribute]): Seq[NamedExpression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  56. def nullifyMetadataOnUpdate(attrs: Seq[Attribute]): Seq[NamedExpression]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  57. def resolveAttrRef(name: String, plan: LogicalPlan): AttributeReference
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  58. def resolveRequiredMetadataAttrs(relation: DataSourceV2Relation, operation: RowLevelOperation): Seq[AttributeReference]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  59. def resolveRowIdAttrs(relation: DataSourceV2Relation, operation: SupportsDelta): Seq[AttributeReference]
    Attributes
    protected
    Definition Classes
    RewriteRowLevelCommand
  60. lazy val ruleId: RuleId
    Attributes
    protected
    Definition Classes
    Rule
  61. 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
  62. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  66. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  67. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. 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