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() |
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, writeWithoutRolling, writeWithoutRolling
@VisibleForTesting public long suggestedFileSize()
public List<ManifestFileMeta> write(List<ManifestEntry> entries)
ManifestEntry
s into manifest files.
NOTE: This method is atomic.
public RollingFileWriter<ManifestEntry,ManifestFileMeta> createRollingWriter()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.