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.
- Alphabetic
- By Inheritance
- RewriteUpdateTable
- RewriteRowLevelCommand
- Rule
- Logging
- SQLConfHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply(plan: LogicalPlan): LogicalPlan
- Definition Classes
- RewriteUpdateTable → Rule
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildOperationTable(table: SupportsRowLevelOperations, command: Command, options: CaseInsensitiveStringMap): RowLevelOperationTable
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
buildOriginalRowIdValues(rowIdAttrs: Seq[Attribute], assignments: Seq[Assignment]): Seq[Alias]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
buildRelationWithAttrs(relation: DataSourceV2Relation, table: RowLevelOperationTable, metadataAttrs: Seq[AttributeReference], rowIdAttrs: Seq[AttributeReference] = Nil): DataSourceV2Relation
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
buildWriteDeltaProjections(plan: LogicalPlan, rowAttrs: Seq[Attribute], rowIdAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute]): WriteDeltaProjections
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
def
dedupAttrs(attrs: Seq[AttributeReference]): Seq[AttributeReference]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
deltaDeleteOutput(rowAttrs: Seq[Attribute], rowIdAttrs: Seq[Attribute], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
deltaInsertOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression] = Seq.empty): Seq[Expression]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
deltaUpdateOutput(assignments: Seq[Assignment], metadataAttrs: Seq[Attribute], originalRowIdValues: Seq[Expression]): Seq[Expression]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateExpandOutput(attrs: Seq[Attribute], outputs: Seq[Seq[Expression]]): Seq[Attribute]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
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()
-
def
resolveAttrRef(name: String, plan: LogicalPlan): AttributeReference
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
resolveRequiredMetadataAttrs(relation: DataSourceV2Relation, operation: RowLevelOperation): Seq[AttributeReference]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
def
resolveRowIdAttrs(relation: DataSourceV2Relation, operation: SupportsDelta): Seq[AttributeReference]
- Attributes
- protected
- Definition Classes
- RewriteRowLevelCommand
-
lazy val
ruleId: RuleId
- Attributes
- protected
- Definition Classes
- Rule
-
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
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()