Packages

o

org.apache.spark.sql.delta

RowTracking

object RowTracking

Utility functions for Row Tracking that are shared between Row IDs and Row Commit Versions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RowTracking
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. 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.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. 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.

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. 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.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def preserveRowTrackingColumns(dfWithoutRowTrackingColumns: DataFrame, snapshot: SnapshotDescriptor): DataFrame
  20. 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.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped