public class ManifestFile.ManifestEntryWriter extends SingleFileWriter<ManifestEntry,ManifestFileMeta>
ManifestEntry
.SingleFileWriter.AbortExecutor
closed, fileIO, path
Modifier and Type | Method and Description |
---|---|
ManifestFileMeta |
result() |
void |
write(ManifestEntry entry)
Add only one record to this file writer.
|
abort, abortExecutor, close, path, reachTargetSize, recordCount, writeBundle, writeImpl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, write, write
public void write(ManifestEntry entry) throws IOException
FileWriter
NOTE: If any exception occurs during writing, the writer should clean up useless files for the user.
write
in interface FileWriter<ManifestEntry,ManifestFileMeta>
write
in class SingleFileWriter<ManifestEntry,ManifestFileMeta>
entry
- to write.IOException
- if encounter any IO error.public ManifestFileMeta result() throws IOException
IOException
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.