public class ManifestFile.ManifestEntryWriter extends SingleFileWriter<ManifestEntry,ManifestFileMeta>
ManifestEntry.SingleFileWriter.AbortExecutorclosed, fileIO, outputBytes, 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, writeImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, write, writepublic void write(ManifestEntry entry) throws IOException
FileWriterNOTE: 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
IOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.