object RowTracking
Utility functions for Row Tracking that are shared between Row IDs and Row Commit Versions.
- Alphabetic
- By Inheritance
- RowTracking
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canResolveMetadataUpdateConflict(currentTransactionInfo: CurrentTransactionInfo, winningCommitSummary: WinningCommitSummary): Boolean
Returns a Boolean indicating whether it is safe the resolve the metadata update conflict between the current and winning transaction conflict, from the perspective of row tracking enablement.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createMetadataStructFields(protocol: Protocol, metadata: Metadata, nullable: Boolean): Iterable[StructField]
- returns
the Row Tracking metadata fields for the file's _metadata when Row Tracking is enabled.
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEnabled(protocol: Protocol, metadata: Metadata): Boolean
Returns whether Row Tracking is enabled on this table version.
Returns whether Row Tracking is enabled on this table version. Checks that Row Tracking is supported, which is a pre-requisite for enabling Row Tracking, throws an error if not.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSupported(protocol: Protocol): Boolean
Returns whether the protocol version supports the Row Tracking table feature.
Returns whether the protocol version supports the Row Tracking table feature. Whenever Row Tracking is support, fresh Row IDs and Row Commit Versions must be assigned to all newly committed files, even when Row IDs are disabled in the current table version.
-
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 preserveRowTrackingColumns(dfWithoutRowTrackingColumns: DataFrame, snapshot: SnapshotDescriptor): DataFrame
-
def
resolveRowTrackingEnablementOnlyMetadataUpdateConflict(currentTransactionInfo: CurrentTransactionInfo, winningCommitSummary: WinningCommitSummary): CurrentTransactionInfo
Update the currentTransactionInfo properly to resolve a metadata update conflict when the winning commit is tagged as RowTrackingEnablementOnly.
Update the currentTransactionInfo properly to resolve a metadata update conflict when the winning commit is tagged as RowTrackingEnablementOnly. It is only safe to call this function if RowTracking.canResolveMetadataUpdateConflict returns true.
See ConflictCheckerEdge.checkNoMetadataUpdates() for more details.
-
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()