public class ManifestFile extends ObjectsFile<ManifestEntry>
ManifestEntry
s, representing the additional changes since last
snapshot.Modifier and Type | Class and Description |
---|---|
static class |
ManifestFile.Factory
Creator of
ManifestFile . |
compression, fileIO, pathFactory, readerFactory, serializer
Modifier and Type | Method and Description |
---|---|
RollingFileWriter<ManifestEntry,ManifestFileMeta> |
createRollingWriter() |
List<ExpireFileEntry> |
readExpireFileEntries(String fileName,
Long fileSize) |
long |
suggestedFileSize() |
List<ManifestFileMeta> |
write(List<ManifestEntry> entries)
Write several
ManifestEntry s into manifest files. |
delete, exists, fileIO, fileSize, read, read, read, readFromIterator, readWithIOException, readWithIOException, withCacheMetrics, writeWithoutRolling, writeWithoutRolling
@VisibleForTesting public long suggestedFileSize()
public List<ExpireFileEntry> readExpireFileEntries(String fileName, @Nullable Long fileSize)
public List<ManifestFileMeta> write(List<ManifestEntry> entries)
ManifestEntry
s into manifest files.
NOTE: This method is atomic.
public RollingFileWriter<ManifestEntry,ManifestFileMeta> createRollingWriter()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.