SnapshotIterator¶
SnapshotIterator is an abstraction of iterators over indexed AddFile actions in a Delta log for DeltaSourceSnapshots.
Iterator of Indexed AddFiles¶
iterator(): Iterator[IndexedFile]
iterator returns an Iterator (Scala) of IndexedFiles (AddFile actions in a Delta log with extra metadata) of filterFileList.
iterator is used when:
DeltaSourceis requested for the snapshot of a delta table at a given version
Closing Iterator (Cleaning Up Internal Resources)¶
close(
unpersistSnapshot: Boolean): Unit
close is a no-op (and leaves proper operation to implementations).
close is used when:
DeltaSourceis requested to cleanUpSnapshotResources