public class ManifestList extends ObjectsFile<ManifestFileMeta>
ManifestFileMeta, representing all data of the whole table at
the corresponding snapshot.| Modifier and Type | Class and Description |
|---|---|
static class |
ManifestList.Factory
Creator of
ManifestList. |
compression, fileIO, pathFactory, readerFactory, serializer, writerFactory| Modifier and Type | Method and Description |
|---|---|
List<ManifestFileMeta> |
readAllManifests(Snapshot snapshot)
Return all
ManifestFileMeta instances for either data or changelog manifests in this
snapshot. |
List<ManifestFileMeta> |
readChangelogManifests(Snapshot snapshot)
Return a
ManifestFileMeta for each changelog manifest in this snapshot. |
List<ManifestFileMeta> |
readDataManifests(Snapshot snapshot)
Return a
ManifestFileMeta for each data manifest in this snapshot. |
List<ManifestFileMeta> |
readDeltaManifests(Snapshot snapshot)
Return a
ManifestFileMeta for each delta manifest in this snapshot. |
String |
write(List<ManifestFileMeta> metas)
Write several
ManifestFileMetas into a manifest list. |
delete, exists, fileIO, fileSize, read, read, read, readFromIterator, readWithIOException, readWithIOException, writeWithoutRolling, writeWithoutRollingpublic List<ManifestFileMeta> readAllManifests(Snapshot snapshot)
ManifestFileMeta instances for either data or changelog manifests in this
snapshot.public List<ManifestFileMeta> readDataManifests(Snapshot snapshot)
ManifestFileMeta for each data manifest in this snapshot.public List<ManifestFileMeta> readDeltaManifests(Snapshot snapshot)
ManifestFileMeta for each delta manifest in this snapshot.public List<ManifestFileMeta> readChangelogManifests(Snapshot snapshot)
ManifestFileMeta for each changelog manifest in this snapshot.public String write(List<ManifestFileMeta> metas)
ManifestFileMetas into a manifest list.
NOTE: This method is atomic.
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.