DeltaCommitFileProvider¶
deltaFile¶
deltaFile looks up the given version (in the uuids registry).
When found, deltaFile creates an unbackfilledDeltaFile for this resolvedPath, the given version and the found uuid.
Otherwise, deltaFile creates a unsafeDeltaFile for this resolvedPath and the given version.
IllegalStateException
deltaFile reports an IllegalStateException when the given version is higher than this maxVersionInclusive.
deltaFile is used when:
DeltaHistoryManageris requested to getFirstCommitAndICTAfter and getHistoryImplOptimisticTransactionImplis requested to commitLargeSnapshotis requested to getInCommitTimestampOptDescribeDeltaDetailCommandis requested to describeDeltaTableVacuumCommandImplis requested to setCommitClock
apply¶
apply creates a DeltaCommitFileProvider based on the given Snapshot:
- Path
- Version
- UnbackfilledDeltaFiles off of the deltas of the LogSegment of the given Snapshot
apply is used when:
DeltaHistoryManageris requested to getActiveCommitAtTime and getHistoryOptimisticTransactionImplis requested to commitLargeSnapshotis requested to ensureCommitFilesBackfilled and getInCommitTimestampOptDescribeDeltaDetailCommandis requested to describeDeltaTableVacuumCommandImplis requested to setCommitClock