Skip to content

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:

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:

Implementations


Last update: 2021-03-24