case class DeltaCommitFileProvider(logPath: String, maxVersionInclusive: Long, uuids: Map[Long, String]) extends Product with Serializable
Provides access to resolve Delta commit files names based on the commit-version.
This class is part of the changes introduced to accommodate the adoption of coordinated-commits
in Delta Lake. Previously, certain code paths assumed the existence of delta files for a specific
version at a predictable path _delta_log/$version.json. With coordinated-commits, delta files
may alternatively be located at _delta_log/_commits/$version.$uuid.json.
DeltaCommitFileProvider attempts to locate the correct delta files from the Snapshot's
LogSegment.
- logPath
The path to the Delta table log directory.
- maxVersionInclusive
The maximum version of the Delta table (inclusive).
- uuids
A map of version numbers to their corresponding UUIDs.
- Alphabetic
- By Inheritance
- DeltaCommitFileProvider
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DeltaCommitFileProvider(logPath: String, maxVersionInclusive: Long, uuids: Map[Long, String])
- logPath
The path to the Delta table log directory.
- maxVersionInclusive
The maximum version of the Delta table (inclusive).
- uuids
A map of version numbers to their corresponding UUIDs.
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def deltaFile(version: Long): Path
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listSortedUnbackfilledDeltaFiles(startVersionOpt: Option[Long] = None): Seq[(Long, Path)]
Lists unbackfilled delta files in a sorted order without incurring additional IO operations.
- val logPath: String
- val maxVersionInclusive: Long
- lazy val minUnbackfilledVersion: Long
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- lazy val resolvedPath: Path
- Annotations
- @transient()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val uuids: Map[Long, String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()